[mythtv] Mythfrontend crashing when exiting Live TV and recordings, BT attached

mtrisko at mindspring.com mtrisko at mindspring.com
Thu Mar 25 08:50:30 EST 2004


I am having a problem with mythfrontend crashing when I exit live TV and
when I exit viewing a recording.  When I press the ESC key, mythfrontend
segfaults.   Sometimes I can get away with one or two exits going back to
mythfrontend, but usually it crashes on the first ESC.

My system uses a VIA C3 800 Mhz processor, and I have two capture cards, a
PVR-350 and a PVR-250.  I am using the PVR-350 TV-out.

I am using the Knoppmyth distribution, and for mythtv I have tried several
versions: installing the Knoppmyth-recommended 0.14 i586 packages,
recompiling the 0.14 software from the source on the mythtv.org website,
and compiling the CVS as of March 23rd.  Each time I compiled, I modified
the settings.pro to use i586 instead of pentiumpro.  All of these versions
have the same crashing problem on my system.

I would appreciate any help, especially in determining if the problem is
in the mythtv code or in my system.  I have attached a backtrace as
requested in the HOWTO.

Thanks,
Mike
-------------- next part --------------
Thread 6 (Thread 65541 (LWP 357)):
#0  0x410f5b22 in pthread_mutex_lock () from /lib/libpthread.so.0
No symbol table info available.
#1  0x41293fcd in free () from /lib/libc.so.6
No symbol table info available.
#2  0x411cf213 in operator delete(void*) () from /usr/lib/libstdc++.so.5
No symbol table info available.
#3  0x411cf26f in operator delete[](void*) () from /usr/lib/libstdc++.so.5
No symbol table info available.
#4  0x4032c1dd in ~VideoOutputIvtv (this=0x825d5c8) at videoout_ivtv.cpp:79
No locals.
#5  0x401abb70 in NuppelVideoPlayer::IvtvVideoLoop() (this=0x82ada38) at NuppelVideoPlayer.cpp:1725
        delay = 33366
        vidout = (class VideoOutputIvtv *) 0x825d5c8
#6  0x401abbb2 in NuppelVideoPlayer::kickoffOutputVideoLoop(void*) (player=0x82ada38)
    at NuppelVideoPlayer.cpp:1736
        nvp = (NuppelVideoPlayer *) 0x82ada38
#7  0x410f4e51 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#8  0x410f4ecf in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 5 (Thread 49156 (LWP 356)):
#0  0x412cac36 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 4 (Thread 32771 (LWP 355)):
#0  0x410f75f4 in __pthread_sigsuspend () from /lib/libpthread.so.0
No symbol table info available.
#1  0xbf5ff8f8 in ?? ()
No symbol table info available.
#2  0x410f73b8 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
No symbol table info available.
#3  0x410f473c in pthread_join () from /lib/libpthread.so.0
No symbol table info available.
#4  0x401acdd7 in NuppelVideoPlayer::StartPlaying() (this=0x82ada38) at NuppelVideoPlayer.cpp:2024
        output_video = 65541
        pausecheck = 0
#5  0x40242f7c in SpawnDecode(void*) (param=0x82ada38) at tv_play.cpp:160
        nvp = (NuppelVideoPlayer *) 0x82ada38
#6  0x410f4e51 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x410f4ecf in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 3 (Thread 16386 (LWP 349)):
#0  0x412cac36 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00000001 in ?? ()
No symbol table info available.
#2  0x407530f9 in ReadStringList(QSocketDevice*, QStringList&, bool) (socket=0x8294b20, list=@0xbf7ff864,
    quickTimeout=true) at util.cpp:163
        timer = {ds = 55489593}
        elapsed = 38
        sizestr = <incomplete type>
        size = 25163724
        utf8 = <incomplete type>
        read = 141701272
        zerocnt = 141700456
        str = {static null = {static null = <same as static member of an already seen type>, d = 0x81b4670,
    static shared_null = 0x81b4670}, d = 0xbf7ff804, static shared_null = 0x81b4670}
#3  0x40218111 in RemoteEncoder::SendReceiveStringList(QStringList&) (this=0x82639c0, strlist=@0xbf7ff864)
    at remoteencoder.cpp:57
No locals.
#4  0x402199df in RemoteEncoder::StopLiveTV() (this=0x82639c0) at remoteencoder.cpp:250
        strlist = {<QValueList<QString>> = {sh = 0x8722d58}, <No data fields>}
#5  0x40247912 in TV::StopPlayerAndRecorder(bool, bool) (this=0x8279830, closePlayer=true,
    closeRecorder=true) at tv_play.cpp:757
