[mythtv-commits] Ticket #2485: mythmusic segmentation fault, not when running through gdb

MythTV mythtv at cvs.mythtv.org
Wed Dec 13 06:53:15 UTC 2006


#2485: mythmusic segmentation fault, not when running through gdb
------------------------------+---------------------------------------------
 Reporter:  vbrunini at mit.edu  |        Owner:  ijr     
     Type:  defect            |       Status:  reopened
 Priority:  minor             |    Milestone:  unknown 
Component:  mythmusic         |      Version:  0.20    
 Severity:  medium            |   Resolution:          
------------------------------+---------------------------------------------
Comment (by myth at eskil.org):

 I don't think you picked up the patch properly. In gdb.2.txt, one of the
 stacktraces look like ;
 {{{
 182     #2  0x00002ae9412dc23b in QApplication::postEvent ()
 183     No symbol table info available.
 184     #3  0x00002ae9402f7968 in MythObservable::dispatch (this=0x8edc50,
                 event=@0x43881090) at mythobservable.cpp:45
 185             listener = (struct QObject *) 0x914d20
 }}}
 which matches the pre-patched version of mythobservable.cpp since it class
 postEvent in line 45 ;
 {{{
      40 void MythObservable::dispatch(MythEvent &event)
      41 {
      42     QObject *listener = firstListener();
      43     while (listener)
      44     {
      45         QApplication::postEvent(listener, event.clone());
 }}}
 but the patched version has this ;
 {{{
      38 void MythObservable::dispatchNow(MythEvent &event)
      39 {
      40     QMutexLocker locked (&mutex);
      41     QObject *listener = m_listeners.first();
      42     while (listener)
      43     {
      44         QApplication::sendEvent(listener, event.clone());
      45         listener = m_listeners.next();
 }}}
 so it looks like you're still running the old code. Can you check that you
 properly recompiled/reinstalled etc ?

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/2485#comment:11>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list