[mythtv-commits] Ticket #703: Mythmusic hangs

MythTV mythtv at cvs.mythtv.org
Wed Nov 23 09:35:53 EST 2005


#703: Mythmusic hangs
-------------------------------------------------+--------------------------
 Reporter:  Miah Gregory <mace at darksilence.net>  |       Owner:  ijr 
     Type:  defect                               |      Status:  new 
 Priority:  minor                                |   Milestone:      
Component:  mythmusic                            |     Version:  head
 Severity:  medium                               |  
-------------------------------------------------+--------------------------
Hi,

 Running from week old SVN (planning to upgrade tonight).

 I've had a search of the various mailing lists and asked on IRC, but
 no-one's seen this problem before, so I'd like some help in debugging
 it. Basically the problem is that when you switch tracks in mythmusic,
 either manually whilst one is playing, or automatically as each track
 ends, there's around a 10 second delay during which the front end is
 unresponsive, cpu load is fairly minimal, and if a track was playing at
 the time, around half a second of audio loops constantly for around 10
 seconds. After this delay, the next track starts successfully.

 I straced the process and believe that mythmusic was hanging whilst
 closing the filehandle to /dev/dsp - has anyone seen this before? My
 suspicion is that the audio code isn't closing down /dev/dsp properly,
 eg. unmapping buffers or whatever, and hence the close() hangs to allow
 the buffers to all empty or something?

 Very occasionally, mythmusic has crashed whilst attempting the track
 change, but I've been so far unable to reproduce this in a debugger.

 Any help to continue debugging would be appreciated (on irc as mace if
 that's more convenient).

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/703>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list