Bug 4483 - Softsqueeze hangs when stopping and restarting stream
: Softsqueeze hangs when stopping and restarting stream
Status: RESOLVED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: Softsqueeze
: 6.5.0
: PC Linux (other)
: P2 major (vote)
: ---
Assigned To: Chris Owens
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-11-06 15:29 UTC by Christopher Hall
Modified: 2006-11-13 15:45 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 Christopher Hall 2006-11-06 15:29:14 UTC
I am running SlimServer 6.5.0 with SoftSqueeze from the subversion repository.  Often, Softsqueeze hangs when stopping and re-starting a stream.  The problem seems to occur in the call to audioMixer.flush() (Player.java line 549).  The flush() method calls line.stop().  If it happens that the "mixer thread" is executing playSamples() when line.stop() is called by the flush() method, playSamples() never exits.  I haven't determined why this occurs, but I commented out line.stop() in the flush() method and the problem seems to have been fixed.  I don't think it's necessary to call line.stop in flush() since line.stop() is called elsewhere in the run() method.  I think there may be a bug here, but I'm not claiming that my solution is correct.
Comment 1 KDF 2006-11-06 17:56:49 UTC
have you tried the latest 6.5.1 nightly build as requested on the bugzilla main page?
Comment 2 Chris Owens 2006-11-13 15:45:12 UTC
I can't seem to reproduce this on the 6.5.1 build which is nearing release.  Please let me know if you continue to see this issue!