No locals.
#6  0x402468e5 in TV::HandleStateChange() (this=0x8279830) at tv_play.cpp:584
        changed = true
        tmpInternalState = kState_None
        statename = {static null = {static null = <same as static member of an already seen type>,
    d = 0x81b4670, static shared_null = 0x81b4670}, d = 0x8722090, static shared_null = 0x81b4670}
        origname = {static null = {static null = <same as static member of an already seen type>,
    d = 0x81b4670, static shared_null = 0x81b4670}, d = 0x8250e88, static shared_null = 0x81b4670}
#7  0x40249313 in TV::RunTV() (this=0x8279830) at tv_play.cpp:942
        keypressed = (QKeyEvent *) 0x87220f0
        updatecheck = 8
#8  0x40249098 in TV::EventThread(void*) (param=0x8279830) at tv_play.cpp:910
        thetv = (class TV *) 0x8279830
#9  0x410f4e51 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#10 0x410f4ecf in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 2 (Thread 32769 (LWP 348)):
#0  0x412f181a in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x410f4b50 in __pthread_manager () from /lib/libpthread.so.0
No symbol table info available.
#2  0x410f4d57 in __pthread_manager_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 1 (Thread 16384 (LWP 340)):
#0  0x412f3de1 in select () from /lib/libc.so.6
No symbol table info available.
#1  0x4100b504 in typeinfo for QMotifStyle () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2  0x40db6aa9 in QSocket::waitForMore(int, bool*) const () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#3  0x40db6afc in QSocket::waitForMore(int) const () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4  0x40753dd6 in ReadStringList(QSocket*, QStringList&) (socket=0x81d0250, list=@0xbfffd890) at util.cpp:345
        sizestr = <incomplete type>
        size = 16777216
        utf8 = <incomplete type>
        read = -1073752084
        zerocnt = 21531
        str = {static null = {static null = <same as static member of an already seen type>, d = 0x81b4670,
    static shared_null = 0x81b4670}, d = 0x82574f8, static shared_null = 0x81b4670}
#5  0x40716e7c in MythContext::EventSocketRead() (this=0x81cf1f8) at mythcontext.cpp:1262
        strlist = {<QValueList<QString>> = {sh = 0x82574f8}, <No data fields>}
        prefix = {static null = {static null = <same as static member of an already seen type>,
    d = 0x81b4670, static shared_null = 0x81b4670}, d = 0x406903e0, static shared_null = 0x81b4670}
        message = {static null = {static null = <same as static member of an already seen type>,
    d = 0x81b4670, static shared_null = 0x81b4670}, d = 0xbfffde34, static shared_null = 0x81b4670}
        extra = {static null = {static null = <same as static member of an already seen type>,
    d = 0x81b4670, static shared_null = 0x81b4670}, d = 0x1c7, static shared_null = 0x81b4670}
#6  0x407d068f in MythContext::qt_invoke(int, QUObject*) (this=0x81cf1f8, _id=2, _o=0xbfffd950)
    at moc_mythcontext.cpp:86
No locals.
#7  0x40bc8d9c in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#8  0x40bc8bd4 in QObject::activate_signal(int) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#9  0x40f15bae in QSocket::readyRead() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#10 0x40db7317 in QSocket::sn_read(bool) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#11 0x40f15c93 in QSocket::qt_invoke(int, QUObject*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#12 0x40bc8d9c in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#13 0x40bc8efd in QObject::activate_signal(int, int) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#14 0x40ee70f2 in QSocketNotifier::activated(int) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#15 0x40be4d20 in QSocketNotifier::event(QEvent*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#16 0x40b6d47f in QApplication::internalNotify(QObject*, QEvent*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#17 0x40b6ca8b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#18 0x40b5d1ba in QEventLoop::activateSocketNotifiers() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#19 0x40b18b28 in QEventLoop::processEvents(unsigned) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#20 0x40b80d8f in QEventLoop::processEvents(unsigned, int) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#21 0x40b6d5ee in QApplication::processEvents(int) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#22 0x40b6d5b8 in QApplication::processEvents() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#23 0x080656ce in startTV() () at main.cpp:258
        tv = (class TV *) 0x8279830
        timer = {ds = 55472941}
        tryTV = false
        tryRecorder = false
        quitAll = false
        showDialogs = true
