[mythtv] segfault/backtrace

Chad J McQuinn chadmcquinn at insightbb.com
Sat Feb 21 14:46:17 EST 2004


I have been having some seemingly random segfaults with CVS lately; 
this backtrace is with CVS from about 14 hours ago.

The system is an Athlon 2600+, ASUS a7v8x/x mb, 512MB ram. This is the 
master back end which has two btxxx cards. Backend had been running for 
about 14 hours, when I fired up the frontend and tried to view the 
recordings, the backend segfaulted.

--------
(gdb) thread apply all bt full

Thread 12 (Thread 163851 (LWP 10648)):
#0  0x4107774b in write () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x41aa54c8 in _db_process_ () from /usr/lib/libmysqlclient.so.12
No symbol table info available.
#2  0x41a8fa2a in net_real_write () from /usr/lib/libmysqlclient.so.12
No symbol table info available.
#3  0x41a8f5c8 in net_flush () from /usr/lib/libmysqlclient.so.12
No symbol table info available.
#4  0x41a8f82a in net_write_command () from 
/usr/lib/libmysqlclient.so.12
No symbol table info available.
#5  0x41a785db in simple_command () from /usr/lib/libmysqlclient.so.12
No symbol table info available.
#6  0x41a7b29b in mysql_send_query () from /usr/lib/libmysqlclient.so.12
No symbol table info available.
#7  0x41a7b4d0 in mysql_real_query () from /usr/lib/libmysqlclient.so.12
No symbol table info available.
#8  0x41a5ab71 in QMYSQLResult::reset(QString const&) ()
    from /usr/lib/qt3/plugins/sqldrivers/libqsqlmysql.so
No symbol table info available.
#9  0x40e927be in QSqlQuery::exec(QString const&) ()
    from /usr/lib/qt3/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#10 0x40e96640 in QSqlDatabase::exec(QString const&) const ()
    from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#11 0x40709221 in MythContext::KickDatabase(QSqlDatabase*) 
(db=0x80bdb58)
     at mythcontext.cpp:715
         result = <incomplete type>
         i = 0
         query = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x80acc98, static shared_null = 0x80acc98}, d = 0x81b8e90,
   static shared_null = 0x80acc98}
#12 0x080650de in MainServer::HandleQueryRecordings(QString, 
PlaybackSock*) (
     this=0x80dbcf8, type=
       {static null = {static null = <same as static member of an 
already seen type>, d = 0x80acc98, static shared_null = 0x80acc98}, d = 
0x81ba198, static shared_null = 0x80acc98}, pbs=0x81091a0) at 
mainserver.cpp:620
         pbssock = (struct QSocket *) 0x81b7fe0
         islocal = true
         playbackhost = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x80acc98, static shared_null = 0x80acc98}, d = 0x80d51d0,
   static shared_null = 0x80acc98}
---Type <return> to continue, or q <return> to quit---
         thequery = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x80acc98, static shared_null = 0x80acc98}, d = 0x80acc98,
   static shared_null = 0x80acc98}
         ip = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x80acc98, static shared_null = 0x80acc98}, d = 0x8185540,
   static shared_null = 0x80acc98}
         port = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x80acc98, static shared_null = 0x80acc98}, d = 0x81236a0,
   static shared_null = 0x80acc98}
         query = <incomplete type>
         outputlist = {<QValueList<QString>> = {
     sh = 0x81b8e90}, <No data fields>}
         fileprefix = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x80acc98, static shared_null = 0x80acc98}, d = 0x81b8e90,
   static shared_null = 0x80acc98}
#13 0x0806110a in MainServer::ProcessRequest(QSocket*) (this=0x80dbcf8,
     sock=0x81b7fe0) at mainserver.cpp:225
         listline = {<QValueList<QString>> = {sh = 0x8133c58}, <No data 
fields>}
         line = {static null = {
---Type <return> to continue, or q <return> to quit---
     static null = <same as static member of an already seen type>,
     d = 0x80acc98, static shared_null = 0x80acc98}, d = 0x80d1930,
   static shared_null = 0x80acc98}
         tokens = {<QValueList<QString>> = {sh = 0x81affe8}, <No data 
fields>}
         command = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x80acc98, static shared_null = 0x80acc98}, d = 0x80ff748,
   static shared_null = 0x80acc98}
         pbs = (PlaybackSock *) 0x81091a0
#14 0x0807c4f5 in ProcessRequestThread::run() (this=0x80d4c50)
     at mainserver.cpp:66
No locals.
#15 0x40bffff8 in QProc::~QProc() () from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#16 0x41072811 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#17 0x41072915 in pthread_start_thread_event () from 
/lib/i686/libpthread.so.0
No symbol table info available.

Thread 11 (Thread 147466 (LWP 10647)):
#0  0x411c2568 in sigsuspend () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x41074478 in __pthread_wait_for_restart_signal ()
---Type <return> to continue, or q <return> to quit---
    from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x41070c5b in pthread_cond_wait at GLIBC_2.0 () from 
/lib/i686/libpthread.so.0
No symbol table info available.
#3  0x40eba25f in QWaitCondition::wait(QMutex*, unsigned long) ()
    from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0807c4d3 in ProcessRequestThread::run() (this=0x80d5258)
     at mainserver.cpp:61
