[mythtv-commits] Ticket #4301: r15020 causes backend segfault on startup

MythTV mythtv at cvs.mythtv.org
Wed Dec 12 10:08:20 UTC 2007


#4301: r15020 causes backend segfault on startup
---------------------------------+------------------------------------------
 Reporter:  mythtv at dadeos.co.uk  |        Owner:  dblain 
     Type:  defect               |       Status:  new    
 Priority:  minor                |    Milestone:  unknown
Component:  upnp                 |      Version:  unknown
 Severity:  medium               |   Resolution:         
  Mlocked:  0                    |  
---------------------------------+------------------------------------------

Comment(by nigel):

 Peter, thanks for your analysis and patch. I have applied it locally, and
 am experimenting. Sadly, there are still (other?) bugs:
 {{{
 Thread 1:
 0   libSystem.B.dylib           0x90047dd7 semaphore_timedwait_signal_trap
 + 7
 1   qt-mt                       0xb22a98a4 QWaitCondition::wait(QMutex*,
 unsigned long) + 242
 2   mythupnp                    0x047b9245 CEvent::WaitForEvent(unsigned
 long) + 85 (threadpool.cpp:96)
 3   mythupnp                    0x047bac8b WorkerThread::run() + 181
 (threadpool.cpp:202)
 4   qt-mt                       0xb203110f QThreadInstance::start(void*) +
 111
 5   libSystem.B.dylib           0x90024227 _pthread_body + 84

 Thread 2 Crashed:
 0   qt-mt                       0xb22a86ae QMutex::lock() + 14
 1   mythtv                      0x017de6c4 RefCounted::AddRef() + 20
 (refcounted.h:50)
 2   mythupnp                    0x047e0d85
 SSDPCacheEntries::RemoveStale(timeval const&) + 99 (ssdpcache.cpp:160)
 3   mythupnp                    0x047e0f61 SSDPCache::RemoveStale() + 135
 (ssdpcache.cpp:395)
 4   mythupnp                    0x047ee52f
 SSDPCacheTask::Execute(TaskQueue*) + 45 (upnptaskcache.h:53)
 5   mythupnp                    0x047ae09d TaskQueue::run() + 109
 (taskqueue.cpp:104)
 6   qt-mt                       0xb203110f QThreadInstance::start(void*) +
 111
 7   libSystem.B.dylib           0x90024227 _pthread_body + 84
 }}}

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4301#comment:2>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list