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

mtrisko at mindspring.com mtrisko at mindspring.com
Fri Mar 26 22:30:04 EST 2004


Someone said that I had not included the initial part of the backtrace, so I have rerun and attached a full gdb session here.  The actions I took to get this result was to launch mythfrontend, select TV, select Watch TV, let the live TV run for a few seconds, and press ESC which causes Mythfrontend to crash.  This happens consistently.

Thanks in advance for any help or insight you can provide.

Mike
-------------- next part --------------
GNU gdb 5.3
Copyright 2002 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 "i586-pc-linux-gnu"...
(gdb) run
Starting program: /usr/bin/mythfrontend
[New Thread 16384 (LWP 13702)]
2004-03-26 21:19:44 mythfrontend version: 0.15.20040319-1 www.mythtv.org
2004-03-26 21:19:44 Enabled verbose msgs : important general
2004-03-26 21:19:50 Registering Internal as a media playback plugin.
Unable to initialize plugin 'mythdvd'.
[New Thread 32769 (LWP 13717)]
[New Thread 16386 (LWP 13718)]
2004-03-26 21:20:38 Connecting to backend server: 192.168.254.55:6543 (try 1 of 5)
2004-03-26 21:20:39 Using protocol version 4
2004-03-26 21:20:39 Using protocol version 4
2004-03-26 21:20:39 Using protocol version 4
[New Thread 32771 (LWP 13723)]
[New Thread 49156 (LWP 13724)]
IVTV_IOC_GET_FB: Invalid argument
[New Thread 65541 (LWP 13725)]
2004-03-26 21:20:48 Changing from None to WatchingLiveTV

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 65541 (LWP 13725)]
0x412951ac in mallopt () from /lib/libc.so.6
(gdb) thread apply all bt full

Thread 6 (Thread 65541 (LWP 13725)):
#0  0x412951ac in mallopt () from /lib/libc.so.6
No symbol table info available.
#1  0x41293faf 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=0x827cc10) at videoout_ivtv.cpp:79
No locals.
#5  0x401abb70 in NuppelVideoPlayer::IvtvVideoLoop() (this=0x82ad2a8)
    at NuppelVideoPlayer.cpp:1725
        delay = 33366
        vidout = (class VideoOutputIvtv *) 0x827cc10
#6  0x401abbb2 in NuppelVideoPlayer::kickoffOutputVideoLoop(void*) (
    player=0x82ad2a8) at NuppelVideoPlayer.cpp:1736
        nvp = (NuppelVideoPlayer *) 0x82ad2a8
#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 13724)):
#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 13723)):
#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=0x82ad2a8)
    at NuppelVideoPlayer.cpp:2024
        output_video = 65541
        pausecheck = 0
#5  0x40242f7c in SpawnDecode(void*) (param=0x82ad2a8) at tv_play.cpp:160
        nvp = (NuppelVideoPlayer *) 0x82ad2a8
#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 13718)):
#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=0x82bd0d8, list=@0xbf7ff864, quickTimeout=true) at util.cpp:163
        timer = {ds = 76861914}
        elapsed = 41
        sizestr = <incomplete type>
        size = 25163724
        utf8 = <incomplete type>
        read = 141563744
        zerocnt = 141563656
        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=0x8298988, strlist=@0xbf7ff864) at remoteencoder.cpp:57
No locals.
#4  0x402199df in RemoteEncoder::StopLiveTV() (this=0x8298988)
    at remoteencoder.cpp:250
        strlist = {<QValueList<QString>> = {sh = 0x8702500}, <No data fields>}
#5  0x40247912 in TV::StopPlayerAndRecorder(bool, bool) (this=0x82813a0,
    closePlayer=true, closeRecorder=true) at tv_play.cpp:757
No locals.
#6  0x402468e5 in TV::HandleStateChange() (this=0x82813a0) 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 = 0x82bd1e8,
  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 = 0x8299bb8,
  static shared_null = 0x81b4670}
#7  0x40249313 in TV::RunTV() (this=0x82813a0) at tv_play.cpp:942
        keypressed = (QKeyEvent *) 0x87016e8
        updatecheck = 5
#8  0x40249098 in TV::EventThread(void*) (param=0x82813a0) at tv_play.cpp:910
        thetv = (class TV *) 0x82813a0