No locals.
#5  0x40bffff8 in QProc::~QProc() () from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#6  0x41072811 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x41072915 in pthread_start_thread_event () from 
/lib/i686/libpthread.so.0
No symbol table info available.

Thread 10 (Thread 131081 (LWP 10646)):
#0  0x411c2568 in sigsuspend () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x41074478 in __pthread_wait_for_restart_signal ()
    from /lib/i686/libpthread.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#2  0x41070c5b in pthread_cond_wait at GLIBC_2.0 () from 
/lib/i686/libpthread.so.0
No symbol table info available.
#3  0x40eba25f in QWaitCondition::wait(QMutex*, unsigned long) ()
    from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0807c4d3 in ProcessRequestThread::run() (this=0x80dbe80)
     at mainserver.cpp:61
No locals.
#5  0x40bffff8 in QProc::~QProc() () from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#6  0x41072811 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x41072915 in pthread_start_thread_event () from 
/lib/i686/libpthread.so.0
No symbol table info available.

Thread 9 (Thread 114696 (LWP 10645)):
#0  0x411c2568 in sigsuspend () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x41074478 in __pthread_wait_for_restart_signal ()
    from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x41070c5b in pthread_cond_wait at GLIBC_2.0 () from 
/lib/i686/libpthread.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#3  0x40eba25f in QWaitCondition::wait(QMutex*, unsigned long) ()
    from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0807c4d3 in ProcessRequestThread::run() (this=0x80d5360)
     at mainserver.cpp:61
No locals.
#5  0x40bffff8 in QProc::~QProc() () from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#6  0x41072811 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x41072915 in pthread_start_thread_event () from 
/lib/i686/libpthread.so.0
No symbol table info available.

Thread 8 (Thread 98311 (LWP 10644)):
#0  0x411c2568 in sigsuspend () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x41074478 in __pthread_wait_for_restart_signal ()
    from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x41070c5b in pthread_cond_wait at GLIBC_2.0 () from 
/lib/i686/libpthread.so.0
No symbol table info available.
#3  0x40eba25f in QWaitCondition::wait(QMutex*, unsigned long) ()
    from /usr/lib/qt3/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#4  0x0807c4d3 in ProcessRequestThread::run() (this=0x80dbdc0)
     at mainserver.cpp:61
No locals.
#5  0x40bffff8 in QProc::~QProc() () from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#6  0x41072811 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x41072915 in pthread_start_thread_event () from 
/lib/i686/libpthread.so.0
No symbol table info available.

Thread 7 (Thread 81926 (LWP 10643)):
#0  0x41247be6 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 10642)):
#0  0x41247be6 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

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

Thread 4 (Thread 32771 (LWP 10640)):
#0  0x41247be6 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 10638)):
#0  0x41247be6 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 10637)):
#0  0x4126f537 in poll () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x4107196e in __pthread_manager () from /lib/i686/libpthread.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#2  0x41071bbb in __pthread_manager_event () from 
/lib/i686/libpthread.so.0
No symbol table info available.

Thread 1 (Thread 16384 (LWP 10629)):
#0  0x41270ef1 in select () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x410601cc in typeinfo for QMotifStyle ()
    from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#2  0x40c1f066 in QEventLoop::enterLoop() ()
    from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#3  0x40c1ef08 in QEventLoop::exec() () from 
/usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#4  0x40c0b3d1 in QApplication::exec() () from 
/usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#5  0x0805e422 in main (argc=5, argv=0xbffff384) at main.cpp:503
         a = <incomplete type>
         logfile = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x80acc98, static shared_null = 0x80acc98}, d = 0x80b5180,
   static shared_null = 0x80acc98}
         binname = {static null = {
---Type <return> to continue, or q <return> to quit---
     static null = <same as static member of an already seen type>,
     d = 0x80acc98, static shared_null = 0x80acc98}, d = 0x80b51b8,
   static shared_null = 0x80acc98}
         verboseString = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x80acc98, static shared_null = 0x80acc98}, d = 0x80b51f8,
   static shared_null = 0x80acc98}
         daemonize = false
         printsched = false
         nosched = false
         printexpire = false
         logfd = 3
         pidfs = <incomplete type>
         db = (struct QSqlDatabase *) 0x80bd4e0
         subthread = (struct QSqlDatabase *) 0x80b8678
         expthread = (struct QSqlDatabase *) 0x80bdf48
         transthread = (struct QSqlDatabase *) 0x80bda30
         msdb = (struct QSqlDatabase *) 0x80bdb58
         port = 6543
         statusport = 6544
         myip = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x80acc98, static shared_null = 0x80acc98}, d = 0x80d0cb8,
---Type <return> to continue, or q <return> to quit---
   static shared_null = 0x80acc98}
         masterip = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x80acc98, static shared_null = 0x80acc98}, d = 0x80d13b8,
   static shared_null = 0x80acc98}
         ismaster = true
         runsched = true
         expdb = (struct QSqlDatabase *) 0x80bdf48
         trandb = (struct QSqlDatabase *) 0x80bda30
#6  0x411af7f7 in __libc_start_main () from /lib/i686/libc.so.6
No symbol table info available.
#0  0x4107774b in write () from /lib/i686/libpthread.so.0



More information about the mythtv-dev mailing list