[mythtv] mythbackend crash w/ bt

m0j0.j0j0 m0j0 at foofus.net
Sun Sep 26 20:36:32 EDT 2004


Hi-

I'm running Myth CVS from about a day after the .16 release. I've
noticed that mythbackend occasionally crashes on me while I'm not
actively using it. I'm not sure if this is right after it records
something or during a commercial flag. Hopefully this backtrace helps.

Let me know if I should be doing anything different or if this has
already been addressed.

Enjoy,
Joe


% gdb ./programs/mythbackend/mythbackend
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux-gnu"...
(gdb) run -l /var/log/mythbackend
Starting program:
/pub/downloads/multimedia/myth-cvs/mythtv/programs/mythbackend/mythbackend -l /var/log/mythbackend
[New Thread 16384 (LWP 30159)]
[New Thread 32769 (LWP 30171)]
[New Thread 16386 (LWP 30172)]
[New Thread 32771 (LWP 30176)]
[New Thread 49156 (LWP 30177)]
[New Thread 65541 (LWP 30178)]
[New Thread 81926 (LWP 30179)]
[New Thread 98311 (LWP 30180)]
[New Thread 114696 (LWP 30181)]
[New Thread 131081 (LWP 30182)]
[Thread 114696 (LWP 30181) exited]
[New Thread 147466 (LWP 30183)]
[New Thread 163851 (LWP 30184)]
[New Thread 180236 (LWP 30185)]
[New Thread 196621 (LWP 30186)]
[New Thread 213006 (LWP 8347)]
[New Thread 229391 (LWP 8349)]
[New Thread 245776 (LWP 8350)]
[New Thread 262161 (LWP 8351)]
[Thread 262161 (LWP 8351) exited]
[Thread 229391 (LWP 8349) exited]
[New Thread 278546 (LWP 8354)]
[Thread 245776 (LWP 8350) exited]
[Thread 213006 (LWP 8347) exited]
[New Thread 294931 (LWP 8357)]
[New Thread 311316 (LWP 8362)]
[New Thread 327701 (LWP 8363)]
[New Thread 344086 (LWP 8364)]
[New Thread 360471 (LWP 8365)]
[New Thread 376856 (LWP 8366)]
[New Thread 393241 (LWP 8367)]
[Thread 393241 (LWP 8367) exited]
[Thread 376856 (LWP 8366) exited]
[New Thread 409626 (LWP 8369)]
[New Thread 426011 (LWP 8370)]
[Thread 426011 (LWP 8370) exited]
[Thread 278546 (LWP 8354) exited]
[Thread 409626 (LWP 8369) exited]
[Thread 294931 (LWP 8357) exited]
[Thread 344086 (LWP 8364) exited]
[Thread 311316 (LWP 8362) exited]
[New Thread 442396 (LWP 8371)]
[New Thread 458781 (LWP 8373)]
[Thread 360471 (LWP 8365) exited]
[Thread 327701 (LWP 8363) exited]
[New Thread 475166 (LWP 8374)]
[New Thread 491551 (LWP 8376)]
[Thread 458781 (LWP 8373) exited]
[Thread 442396 (LWP 8371) exited]
[Thread 491551 (LWP 8376) exited]
[Thread 475166 (LWP 8374) exited]
[New Thread 507936 (LWP 8406)]
[New Thread 524321 (LWP 8407)]
[New Thread 540706 (LWP 8412)]
[New Thread 557091 (LWP 8414)]
[Thread 557091 (LWP 8414) exited]
[Thread 540706 (LWP 8412) exited]
[Thread 524321 (LWP 8407) exited]
[Thread 507936 (LWP 8406) exited]
[New Thread 573476 (LWP 8432)]
 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 573476 (LWP 8432)]
0x401d4817 in ProgramInfo::clone(ProgramInfo const&) () from
/usr/local/lib/libmythtv-0.16.so.0
(gdb) thread apply all bt full
 
