WhoLib

3 - Intermittent /who stoppage

I am in the process of tracking down an error that occasionally crops up. Occasionally, under circumstances I'm still tracking after 4 or 5 days of investigation, WhoLib (or my addon or the client) will simply stop processing new /who's. In a recent alpha build I made my addon, Socialist, run a /who on every name that came up in global chat channels. Most of the time, this works just fine - even when sitting in Dalaran during peak hours, the queue may grow up to a few hundred long, but everything chugs along just fine.

I'm going to start putting in debug code to see if any new information can be garnered as to when this lossage is caused, but it APPEARS that what triggers the it is a zone change into Dalaran, which is notorious for taking a long time to load, and having a lot of 'load-lag'. I have a suspicion that some request on the server is not timing out - I suspect that WhoLib is sending a /who and waiting forever for a response that is not coming.

Once the lossage has occured, nothing short of a /script RestartUI() will fix the /who system. This includes user-initiated /who's, such as when shift-clicking a name in chat - all processing of /who's simply terminates. New /who's are appended to the queues as normal, causing very large queues indeed.

If it turns out that this is a bug of the client (perhaps when sending a /who during server transition), perhaps WhoLib should have a 'thread' (e.g. OnUpdate every minute) which monitors the length of the queue and the query of the next queue. If nothing has changed in the minute, it will begin prompting the user to reload his/her UI, explaining that a client bug outside of WhoLib's control has occured.

User When Change
sylvanaar Jul 24, 2009 at 14:49 UTC Changed status from Started to Fixed
sylvanaar Apr 08, 2009 at 23:53 UTC Changed status from Accepted to Started
sylvanaar Apr 08, 2009 at 23:52 UTC Changed status from New to Accepted
eblume Dec 29, 2008 at 10:44 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 6 comments
  • Avatar of Tearstar Tearstar Jun 09, 2009 at 06:04 UTC - 0 likes

    If you'd like something that will reproduce this, seemingly no matter where you are . . . Karma . . go into Karma's main window and hit update . . . WhoLib broke and the who window keeps opening every 15 seconds or so

  • Avatar of yess yess Jun 02, 2009 at 09:22 UTC - 0 likes

    I still get the same problem with the latest version.

  • Avatar of sylvanaar sylvanaar Apr 08, 2009 at 23:52 UTC - 0 likes

    I think this has been fixed

  • Avatar of Morgalm Morgalm Apr 05, 2009 at 22:36 UTC - 0 likes

    I am getting the same issue posted a thread in the forums as well.

  • Avatar of Speeddymon Speeddymon Jan 21, 2009 at 05:01 UTC - 0 likes

    I am encountering this issue as well.. imo, if we dont get a response within 20 seconds, we should abort the current query and retry. If it fails after 2-3 successive attempts, then it should move that query to the end of the queue and proceed with the next query in the queue, so that we still get the guarantee of getting all /who's processed but also work around this bug that may be client side. Of course we should also report the issue to Bliz for comment.

    Edit: I am not making any addons, this just happens occasionally while running Census and sometimes while just doing random /who's .. I havent tried to actually reproduce it during certain circumstances, however.

  • Avatar of akazik akazik Jan 14, 2009 at 16:52 UTC - 0 likes

    eblume, I sent you a message (via curse)

  • 6 comments

Facts

Last updated
Jul 24, 2009
Reported
Dec 29, 2008
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees