Bug 4558 - Server crash in Slim/Networking/Select.pm
: Server crash in Slim/Networking/Select.pm
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: 6.5.1
: All Windows XP
: P2 minor (vote)
: ---
Assigned To: Chris Owens
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-11-30 13:50 UTC by James Craig
Modified: 2008-12-18 11:12 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Craig 2006-11-30 13:50:07 UTC
SlimScrobbler plugin user reported http response from Last.FM crashing SlimServer repeatedly. 

Clearing his submissions stopped the problem but thought I should report this in case it's obvious what the problem is. 

Here's some d_async_http log:
10:13:53.8743 Async::HTTP: Headers read. code:
200 status: OK
2006-11-30 10:13:53.8753 bless({
"cache-control" => "no-cache",
connection => "close",
"content-type" => "text/plain;charset=ISO-8859-1",
date => "Thu, 30 Nov 2006 18:13:53 GMT",
pragma => "no-cache",
server => "Apache-Coyote/1.1",
}, "HTTP::Headers")
Not a SCALAR reference at
/usr/local/slimserver/Slim/Networking/Select.pm line 274.
Comment 1 Adrian Smith 2006-12-01 06:00:06 UTC
Looks like writeNoBlock is called with a bad $chunkRef?  Do you call this directly or rely on the async code?
Comment 2 James Craig 2006-12-01 06:20:36 UTC
I am just using the async code!
Comment 3 Chris Owens 2007-02-12 13:59:38 UTC
We're kind of trying not to fix 6.5.1 bugs much and allow Dan and everyone to focus on 7.0.  If this seems to be a serious problem we can have a deeper look.
Comment 4 KDF 2007-02-25 00:22:10 UTC
this crash is already avoided in 7.0, as part of the plugin api rework.  it is probably some sort of intermittent connection/response problem.  if avoiding the crash is important for 6.5.2, and simple eval might be useful just to trap the crash.  Otherwise, this can probably be retargetted for 7.0 and marked as fixed (in the interest of accuracy).
Comment 5 James Craig 2007-02-26 01:48:41 UTC
That would be fine by me. This was only every reported once that I know of.
Comment 6 Chris Owens 2007-02-26 16:51:31 UTC
Let's do that, then!
Comment 7 Chris Owens 2008-03-07 09:04:00 UTC
This bug is being closed since it was resolved for a version which is now released!  Please download the new version of SqueezeCenter (formerly SlimServer) at http://www.slimdevices.com/su_downloads.html

If you are still seeing this bug, please re-open it and we will consider it for a future release.