[mythtv] Current CVS SEGV in PiP when swapping channels... (backtrace included)

Derek Atkins warlord at MIT.EDU
Sun Sep 21 21:57:10 EDT 2003


Using current CVS on my RH9 system:
        Go into LiveTV
        Go to some channel        
        Hit V to turn on Picture in Picture
        Hit N to swap the channels
        Change the channel
        Hit N again to swap back
        Watch mythfrontend crash:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1166596672 (LWP 3487)]
0x42073f80 in _int_malloc () from /lib/tls/libc.so.6
(gdb) thread apply all bt full

Thread 9 (Thread 1186191680 (LWP 3489)):
#0  0xffffe002 in ?? ()
No symbol table info available.
#1  0x420ac5b6 in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.

Thread 8 (Thread 1174985152 (LWP 3488)):
#0  0xffffe002 in ?? ()
No symbol table info available.
#1  0x420ac5b6 in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.

Thread 7 (Thread 1166596672 (LWP 3487)):
#0  0x42073f80 in _int_malloc () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x4207335b in malloc () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x408ef80e in operator new(unsigned) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#3  0x408ef8cf in operator new[](unsigned) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#4  0x408548ca in QString::setLength(unsigned) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#5  0x4085ab09 in QString::operator+=(QString const&) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x408690bf in QStringList::join(QString const&) const ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#7  0x400ea6ec in WriteStringList(QSocket*, QStringList&) (socket=0x8567180, 
    list=@0x4588d4fc) at util.cpp:29
        str = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x84af1b0, static shared_null = 0x84af1b0}, d = 0x87e4240, 
  static shared_null = 0x84af1b0}
        utf8 = <incomplete type>
        size = 1074704876
        written = 1166595236
        payload = <incomplete type>
#8  0x08151f4a in RemoteEncoder::SendReceiveStringList(QStringList&) (
    this=0x89bb3c8, strlist=@0x4588d4fc) at remoteencoder.cpp:56
No locals.
---Type <return> to continue, or q <return> to quit---
#9  0x08152cc8 in RemoteEncoder::GetFreeSpace(long long) (this=0x89bb3c8, 
    totalreadpos=7700480) at remoteencoder.cpp:163
        strlist = {<QValueList<QString>> = {sh = 0x88a93b0}, <No data fields>}
        retval = 4648397286916281572
#10 0x0815ad11 in RingBuffer::GetFreeSpace() (this=0x88541a0)
    at RingBuffer.cpp:1184
No locals.
#11 0x080fdb26 in NuppelVideoPlayer::StartPlaying() (this=0x89c5608)
    at NuppelVideoPlayer.cpp:1452
        output_video = 1186191680
        pausecheck = 20
#12 0x0816f267 in SpawnDecode(void*) (param=0x89c5608) at tv_play.cpp:67
        nvp = (NuppelVideoPlayer *) 0x89c5608
#13 0x409ef2b6 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#14 0x420de407 in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 6 (Thread 1158208192 (LWP 3484)):
#0  0xffffe002 in ?? ()
No symbol table info available.
#1  0x420ac5b6 in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
---Type <return> to continue, or q <return> to quit---

Thread 5 (Thread 1136536384 (LWP 3483)):
#0  0xffffe002 in ?? ()
No symbol table info available.
#1  0x420ac5b6 in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.

Thread 4 (Thread 1125329856 (LWP 3482)):
#0  0xffffe002 in ?? ()
No symbol table info available.
#1  0x420d7cc1 in select () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x409db27c in ?? () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#3  0x00000005 in ?? ()
No symbol table info available.
#4  0x407a8e2c in QSocket::waitForMore(int, bool*) const ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#5  0x407a8e7e in QSocket::waitForMore(int) const ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x400eaba2 in ReadStringList(QSocket*, QStringList&) (socket=0x8579748, 
---Type <return> to continue, or q <return> to quit---
    list=@0x431325bc) at util.cpp:84
        sizestr = <incomplete type>
        size = 0
        utf8 = <incomplete type>
        read = 61
        zerocnt = 1125328300
        str = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x84af1b0, static shared_null = 0x84af1b0}, d = 0x409b9760, 
  static shared_null = 0x84af1b0}
#7  0x400c4bc8 in RemoteFile::RequestBlock(int) (this=0x8581b58, size=256000)
    at remotefile.cpp:203
        strlist = {<QValueList<QString>> = {sh = 0x447187a0}, <No data fields>}
#8  0x08158cc8 in RingBuffer::safe_read(RemoteFile*, void*, unsigned) (
    this=0x857a410, rf=0x8581b58, data=0x43133008, sz=256000)
    at RingBuffer.cpp:489
        ret = 1082289332
        tot = 0
        zerocnt = 0
        hiteof = false
        reqsize = 256000
        sock = (struct QSocket *) 0x8581e38
        available = 139961360
---Type <return> to continue, or q <return> to quit---
#9  0x08159926 in RingBuffer::ReadAheadThread() (this=0x857a410)
    at RingBuffer.cpp:752
        totfree = 256000
        ret = 256000
        used = 280577