#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 13717)):
#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 13702)):
#0  0x410f75f4 in __pthread_sigsuspend () from /lib/libpthread.so.0
No symbol table info available.
#1  0xbfffd410 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  0x410f8d89 in __pthread_alt_lock () from /lib/libpthread.so.0
No symbol table info available.
#4  0x410f5ba5 in pthread_mutex_lock () from /lib/libpthread.so.0
No symbol table info available.
#5  0x41293fcd in free () from /lib/libc.so.6
No symbol table info available.
#6  0x40e658c2 in QGArray::~QGArray() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#7  0x402c6c06 in ~QMemArray (this=0x8703628) at qmemarray.h:61
No locals.
#8  0x40c46fce in QPtrList<QMemArray<char> >::deleteItem(void*) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#9  0x40e6b20c in QGList::remove(void*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#10 0x40c468df in QMembuf::consumeBytes(unsigned long, char*) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#11 0x40db6bc5 in QSocket::readBlock(char*, unsigned long) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#12 0x40753f68 in ReadStringList(QSocket*, QStringList&) (socket=0x81d0250,
    list=@0xbfffd630) at util.cpp:375
        temp = 17
        sizestr = <incomplete type>
        size = 49
        utf8 = <incomplete type>
        read = 0
        zerocnt = 0
        str = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x81b4670, static shared_null = 0x81b4670}, d = 0x827ceb0,
  static shared_null = 0x81b4670}
#13 0x40716e7c in MythContext::EventSocketRead() (this=0x81cf1f8)
    at mythcontext.cpp:1262
        strlist = {<QValueList<QString>> = {sh = 0x827ceb0}, <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 = 0xbfffdbd4,
  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 = 0x0,
  static shared_null = 0x81b4670}
#14 0x407d068f in MythContext::qt_invoke(int, QUObject*) (this=0x81cf1f8,
    _id=2, _o=0xbfffd6f0) at moc_mythcontext.cpp:86
No locals.
#15 0x40bc8d9c in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#16 0x40bc8bd4 in QObject::activate_signal(int) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#17 0x40f15bae in QSocket::readyRead() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#18 0x40db7317 in QSocket::sn_read(bool) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#19 0x40f15c93 in QSocket::qt_invoke(int, QUObject*) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#20 0x40bc8d9c in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#21 0x40bc8efd in QObject::activate_signal(int, int) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#22 0x40ee70f2 in QSocketNotifier::activated(int) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#23 0x40be4d20 in QSocketNotifier::event(QEvent*) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#24 0x40b6d47f in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#25 0x40b6ca8b in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#26 0x40b5d1ba in QEventLoop::activateSocketNotifiers() ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#27 0x40b18b28 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#28 0x40b80d8f in QEventLoop::processEvents(unsigned, int) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#29 0x40b6d5ee in QApplication::processEvents(int) ()
   from /usr/lib/libqt-mt.so.3
#30 0x40b6d5b8 in QApplication::processEvents() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#31 0x080656ce in startTV() () at main.cpp:258
        tv = (class TV *) 0x82813a0
        timer = {ds = 76839128}
        tryTV = false
        tryRecorder = false
        quitAll = false
        showDialogs = true
#32 0x08066907 in TVMenuCallback(void*, QString&) (data=0x81cf1f8,
    selection=@0x825c29c) 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 = 0x8278df8,
  static shared_null = 0x81b4670}
#33 0x40749b31 in ThemedMenuPrivate::handleAction(QString const&) (
    this=0x825c1a0, action=@0x8280e1c) at themedmenu.cpp:2074
No locals.
#34 0x4074833a in ThemedMenuPrivate::keyPressHandler(QKeyEvent*) (
    this=0x825c1a0, 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 = 0x8250520,
  static shared_null = 0x81b4670}
        i = 0
        lastbutton = (ThemedButton *) 0x8280de0
        oldrow = 0
        handled = true
        actions = {<QValueList<QString>> = {sh = 0x8244268}, <No data fields>}
#35 0x4074af7d in ThemedMenu::keyPressEvent(QKeyEvent*) (this=0x8255158,
    e=0xbffff710) at themedmenu.cpp:2260
No locals.
#36 0x40bfddf5 in QWidget::event(QEvent*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#37 0x40b6d47f in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#38 0x40b6cf7e in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#39 0x407a4524 in MythMainWindow::keyPressEvent(QKeyEvent*) (this=0x82592d8,
    e=0xbffff710) at mythdialogs.cpp:529
        current = (struct QWidget *) 0x8255158
#40 0x40bfddf5 in QWidget::event(QEvent*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#41 0x40b6d47f in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#42 0x40b6cf7e in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#43 0x40b06bfd in QETWidget::translateKeyEvent(_XEvent const*, bool) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#44 0x40b02ea5 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#45 0x40b18f01 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#46 0x40b80ce8 in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#47 0x40b6d731 in QApplication::enter_loop() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#48 0x407a557b in MythDialog::exec() (this=0x8255158) at mythdialogs.cpp:757
        res = 1081758976
#49 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
#50 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 = 0x82686e0,
  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 *) 0x82688a8
        mon = (class MediaMonitor *) 0x0
        exitstatus = 1093225313
#51 0x41238dc6 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#0  0x412951ac in mallopt () from /lib/libc.so.6
(gdb) 


More information about the mythtv-dev mailing list