[mythtv] RE: Segmentation fault CVS mythfrontend

jsass at magnifeye.com jsass at magnifeye.com
Wed Nov 17 04:55:16 UTC 2004


Ok I now have gdb output to go with the Segmentation fault.

To duplicate:

Watch live tv, have a show ready to record while watching. When the dialog comes up reminding you that a show is about to be recorded in 30 seconds, let it time out. The crash will follow (it did not happen every time)

Jonathan

2004-11-16 18:00:02.711 Changing from WatchingRecording to None
 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -161907792 (LWP 4446)]
0x004d097c in NuppelVideoPlayer::IsDecoderThreadAlive (this=0x0)
    at NuppelVideoPlayer.h:71
71          bool IsDecoderThreadAlive(void) { return decoder_thread_alive; }
(gdb) thread apply all bt full
 
Thread 57 (Thread -161907792 (LWP 4446)):
#0  0x004d097c in NuppelVideoPlayer::IsDecoderThreadAlive (this=0x0)
    at NuppelVideoPlayer.h:71
No locals.
#1  0x004b5eb1 in TV::HandleStateChange (this=0x8ebf6d0) at tv_play.cpp:776
        changed = true
        tmpInternalState = kState_None
        statename = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x82e1070, static shared_null = 0x82e1070}, d = 0x8e9dd68,
  static shared_null = 0x82e1070}
        origname = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x82e1070, static shared_null = 0x82e1070}, d = 0x8a4d878,
  static shared_null = 0x82e1070}
#2  0x004b850a in TV::RunTV (this=0x8ebf6d0) at tv_play.cpp:1100
        keypressed = (QKeyEvent *) 0x8b25498
        updatecheck = 8
#3  0x004b7e4e in TV::EventThread (param=0x8ebf6d0) at tv_play.cpp:1042
        thetv = (class TV *) 0x8ebf6d0
#4  0x00acd98c in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#5  0x00fa616a in clone () from /lib/tls/libc.so.6
No symbol table info available.
 
Thread 5 (Thread 82951088 (LWP 3412)):
#0  0x002427a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x00ad0950 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
No symbol table info available.
#2  0x067ae7e7 in QThread::exit () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#3  0x067ae8f2 in QThread::msleep () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#4  0x00e3eca0 in MonitorThread::run (this=0x83e8fb8)
    at mythmediamonitor.cpp:76
No locals.
#5  0x067ae46a in QThreadInstance::start ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#6  0x00acd98c in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#7  0x00fa616a in clone () from /lib/tls/libc.so.6
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
 
Thread 3 (Thread 35158960 (LWP 3409)):
#0  0x002427a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x00ad2f7b in __read_nocancel () from /lib/tls/libpthread.so.0
No symbol table info available.
#2  0x002309b4 in lirc_nextcode (code=0x2187a18) at lirc_client.c:1493
        packet_size = 100
        end_len = 0
        len = -512
        end = 0x0
        c = 1 '\001'
#3  0x00e4c378 in LircClient::Process (this=0x83c6b08) at lirc.cpp:67
        code = 0x0
        ir = 0x0
        ret = 2414656
#4  0x00dfa81c in SpawnLirc (param=0x83c0b68) at mythdialogs.cpp:52
        main_window = (MythMainWindow *) 0x83c0b68
        config_file = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x82e1070, static shared_null = 0x82e1070}, d = 0x840f630,
  static shared_null = 0x82e1070}
        program = {static null = {
---Type <return> to continue, or q <return> to quit---
    static null = <same as static member of an already seen type>,
    d = 0x82e1070, static shared_null = 0x82e1070}, d = 0x840f6e8,
  static shared_null = 0x82e1070}
        cl = (class LircClient *) 0x83c6b08
#5  0x00acd98c in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#6  0x00fa616a in clone () from /lib/tls/libc.so.6
No symbol table info available.
 
Thread 2 (Thread 49007536 (LWP 3406)):
#0  0x002427a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x00ad0790 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
No symbol table info available.
#2  0x06ab41f9 in QWaitCondition::wait ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#3  0x00d6a4de in MythContext::waitPrivRequest (this=0x83a72f0)
    at mythcontext.cpp:1667
No locals.
#4  0x0806a923 in run_priv_thread (data=0x0) at main.cpp:653
No locals.
---Type <return> to continue, or q <return> to quit---
#5  0x00acd98c in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#6  0x00fa616a in clone () from /lib/tls/libc.so.6
No symbol table info available.
 