Thread 37 (Thread 573476 (LWP 8432)):
#0  0x401d4817 in ProgramInfo::clone(ProgramInfo const&) () from
/usr/local/lib/libmythtv-0.16.so.0
No symbol table info available.
#1  0x000000cc in ?? ()
No symbol table info available.
#2  0x080a041f in CommercialFlagger::FlagCommercialsThread(void*)
(param=0x80f6178) at commercialflag.cpp:130
        theFlagger = (CommercialFlagger *) 0x80f6178
#3  0x41222a21 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#4  0x41222b25 in pthread_start_thread_event () from
/lib/i686/libpthread.so.0
No symbol table info available.
 
Thread 14 (Thread 196621 (LWP 30186)):
#0  0x41224985 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x41224388 in __pthread_wait_for_restart_signal () from
/lib/i686/libpthread.so.0
No symbol table info available.
#2  0x41225ef0 in __pthread_alt_lock () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x41222da7 in pthread_mutex_lock () from /lib/i686/libpthread.so.0
No symbol table info available.
#4  0x4105f52c in QRecursiveMutexPrivate::lock() () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#5  0x4105f934 in QMutex::lock() () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x40db3bc4 in QApplication::lock() () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#7  0x408c144a in WriteStringList(QSocket*, QStringList&) () from
/usr/local/lib/libmyth-0.16.so.0
No symbol table info available.
 
Thread 13 (Thread 180236 (LWP 30185)):
#0  0x41224985 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x41224388 in __pthread_wait_for_restart_signal () from
/lib/i686/libpthread.so.0
No symbol table info available.
#2  0x41220d2b in pthread_cond_wait at GLIBC_2.0 () from
/lib/i686/libpthread.so.0
No symbol table info available.
#3  0x4106054f in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x08084bdb in ProcessRequestThread::run() (this=0x80fb8f8) at
mainserver.cpp:68
No locals.
#5  0x40da6e58 in QProc::~QProc() () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x41222a21 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x41222b25 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 12 (Thread 163851 (LWP 30184)):
#0  0x41224985 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x41224388 in __pthread_wait_for_restart_signal () from
/lib/i686/libpthread.so.0
No symbol table info available.
#2  0x41220d2b in pthread_cond_wait at GLIBC_2.0 () from
/lib/i686/libpthread.so.0
No symbol table info available.
#3  0x4106054f in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x08084bdb in ProcessRequestThread::run() (this=0x80ec568) at
mainserver.cpp:68
No locals.
#5  0x40da6e58 in QProc::~QProc() () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x41222a21 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x41222b25 in pthread_start_thread_event () from
/lib/i686/libpthread.so.0
No symbol table info available.
 
Thread 11 (Thread 147466 (LWP 30183)):
#0  0x41224985 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x41224388 in __pthread_wait_for_restart_signal () from
/lib/i686/libpthread.so.0
No symbol table info available.
#2  0x41220d2b in pthread_cond_wait at GLIBC_2.0 () from
/lib/i686/libpthread.so.0
No symbol table info available.
#3  0x4106054f in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x08084bdb in ProcessRequestThread::run() (this=0x80eb990) at
mainserver.cpp:68
No locals.
#5  0x40da6e58 in QProc::~QProc() () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x41222a21 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x41222b25 in pthread_start_thread_event () from
/lib/i686/libpthread.so.0
No symbol table info available.
 
Thread 10 (Thread 131081 (LWP 30182)):
#0  0x41224985 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x41224388 in __pthread_wait_for_restart_signal () from
/lib/i686/libpthread.so.0
No symbol table info available.
#2  0x41220d2b in pthread_cond_wait at GLIBC_2.0 () from
/lib/i686/libpthread.so.0
No symbol table info available.
#3  0x4106054f in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x08084bdb in ProcessRequestThread::run() (this=0x80f7e68) at
mainserver.cpp:68
No locals.
---Type <return> to continue, or q <return> to quit---
#5  0x40da6e58 in QProc::~QProc() () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x41222a21 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x41222b25 in pthread_start_thread_event () from
/lib/i686/libpthread.so.0
No symbol table info available.
 
Thread 8 (Thread 98311 (LWP 30180)):
#0  0x413f8186 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
 
