[mythtv-commits] Ticket #2557: SIGSEGV in Mythmusic

MythTV mythtv at cvs.mythtv.org
Sat Jan 27 19:09:12 UTC 2007


#2557: SIGSEGV in Mythmusic
--------------------------------+-------------------------------------------
 Reporter:  bhuffman at graze.net  |        Owner:  stuartm 
     Type:  defect              |       Status:  reopened
 Priority:  minor               |    Milestone:  0.21    
Component:  mythmusic           |      Version:  0.20    
 Severity:  medium              |   Resolution:          
--------------------------------+-------------------------------------------
Comment (by paulh):

 Replying to [comment:2 myth at eskil.org]:
 > This seems to be dupe of ticket:2485. They both have a huge number of
 threads (with the same stack) in the backtrace. Looks like the
 AudioOutputBase thread is leaked on every track, so the sigsegv is
 probably because of resource consumption (ticket:2485 mentions that
 toggling ulimit changes when the crash happens).

 I've just attached a simple patch to re-use the AudioOutput device on each
 track change. I've been running it for a couple of weeks now with no
 problems. If someone who can reproduce this problem give it a try to see
 if it improves things at all.

 Although the BT shows lots of threads it may be a red herring apparently
 sometimes gdb can report the wrong information but it is strange that
 several people have said that changing ulimits has improved things for
 them so there may be some resource leakage somewhere.

 The attached patch eliminates one possible location where some resources
 may be leaked. If it works great, if not at least its one thing
 eliminated.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/2557#comment:19>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list