Thread 1 (Thread -151100704 (LWP 3403)):
#0  0x002427a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x00f71446 in __nanosleep_nocancel () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x00f9f73a in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#3  0x080678b0 in startTV () at main.cpp:306
        tv = (class TV *) 0x8ebf6d0
        timer = {ds = 62283894}
        tryTV = false
        tryRecorder = false
        quitAll = false
        showDialogs = true
#4  0x08067a29 in TVMenuCallback (data=0x83a72f0, selection=@0x83f22a4)
    at main.cpp:344
        sel = {static null = {
    static null = <same as static member of an already seen type>,
---Type <return> to continue, or q <return> to quit---
    d = 0x82e1070, static shared_null = 0x82e1070}, d = 0x83135f0,
  static shared_null = 0x82e1070}
#5  0x00d9bfdf in ThemedMenuPrivate::handleAction (this=0x83f21a8,
    action=@0x8f72628) at themedmenu.cpp:2138
No locals.
#6  0x00d9a653 in ThemedMenuPrivate::keyPressHandler (this=0x83f21a8,
    e=0xfef705b0) at themedmenu.cpp:1968
        it = {node = 0x8f72620}
        action = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x82e1070, static shared_null = 0x82e1070}, d = 0x83c6fe0,
  static shared_null = 0x82e1070}
        i = 0
        lastbutton = (ThemedButton *) 0x83f8210
        oldrow = 0
        handled = true
        actions = {<QValueList<QString>> = {sh = 0x8f28318}, <No data fields>}
#7  0x00d9d649 in ThemedMenu::keyPressEvent (this=0x83f1d88, e=0xfef705b0)
    at themedmenu.cpp:2333
No locals.
#8  0x0684d305 in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#9  0x067bacdf in QApplication::internalNotify ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#10 0x067ba7d4 in QApplication::notify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#11 0x06752a20 in QETWidget::translateKeyEvent ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#12 0x0674e790 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#13 0x06765494 in QEventLoop::processEvents ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#14 0x067ccf28 in QEventLoop::enterLoop ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#15 0x067baf91 in QApplication::enter_loop ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#16 0x00e03aa3 in MythDialog::exec (this=0x83f1d88) at mythdialogs.cpp:909
        res = 14694952
#17 0x08069092 in RunMenu (themedir=
---Type <return> to continue, or q <return> to quit---
      {static null = {static null = <same as static member of an already seen type>, d = 0x82e1070, static shared_null = 0x82e1070}, d = 0x84102e8, static shared_null = 0x82e1070}) at main.cpp:502
        exitstatus = 0
#18 0x0806e0df in main (argc=1, argv=0xfef70d44) at main.cpp:1065
        lcd_host = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x82e1070, static shared_null = 0x82e1070}, d = 0x83ad0e8,
  static shared_null = 0x82e1070}
        lcd_port = 13666
        a = <incomplete type>
        logfile = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x82e1070, static shared_null = 0x82e1070}, d = 0x83a6ff8,
  static shared_null = 0x82e1070}
        verboseString = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x82e1070, static shared_null = 0x82e1070}, d = 0x83a7010,
  static shared_null = 0x82e1070}
        pluginname = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x82e1070, static shared_null = 0x82e1070}, d = 0x83a7028,
  static shared_null = 0x82e1070}
---Type <return> to continue, or q <return> to quit---
        finfo = {fn = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x82e1070, static shared_null = 0x82e1070}, d = 0x83a70b8,
    static shared_null = 0x82e1070}, fic = 0x0, cache = true, symLink = false}
        binname = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x82e1070, static shared_null = 0x82e1070}, d = 0x83a70d0,
  static shared_null = 0x82e1070}
        logfd = -1
        fileprefix = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x82e1070, static shared_null = 0x82e1070}, d = 0x83a71d0,
  static shared_null = 0x82e1070}
        dir = <incomplete type>
        priv_thread = 49007536
        status = 0
        db = (struct QSqlDatabase *) 0x83aba70
        themename = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x82e1070, static shared_null = 0x82e1070}, d = 0x84136a0,
  static shared_null = 0x82e1070}
        randomtheme = false
        themedir = {static null = {
---Type <return> to continue, or q <return> to quit---
    static null = <same as static member of an already seen type>,
    d = 0x82e1070, static shared_null = 0x82e1070}, d = 0x84102e8,
  static shared_null = 0x82e1070}
        flags = 8208
        mainWindow = (class MythMainWindow *) 0x83c0b68
        pmanager = (MythPluginManager *) 0x83c65e8
        mon = (class MediaMonitor *) 0x83e8f88
        exitstatus = 10
0x004d097c      71          bool IsDecoderThreadAlive(void) { return decoder_thread_alive; }
(gdb)



More information about the mythtv-dev mailing list