Thread 7 (Thread 81926 (LWP 30179)):
#0  0x413f8186 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 30178)):
#0  0x413f8186 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
 
Thread 5 (Thread 49156 (LWP 30177)):
#0  0x4122787b in read () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x00000004 in ?? ()
No symbol table info available.
#2  0x41e0b010 in net_real_write () from
/usr/lib/qt-3.1/plugins/sqldrivers/libqsqlmysql.so
No symbol table info available.
#3  0x41e0b1c2 in my_net_read () from
/usr/lib/qt-3.1/plugins/sqldrivers/libqsqlmysql.so
No symbol table info available.
#4  0x41dfef6b in net_safe_read () from
/usr/lib/qt-3.1/plugins/sqldrivers/libqsqlmysql.so
No symbol table info available.
#5  0x41e0198b in mysql_read_query_result () from
/usr/lib/qt-3.1/plugins/sqldrivers/libqsqlmysql.so
No symbol table info available.
#6  0x41e01b4b in mysql_real_query () from
/usr/lib/qt-3.1/plugins/sqldrivers/libqsqlmysql.so
No symbol table info available.
#7  0x41dfc871 in QMYSQLResult::reset(QString const&) ()
   from /usr/lib/qt-3.1/plugins/sqldrivers/libqsqlmysql.so
No symbol table info available.
#8  0x41038afe in QSqlQuery::exec(QString const&) () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#9  0x4103c940 in QSqlDatabase::exec(QString const&) const () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#10 0x408a0eb8 in SimpleDBStorage::load(QSqlDatabase*) () from
/usr/local/lib/libmyth-0.16.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#11 0x408aa62d in virtual thunk to SimpleDBStorage::load(QSqlDatabase*)
()
   from /usr/local/lib/libmyth-0.16.so.0
No symbol table info available.
#12 0x476040dc in ?? ()
No symbol table info available.
 
Thread 4 (Thread 32771 (LWP 30176)):
#0  0x413f8186 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 30172)):
#0  0x413f8186 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 30171)):
#0  0x41372671 in kill () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x412243ce in __pthread_restart_new () from
/lib/i686/libpthread.so.0
No symbol table info available.
#2  0x41225e27 in __pthread_unlock () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x41222072 in pthread_handle_create () from
/lib/i686/libpthread.so.0
No symbol table info available.
#4  0x41221b0a in __pthread_manager () from /lib/i686/libpthread.so.0
No symbol table info available.
#5  0x41221c8b in __pthread_manager_event () from
/lib/i686/libpthread.so.0
No symbol table info available.
 
Thread 1 (Thread 16384 (LWP 30159)):
#0  0x41224985 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x41224388 in __pthread_wait_for_restart_signal () from
/lib/i686/libpthread.so.0
No symbol table info available.
#2  0x41223bc1 in pthread_create@@GLIBC_2.1 () from
/lib/i686/libpthread.so.0
No symbol table info available.
#3  0x080a03e8 in CommercialFlagger::FlagCommercials(ProgramInfo*)
(this=0x80f6178, tmpInfo=0x0)
    at commercialflag.cpp:121
        attr = {__detachstate = 1, __schedpolicy = 0, __schedparam =
{__sched_priority = 0},
  __inheritsched = 1, __scope = 0, __guardsize = 4096, __stackaddr_set =
0, __stackaddr = 0x0,
  __stacksize = 2093056}
