[mythtv] mythbackend segfault w/ bt

Mark Jacob mjacob1 at san.rr.com
Thu Oct 30 21:19:39 EST 2003


I'm getting this segfault shortly after starting up mythbackend.

Regards,
Mark


(gdb) run
Starting program: /usr/local/bin/mythbackend
[New Thread 16384 (LWP 4897)]
2003-10-30 17:43:01 Upgrading to schema version 1009
Starting up as the master server.
[New Thread 32769 (LWP 4924)]
[New Thread 16386 (LWP 4925)]
[New Thread 32771 (LWP 4927)]
Time Warner2 is defined, but isn't attached to a cardinput.
[New Thread 49156 (LWP 4928)]
[New Thread 65541 (LWP 4929)]
[New Thread 81926 (LWP 4930)]
2003-10-30 17:43:01 Enabled verbose msgs : important general
[New Thread 98311 (LWP 4931)]
[New Thread 114696 (LWP 4932)]
[New Thread 131081 (LWP 4933)]
[New Thread 147466 (LWP 4934)]
[New Thread 163851 (LWP 4935)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 49156 (LWP 4928)]
0x08090ccc in Scheduler::CopyList(std::list<ProgramInfo*, 
std::allocator<ProgramInfo*> >*) (this=0x84340d0, sourcelist=0x84340fc) 
at scheduler.cpp:943
943                     second->inputid = sourceToInput[first->sourceid][0];
(gdb) thread apply all bt full

Thread 12 (Thread 163851 (LWP 4935)):
#0  0x409f7845 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x409f7318 in __pthread_wait_for_restart_signal ()
  from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x409f3cbb in pthread_cond_wait at GLIBC_2.0 () from 
/lib/i686/libpthread.so.0
No symbol table info available.
#3  0x4082b762 in QWaitCondition::wait(unsigned long) ()
  from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0808af2e in ProcessRequestThread::run() (this=0x43800610)
   at mainserver.cpp:56
No locals.
#5  0x40574c78 in QProc::~QProc() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x409f59b1 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x409f5ab5 in pthread_start_thread_event () from 
/lib/i686/libpthread.so.0
No symbol table info available.

Thread 11 (Thread 147466 (LWP 4934)):
---Type <return> to continue, or q <return> to quit---
#0  0x409f7845 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x409f7318 in __pthread_wait_for_restart_signal ()
  from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x409f3cbb in pthread_cond_wait at GLIBC_2.0 () from 
/lib/i686/libpthread.so.0
No symbol table info available.
#3  0x4082b762 in QWaitCondition::wait(unsigned long) ()
  from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0808af2e in ProcessRequestThread::run() (this=0x43800b50)
   at mainserver.cpp:56
No locals.
#5  0x40574c78 in QProc::~QProc() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x409f59b1 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x409f5ab5 in pthread_start_thread_event () from 
/lib/i686/libpthread.so.0
No symbol table info available.

Thread 10 (Thread 131081 (LWP 4933)):
#0  0x409f7845 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#1  0x409f7318 in __pthread_wait_for_restart_signal ()
  from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x409f3cbb in pthread_cond_wait at GLIBC_2.0 () from 
/lib/i686/libpthread.so.0
No symbol table info available.
#3  0x4082b762 in QWaitCondition::wait(unsigned long) ()
  from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0808af2e in ProcessRequestThread::run() (this=0x438005c8)
   at mainserver.cpp:56
No locals.
#5  0x40574c78 in QProc::~QProc() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x409f59b1 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x409f5ab5 in pthread_start_thread_event () from 
/lib/i686/libpthread.so.0
No symbol table info available.

Thread 9 (Thread 114696 (LWP 4932)):
#0  0x409f7845 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x409f7318 in __pthread_wait_for_restart_signal ()
  from /lib/i686/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#2  0x409f3cbb in pthread_cond_wait at GLIBC_2.0 () from 
