Bug 3226 - Player "freezes" after reconnect
: Player "freezes" after reconnect
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Player UI
: 6.5b1
: PC Linux (other)
: P2 normal (vote)
: ---
Assigned To: Blackketter Dean
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-03-30 12:14 UTC by Adrian Smith
Modified: 2011-03-16 04:19 UTC (History)
0 users

See Also:
Category: ---


Attachments
Log showing slimproto_close being called on duplicate socket (15.79 KB, text/plain)
2006-03-30 12:21 UTC, Adrian Smith
Details
patch to close old connections (1019 bytes, patch)
2006-03-30 13:37 UTC, Adrian Smith
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Smith 2006-03-30 12:14:38 UTC
Bug opened to track information for this problem.

When left in Rss ticker for several hours the player freezes some time during this period.  When I return the player does not show up in the web interface as connected and the display is froze.  IR commands don't work and I need to reboot the player _or_ the server to make it work again.

My current view is that this due to the 6.5 feature to disconnect a client after 5 minutes not coexisting with the fact that the server may maintain multiple connections to a client.

Log to be attached...
Comment 1 Adrian Smith 2006-03-30 12:21:45 UTC
Created attachment 1170 [details]
Log showing slimproto_close being called on duplicate socket

This shows that slimproto_close is being called for the old socket after a client reconnects on a new socket.  With the new code in 6.5 this cause the player to be forgotten after the reconnect...

Potential solution to discuss is clearing out all state for old slimproto sessions in slimproto_accept.  Otherwise the forget code needs removing.
Comment 2 Adrian Smith 2006-03-30 13:37:18 UTC
Created attachment 1171 [details]
patch to close old connections

Potential fix - posted to dev list for comment as well as actively closes slimproto connections
Comment 3 Adrian Smith 2006-03-30 14:02:23 UTC
Patch applied to r6766 - will track and close later assuming fixed.