Bugzilla – Bug 15724
Errors when switching between music libraries
Last modified: 2010-02-25 09:50:11 UTC
Some errors I see switching between TinySC, BigSC and test.mysb.com Note: In this cases the network was always available.
Created attachment 6537 [details] event id=nil issue when switching between libraries Some event id=nil Comet issues I do not understand at all. Note: I did not even disconnect the network in this case. I only switched between libraries (BigSC, TinySC and mysb.com). Highlights from the log regarding datestatus subscription: - 11:16:35 - subscribe to mysb.com (I think) with a valid event id = 21 - 11:16:35 - unsubscribed from Touch, event id = 15 - 11:16:35 - subscribe to mysb.com, event id = 21 - 11:16:37 - response from mysb.com failed due to invalid event id I fail to understand why the datestatus event id could be invalid in this case. 7.5.0 r8504
Created attachment 6538 [details] Disconnect and immediate reconnect to idle server - 10:17:22 - disconnect from idle sever (i.e. the one we switched away from) - 10:17:23 - reconnect to this same server (I think unnecessarily) - 10:18:23 - finally disconnected for good
It is my understanding that the library switching mechanism temporarily connects to all available music sources to gather information about what servers are available and what players are connected to this servers. So after a selection for a new music source has been made the connections to the not selected servers eventually time out. But for some unknown reason sometimes the timed out connection disconnects and immediately reconnects only to time out again a bit later. In my opinion this reconnection causes some issues we are seeing when switching between music libraries as this reconnections also initiate connection notifications to be sent out and in different places there is code acting upon this notifications. Related bugs: 15627 and 15633
Related bugs: Bug 15627 and bug 15633
QA to work on better repro instructions. Maybe post to forums asking for more info, as well.
Oops I forgot to remove bug_meeting from these bugs.
Just to be clear. I am stuck on this one and hope Alan can shed some light on it.
Involved parts: SlimDiscovery(Applet), SlimBrowse, SlimServer and SlimProto
Maybe also: ChooseMusicSource(Applet)
Felix, I think that it is possible for this to go wrong under some circumstances, when a server does not notice that a player has disconnected and so continues to report that it is connected in serverStatus responses. It is possible that this would only occur with mySB. This would cause the SP's idea of which server the player is connected to to flip-flop. I think that it is unlikely to occur in normal usage and also likely to sort itself out after a minute of so at the outside.
*** This bug has been marked as a duplicate of bug 15633 ***