#4  0x0809fa19 in CommercialFlagger::customEvent(QCustomEvent*)
(this=0x80f6178, e=0x4cbae768)
    at commercialflag.cpp:74
        tokens = {<QValueList<QString>> = {sh = 0x4cb95c48}, <No data
fields>}
---Type <return> to continue, or q <return> to quit---
        action = {static null = {static null = <same as static member of
an already seen type>,
    d = 0x80c0ad0, static shared_null = 0x80c0ad0}, d = 0x4761bb38,
static shared_null = 0x80c0ad0}
        startts = {d = {jd = 2453275}, t = {ds = 54000000}}
        detectionHost = {static null = {static null = <same as static
member of an already seen type>,
    d = 0x80c0ad0, static shared_null = 0x80c0ad0}, d = 0x4cb87ea0,
static shared_null = 0x80c0ad0}
        key = {static null = {static null = <same as static member of an
already seen type>, d = 0x80c0ad0,
    static shared_null = 0x80c0ad0}, d = 0x4cb87f10, static shared_null
= 0x80c0ad0}
        chanid = {static null = {static null = <same as static member of
an already seen type>,
    d = 0x80c0ad0, static shared_null = 0x80c0ad0}, d = 0x4761bb70,
static shared_null = 0x80c0ad0}
        pginfo = (ProgramInfo *) 0x0
        me = (MythEvent *) 0x4cbae768
        message = {static null = {static null = <same as static member
of an already seen type>,
    d = 0x80c0ad0, static shared_null = 0x80c0ad0}, d = 0x4cb25338,
static shared_null = 0x80c0ad0}
#5  0x40e0debc in QObject::event(QEvent*) () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x40db1ff4 in QApplication::internalNotify(QObject*, QEvent*) ()
from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#7  0x40db17bb in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#8  0x40db2d8a in QApplication::sendPostedEvents(QObject*, int) () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#9  0x40db2c08 in QApplication::sendPostedEvents() () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#10 0x40d6a3ae in QEventLoop::processEvents(unsigned) () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#11 0x40dc5e36 in QEventLoop::enterLoop() () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#12 0x40dc5cd8 in QEventLoop::exec() () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#13 0x40db2221 in QApplication::exec() () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#14 0x08062260 in main (argc=3, argv=0xbffff854) at main.cpp:606
        a = <incomplete type>
        logfile = {static null = {static null = <same as static member
of an already seen type>,
    d = 0x80c0ad0, static shared_null = 0x80c0ad0}, d = 0x80c79d8,
static shared_null = 0x80c0ad0}
        binname = {static null = {static null = <same as static member
of an already seen type>,
    d = 0x80c0ad0, static shared_null = 0x80c0ad0}, d = 0x80c7a70,
static shared_null = 0x80c0ad0}
        verboseString = {static null = {static null = <same as static
member of an already seen type>,
    d = 0x80c0ad0, static shared_null = 0x80c0ad0}, d = 0x80c7ab0,
static shared_null = 0x80c0ad0}
        daemonize = false
        printsched = false
        testsched = false
        nosched = false
        printexpire = false
        logfd = 3
        pidfs = <incomplete type>
        db = (struct QSqlDatabase *) 0x80d01a0
        subthread = (struct QSqlDatabase *) 0x80d0368
---Type <return> to continue, or q <return> to quit---
        expthread = (struct QSqlDatabase *) 0x80d0ab8
        hkthread = (struct QSqlDatabase *) 0x80d1030
        transthread = (struct QSqlDatabase *) 0x80d12b0
        flagthread = (struct QSqlDatabase *) 0x80d1258
        msdb = (struct QSqlDatabase *) 0x80d1ff0
        port = 6543
        statusport = 6544
        myip = {static null = {static null = <same as static member of
an already seen type>, d = 0x80c0ad0,
    static shared_null = 0x80c0ad0}, d = 0x80e8d50, static shared_null =
0x80c0ad0}
        masterip = {static null = {static null = <same as static member
of an already seen type>,
    d = 0x80c0ad0, static shared_null = 0x80c0ad0}, d = 0x80e86b8,
static shared_null = 0x80c0ad0}
        ismaster = true
        runsched = true
        expdb = (struct QSqlDatabase *) 0x80d0ab8
        hkdb = (struct QSqlDatabase *) 0x80d1030
        trandb = (struct QSqlDatabase *) 0x80d12b0
        flagdb = (struct QSqlDatabase *) 0x80d1258
#15 0x4135fa67 in __libc_start_main () from /lib/i686/libc.so.6
No symbol table info available.
#0  0x401d4817 in ProgramInfo::clone(ProgramInfo const&) () from
/usr/local/lib/libmythtv-0.16.so.0
(gdb)




More information about the mythtv-dev mailing list