/lib/i686/libpthread.so.0
No symbol table info available.
#3  0x4082b762 in QWaitCondition::wait(unsigned long) ()
  from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0808af2e in ProcessRequestThread::run() (this=0x43800640)
   at mainserver.cpp:56
No locals.
#5  0x40574c78 in QProc::~QProc() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x409f59b1 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x409f5ab5 in pthread_start_thread_event () from 
/lib/i686/libpthread.so.0
No symbol table info available.

Thread 8 (Thread 98311 (LWP 4931)):
#0  0x409f7845 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x409f7318 in __pthread_wait_for_restart_signal ()
  from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x409f3cbb in pthread_cond_wait at GLIBC_2.0 () from 
/lib/i686/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#3  0x4082b762 in QWaitCondition::wait(unsigned long) ()
  from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0808af2e in ProcessRequestThread::run() (this=0x43800770)
   at mainserver.cpp:56
No locals.
#5  0x40574c78 in QProc::~QProc() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x409f59b1 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x409f5ab5 in pthread_start_thread_event () from 
/lib/i686/libpthread.so.0
No symbol table info available.

Thread 7 (Thread 81926 (LWP 4930)):
#0  0x40bcb0c6 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 6 (Thread 65541 (LWP 4929)):
#0  0x40bcb0c6 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 5 (Thread 49156 (LWP 4928)):
#0  0x08090ccc in Scheduler::CopyList(std::list<ProgramInfo*, 
std::allocator<ProgramInfo*> >*) (this=0x84340d0, sourcelist=0x84340fc) 
at scheduler.cpp:943
       numinputs = -1
       placed = false
       first = (ProgramInfo *) 0x8451118
       second = (ProgramInfo *) 0x84ecc58
       retlist = (
   list<ProgramInfo*,std::allocator<ProgramInfo*> > *) 0x845bce0
       i = {<_List_iterator_base> = {_M_node = 0x8418470}, <No data 
fields>}
#1  0x08090d42 in Scheduler::DoMultiCard() (this=0x84340d0)
   at scheduler.cpp:959
       highermove = 8
       lowermove = 67
       higher = (ProgramInfo *) 0x42f63d64
       lower = (ProgramInfo *) 0x8418370
       copylist = (
   list<ProgramInfo*,std::allocator<ProgramInfo*> > *) 0x8418400
       numconflicts = 134775341
       allConflictList = 
{<_List_base<ProgramInfo*,std::allocator<ProgramInfo*>
---Type <return> to continue, or q <return> to quit---
>> = 
{<_List_alloc_base<ProgramInfo*,std::allocator<ProgramInfo*>,true>> = {
     _M_node = 0x8469140}, <No data fields>}, <No data fields>}
       canMoveList = {<_List_base<bool,std::allocator<bool> >> = 
{<_List_alloc_base<bool,std::allocator<bool>,true>> = {
     _M_node = 0x42f63cac}, <No data fields>}, <No data fields>}
       i = {<_List_iterator_base> = {_M_node = 0x8469140}, <No data 
fields>}
       fixedList = 
{<_List_base<ProgramInfo*,std::allocator<ProgramInfo*> >> =
{<_List_alloc_base<ProgramInfo*,std::allocator<ProgramInfo*>,true>> = {
     _M_node = 0x42f63c9c}, <No data fields>}, <No data fields>}
       biter = {<_List_iterator_base> = {
   _M_node = 0x8454f80}, <No data fields>}
#2  0x0808d78b in Scheduler::FillRecordLists(bool) (this=0x84340d0,
   doautoconflicts=true) at scheduler.cpp:201
       foundlist = {sh = 0x843f3f0}
       iter = {<_List_iterator_base> = {
   _M_node = 0x8418370}, <No data fields>}