#10 0x08159691 in RingBuffer::startReader(void*) (type=0x857a410)
    at RingBuffer.cpp:691
        rbuffer = (RingBuffer *) 0x857a410
#11 0x409ef2b6 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#12 0x420de407 in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 3 (Thread 1116941376 (LWP 3481)):
#0  0xffffe002 in ?? ()
No symbol table info available.
#1  0x409f1504 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
No symbol table info available.
#2  0x085a9308 in ?? ()
No symbol table info available.

Thread 2 (Thread 1105394880 (LWP 3478)):
---Type <return> to continue, or q <return> to quit---
#0  0xffffe002 in ?? ()
No symbol table info available.
#1  0x409f1504 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
No symbol table info available.
#2  0x087bbeb8 in ?? ()
No symbol table info available.

Thread 1 (Thread 1092226912 (LWP 3471)):
#0  0xffffe002 in ?? ()
No symbol table info available.
#1  0x409f2fd8 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
No symbol table info available.
#2  0x0853d49c in ?? ()
No symbol table info available.
#3  0x409db27c in ?? () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x411a0f60 in ?? ()
No symbol table info available.
#5  0x409f0906 in pthread_mutex_lock () from /lib/tls/libpthread.so.0
No symbol table info available.
#6  0x4082688c in QRecursiveMutexPrivate::lock() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#7  0x40826c94 in QMutex::lock() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#8  0x4057db14 in QApplication::lock() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#9  0x08070609 in startTV() () at main.cpp:197
        db = (struct QSqlDatabase *) 0x8546f88
        tv = (class TV *) 0x8573b00
        timeout = {d = {jd = 2452904}, t = {ds = 74789579}}
        tryTV = false
        tryRecorder = false
        quitAll = false
        showDialogs = true
#10 0x0807068f in TVMenuCallback(void*, QString&) (data=0x853b6f0, 
    selection=@0x8576118) at main.cpp:218
        sel = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x84af1b0, static shared_null = 0x84af1b0}, d = 0x858db58, 
  static shared_null = 0x84af1b0}
#11 0x400e2fc4 in ThemedMenu::handleAction(QString&) (this=0x8575fc0, 
    action=@0x859059c) at themedmenu.cpp:1816
No locals.
---Type <return> to continue, or q <return> to quit---
#12 0x400e1ae4 in ThemedMenu::keyPressEvent(QKeyEvent*) (this=0x8575fc0, 
    e=0xbfffef10) at themedmenu.cpp:1653
        handled = false
        lastbutton = (ThemedButton *) 0x8590560
        oldrow = 0
#13 0x4060e06c in QWidget::event(QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#14 0x4057bf24 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#15 0x4057bab7 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#16 0x40523abe in QETWidget::translateKeyEvent(_XEvent const*, bool) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#17 0x4051fd14 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#18 0x40534bda in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#19 0x4058fcf6 in QEventLoop::enterLoop() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#20 0x4057c1b1 in QApplication::enter_loop() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#21 0x4012cbb5 in MythDialog::exec() (this=0x8575fc0) at mythdialogs.cpp:276
        res = 1074973498
#22 0x08071638 in RunMenu(QString) (themedir=
      {static null = {static null = <same as static member of an already seen type>, d = 0x84af1b0, static shared_null = 0x84af1b0}, d = 0x85680d8, static shared_null = 0x84af1b0}) at main.cpp:339
        exitstatus = 0
#23 0x080744a9 in main (argc=1, argv=0xbffff584) at main.cpp:660
        lcd_host = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x84af1b0, static shared_null = 0x84af1b0}, d = 0x85728d8, 
  static shared_null = 0x84af1b0}
        lcd_port = 0
        a = <incomplete type>
        translator = <incomplete type>
        logfile = {static null = {
    static null = <same as static member of an already seen type>, 
---Type <return> to continue, or q <return> to quit---
    d = 0x84af1b0, static shared_null = 0x84af1b0}, d = 0x853cb00, 
  static shared_null = 0x84af1b0}
        verboseString = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x84af1b0, static shared_null = 0x84af1b0}, d = 0x853cb40, 
  static shared_null = 0x84af1b0}
        pluginname = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x84af1b0, static shared_null = 0x84af1b0}, d = 0x853cb68, 
  static shared_null = 0x84af1b0}
        binname = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x84af1b0, static shared_null = 0x84af1b0}, d = 0x853cb80, 
  static shared_null = 0x84af1b0}
        logfd = -1
        db = (struct QSqlDatabase *) 0x8546f88
        themename = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x84af1b0, static shared_null = 0x84af1b0}, d = 0x85593f0, 
  static shared_null = 0x84af1b0}
        randomtheme = false
        themedir = {static null = {
    static null = <same as static member of an already seen type>, 
---Type <return> to continue, or q <return> to quit---
    d = 0x84af1b0, static shared_null = 0x84af1b0}, d = 0x85680d8, 
  static shared_null = 0x84af1b0}
        mainWindow = (class MythMainWindow *) 0x85629d0
        exitstatus = -1073744848
#0  0x42073f80 in _int_malloc () from /lib/tls/libc.so.6

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the mythtv-dev mailing list