[mythtv] SEGV when watching a recording

Bjorn Hijmans bjorn at hijmans.nl
Mon May 5 10:32:04 EDT 2003


Hi,

With the latest CVS I'm experiencing a SEGV when watching a recording. It
was recorded using a PVR 250. The recording does run in the preview
box. The backtrace:

(gdb) thread apply all bt

Thread 13 (Thread 180236 (LWP 21167)):
#0  0x40dd18d6 in __libc_nanosleep () from /lib/libc.so.6
#1  0x00000000 in ?? ()

Thread 12 (Thread 163851 (LWP 21166)):
#0  pair<unsigned char *const, _XImage *>::pair (this=0xbe5ff858,
__a=@0x10, __b=@0xbe5ff854) at
/usr/lib/gcc-lib/i386-slackware-linux/2.95.3/../../../../include/g++-3/stl_pair.h:44
#1  0x081111c1 in map<unsigned char *, _XImage *, less<unsigned char *>,
allocator<_XImage *> >::operator[] (this=0x8563f60, __k=@0x10) at
/usr/lib/gcc-lib/i386-slackware-linux/2.95.3/../../../../include/g++-3/stl_map.h:154
#2  0x0810e0ec in XvVideoOutput::Init (this=0x861fae8, width=720,
height=576, window_name=0xbe5ffa2c "MythTV", icon_name=0xbe5ffa2c
"MythTV", num_buffers=22, out_buffers=0x416e80c0, wid=0) at XJ.cpp:446
#3  0x080a8f00 in NuppelVideoPlayer::InitVideo (this=0x416e8008) at
NuppelVideoPlayer.cpp:305
#4  0x080ac003 in NuppelVideoPlayer::StartPlaying (this=0x416e8008) at
NuppelVideoPlayer.cpp:1564
#5  0x08100938 in SpawnDecode (param=0x416e8008) at tv_play.cpp:105
#6  0x40c6ce03 in pthread_start_thread (arg=0xbe5ffbe0) at manager.c:300
#7  0x40c6ce7f in pthread_start_thread_event (arg=0xbe5ffbe0) at
manager.c:324

Thread 11 (Thread 147466 (LWP 21165)):
#0  0x40dd18d6 in __libc_nanosleep () from /lib/libc.so.6
#1  0x00000000 in ?? ()

Thread 2 (Thread 32769 (LWP 21146)):
#0  0x40df9e82 in loser_poll (fds=0x83d38e4, nfds=1, timeout=2000) at
../sysdeps/unix/sysv/linux/poll.c:51
#1  0x40df9f4e in *__GI___poll (fds=0x83d38e4, nfds=138229988,
timeout=2000) at ../sysdeps/unix/sysv/linux/poll.c:78
#2  0x40c6cafe in __pthread_manager (arg=0xc9) at manager.c:145
#3  0x40c6ccf7 in __pthread_manager_event (arg=0x40c754c0) at
manager.c:242
Current language:  auto; currently c

Thread 1 (Thread 16384 (LWP 21116)):
#0  0x40dd18d6 in __libc_nanosleep () from /lib/libc.so.6
#1  0xffffffc0 in ?? ()
#2  0x080767f2 in PlaybackBox::play (this=0xbfffeedc, rec=0x83cd568) at
playbackbox.cpp:1260
#3  0x08076593 in PlaybackBox::selected (this=0xbfffeedc) at
playbackbox.cpp:1227
#4  0x080791a9 in PlaybackBox::keyPressEvent (this=0xbfffeedc,
e=0xbfffeb68) at playbackbox.cpp:1631
#5  0x4061ae33 in QWidget::event () from /usr/local/qt/lib/libqt-mt.so.3
#6  0x40586fa3 in QApplication::internalNotify () from
/usr/local/qt/lib/libqt-mt.so.3
#7  0x405867f9 in QApplication::notify () from
/usr/local/qt/lib/libqt-mt.so.3
#8  0x40531744 in QETWidget::translateKeyEvent () from
/usr/local/qt/lib/libqt-mt.so.3
#9  0x4052d65b in QApplication::x11ProcessEvent () from
/usr/local/qt/lib/libqt-mt.so.3
#10 0x40540687 in QEventLoop::processEvents () from
/usr/local/qt/lib/libqt-mt.so.3
#11 0x40599a4e in QEventLoop::enterLoop () from
/usr/local/qt/lib/libqt-mt.so.3
#12 0x4058720e in QApplication::enter_loop () from
/usr/local/qt/lib/libqt-mt.so.3
#13 0x4074b378 in QDialog::exec () from /usr/local/qt/lib/libqt-mt.so.3
#14 0x08061d5e in startPlayback () at main.cpp:62
#15 0x080621a7 in TVMenuCallback (data=0x839bfb0, selection=@0x83b5578) at
main.cpp:133
#16 0x400b055b in ThemedMenu::handleAction (this=0x83b5440,
action=@0x83c30bc) at themedmenu.cpp:1477
#17 0x400afaf3 in ThemedMenu::keyPressEvent (this=0x83b5440, e=0xbffff548)
at themedmenu.cpp:1394
#18 0x4061ae33 in QWidget::event () from /usr/local/qt/lib/libqt-mt.so.3
#19 0x40586fa3 in QApplication::internalNotify () from
/usr/local/qt/lib/libqt-mt.so.3
#20 0x405867f9 in QApplication::notify () from
/usr/local/qt/lib/libqt-mt.so.3
#21 0x40531744 in QETWidget::translateKeyEvent () from
/usr/local/qt/lib/libqt-mt.so.3
#22 0x4052d65b in QApplication::x11ProcessEvent () from
/usr/local/qt/lib/libqt-mt.so.3
#23 0x40540687 in QEventLoop::processEvents () from
/usr/local/qt/lib/libqt-mt.so.3
#24 0x40599a4e in QEventLoop::enterLoop () from
/usr/local/qt/lib/libqt-mt.so.3
#25 0x4058720e in QApplication::enter_loop () from
/usr/local/qt/lib/libqt-mt.so.3
#26 0x4074b378 in QDialog::exec () from /usr/local/qt/lib/libqt-mt.so.3
#27 0x080630f3 in RunMenu (themedir={static null = {static null = <same as
static member of an already seen type>, d = 0x83810a8, static shared_null
= 0x83810a8}, d = 0xbffff99c, static shared_null = 0x83810a8}) at
main.cpp:227
#28 0x080645ec in main (argc=1, argv=0xbffffa94) at main.cpp:354
44        pair(const _T1& __a, const _T2& __b) : first(__a), second(__b)
{}
Current language:  auto; currently c++

(gdb) thread apply all bt full

Thread 13 (Thread 180236 (LWP 21167)):
#0  0x40dd18d6 in __libc_nanosleep () from /lib/libc.so.6
No locals.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 12 (Thread 163851 (LWP 21166)):
#0  pair<unsigned char *const, _XImage *>::pair (this=0xbe5ff858,
__a=@0x10, __b=@0xbe5ff854) at
/usr/lib/gcc-lib/i386-slackware-linux/2.95.3/../../../../include/g++-3/stl_pair.h:44
        this = (pair<unsigned char *const,_XImage *> *) 0xbe5ff858
        __a = (unsigned char *&) @0x10: Cannot access memory at address
0x10

Bjorn




More information about the mythtv-dev mailing list