#3  0x08091bb2 in Scheduler::RunScheduler() (this=0x84340d0)
   at scheduler.cpp:1189
       me = {<QCustomEvent> = {<> = {<No data fields>}, d = 0x0}, 
message = {
   static null = {
     static null = <same as static member of an already seen type>,
     d = 0x8413770, static shared_null = 0x8413770}, d = 0x0,
   static shared_null = 0x8413770}, extradata = {static null = {
---Type <return> to continue, or q <return> to quit---
     static null = <same as static member of an already seen type>,
     d = 0x8413770, static shared_null = 0x8413770}, d = 0x0,
   static shared_null = 0x8413770}}
       prerollseconds = 0
       secsleft = 0
       resetIter = false
       nexttv = (EncoderLink *) 0x0
       nextRecording = (ProgramInfo *) 0x0
       nextrectime = {d = {jd = 0}, t = {ds = 0}}
       curtime = {d = {jd = 2452943}, t = {ds = 63781684}}
       lastupdate = {d = {jd = 2452942}, t = {ds = 63781661}}
       recordfileprefix = {static null = {
   static null = <same as static member of an already seen type>,
   d = 0x8413770, static shared_null = 0x8413770}, d = 0x8441b08,
 static shared_null = 0x8413770}
       recIter = {<_List_iterator_base> = {_M_node = 0x0}, <No data 
fields>}
#4  0x08092cd1 in Scheduler::SchedulerThread(void*) (param=0x84340d0)
   at scheduler.cpp:1335
       sched = (Scheduler *) 0x84340d0
#5  0x409f59b1 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#6  0x409f5ab5 in pthread_start_thread_event () from 
/lib/i686/libpthread.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---

Thread 4 (Thread 32771 (LWP 4927)):
#0  0x40bcb0c6 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 3 (Thread 16386 (LWP 4925)):
#0  0x40bcb0c6 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 2 (Thread 32769 (LWP 4924)):
#0  0x40bf5e57 in poll () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x409f49ce in __pthread_manager () from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x409f4c1b in __pthread_manager_event () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 1 (Thread 16384 (LWP 4897)):
#0  0x40bf7841 in select () from /lib/i686/libc.so.6
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#1  0x409df27c in typeinfo for std::bad_alloc ()
  from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#2  0x40593cf6 in QEventLoop::enterLoop() ()
  from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#3  0x40593b98 in QEventLoop::exec() () from 
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x40580151 in QApplication::exec() ()
  from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#5  0x08072ee9 in main (argc=1, argv=0xbffff9a4) at main.cpp:466
       a = <incomplete type>
       logfile = {static null = {
   static null = <same as static member of an already seen type>,
   d = 0x8413770, static shared_null = 0x8413770}, d = 0x8419b50,
 static shared_null = 0x8413770}
       verboseString = {static null = {
   static null = <same as static member of an already seen type>,
   d = 0x8413770, static shared_null = 0x8413770}, d = 0x8419b90,
 static shared_null = 0x8413770}
       daemonize = false
---Type <return> to continue, or q <return> to quit---
       printsched = false
       printexpire = false
       logfd = -1
       pidfs = <incomplete type>
       db = (struct QSqlDatabase *) 0x841bfc0
       subthread = (struct QSqlDatabase *) 0x84212e8
       expthread = (struct QSqlDatabase *) 0x8420f40
       transthread = (struct QSqlDatabase *) 0x8420cc0
       msdb = (struct QSqlDatabase *) 0x841f470
       port = 6543
       statusport = 6544
       myip = {static null = {
   static null = <same as static member of an already seen type>,
   d = 0x8413770, static shared_null = 0x8413770}, d = 0x84343b8,
 static shared_null = 0x8413770}
       masterip = {static null = {
   static null = <same as static member of an already seen type>,
   d = 0x8413770, static shared_null = 0x8413770}, d = 0x8434358,
 static shared_null = 0x8413770}
       ismaster = true
       runsched = true
       expdb = (struct QSqlDatabase *) 0x8420f40
       trandb = (struct QSqlDatabase *) 0x8420cc0
---Type <return> to continue, or q <return> to quit---
       nfsfd = 12
#6  0x40b32a07 in __libc_start_main () from /lib/i686/libc.so.6
No symbol table info available.
0x08090ccc      943                     second->inputid = 
sourceToInput[first->sourceid][0];






More information about the mythtv-dev mailing list