#24 0x08066907 in TVMenuCallback(void*, QString&) (data=0x81cf1f8, selection=@0x828d55c) at main.cpp:370
        sel = {static null = {static null = <same as static member of an already seen type>, d = 0x81b4670,
    static shared_null = 0x81b4670}, d = 0x8277768, static shared_null = 0x81b4670}
#25 0x40749b31 in ThemedMenuPrivate::handleAction(QString const&) (this=0x828d460, action=@0x8281f2c)
    at themedmenu.cpp:2074
No locals.
#26 0x4074833a in ThemedMenuPrivate::keyPressHandler(QKeyEvent*) (this=0x828d460, e=0xbffff710)
    at themedmenu.cpp:1904
        action = {static null = {static null = <same as static member of an already seen type>,
    d = 0x81b4670, static shared_null = 0x81b4670}, d = 0x82573b0, static shared_null = 0x81b4670}
        i = 0
        lastbutton = (ThemedButton *) 0x8281ef0
        oldrow = 0
        handled = true
        actions = {<QValueList<QString>> = {sh = 0x82b33c8}, <No data fields>}
#27 0x4074af7d in ThemedMenu::keyPressEvent(QKeyEvent*) (this=0x82557d8, e=0xbffff710) at themedmenu.cpp:2260
No locals.
#28 0x40bfddf5 in QWidget::event(QEvent*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#29 0x40b6d47f in QApplication::internalNotify(QObject*, QEvent*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#30 0x40b6cf7e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#31 0x40b06bfd in QETWidget::translateKeyEvent(_XEvent const*, bool) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#32 0x40b02ea5 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#33 0x40b18f01 in QEventLoop::processEvents(unsigned) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#34 0x40b80ce8 in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#35 0x40b6d731 in QApplication::enter_loop() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#36 0x407a557b in MythDialog::exec() (this=0x82557d8) at mythdialogs.cpp:757
        res = 1081758976
#37 0x08067f48 in RunMenu(QString) (themedir=
      {static null = {static null = <same as static member of an already seen type>, d = 0x81b4670, static shared_null = 0x81b4670}, d = 0x8267118, static shared_null = 0x81b4670}) at main.cpp:521
        exitstatus = 0
#38 0x0806c5b5 in main (argc=1, argv=0xbffffd94) at main.cpp:959
        lcd_host = {static null = {static null = <same as static member of an already seen type>,
    d = 0x81b4670, static shared_null = 0x81b4670}, d = 0x8251000, static shared_null = 0x81b4670}
        lcd_port = 13666
        a = <incomplete type>
        logfile = {static null = {static null = <same as static member of an already seen type>,
    d = 0x81b4670, static shared_null = 0x81b4670}, d = 0x81cef70, static shared_null = 0x81b4670}
        verboseString = {static null = {static null = <same as static member of an already seen type>,
    d = 0x81b4670, static shared_null = 0x81b4670}, d = 0x81cef88, static shared_null = 0x81b4670}
        pluginname = {static null = {static null = <same as static member of an already seen type>,
    d = 0x81b4670, static shared_null = 0x81b4670}, d = 0x81cefa0, static shared_null = 0x81b4670}
        finfo = {fn = {static null = {static null = <same as static member of an already seen type>,
      d = 0x81b4670, static shared_null = 0x81b4670}, d = 0x81cefe8, static shared_null = 0x81b4670},
  fic = 0x0, cache = true, symLink = false}
        binname = {static null = {static null = <same as static member of an already seen type>,
    d = 0x81b4670, static shared_null = 0x81b4670}, d = 0x81cf000, static shared_null = 0x81b4670}
        logfd = -1
        fileprefix = {static null = {static null = <same as static member of an already seen type>,
    d = 0x81b4670, static shared_null = 0x81b4670}, d = 0x81cf0d8, static shared_null = 0x81b4670}
        dir = <incomplete type>
        db = (struct QSqlDatabase *) 0x8246950
        themename = {static null = {static null = <same as static member of an already seen type>,
    d = 0x81b4670, static shared_null = 0x81b4670}, d = 0x82699c0, static shared_null = 0x81b4670}
        randomtheme = false
        themedir = {static null = {static null = <same as static member of an already seen type>,
    d = 0x81b4670, static shared_null = 0x81b4670}, d = 0x8267118, static shared_null = 0x81b4670}
        mainWindow = (class MythMainWindow *) 0x82592d8
        pmanager = (MythPluginManager *) 0x8251308
        mon = (class MediaMonitor *) 0x0
        exitstatus = 1093225313
#39 0x41238dc6 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#0  0x410f5b22 in pthread_mutex_lock () from /lib/libpthread.so.0


More information about the mythtv-dev mailing list