[mythtv] mythbackend program marker SEGF

Andreas Sundstrom sunkan at zappa.cx
Fri May 9 23:23:15 EDT 2003


If I watch LiveTV and almost instantly hit either Q or Z...

- Z to skip to next program marker (beginning/ending of commercial break)
- Q to skip back to previous program marker

...and then try to escape "pressing ESC button" mythbackend segfaults.

Just let me know if I can help in any way /Sunkan

gdb output follows:

sunkan at sunkan:~$ gdb /usr/local/bin/mythbackend
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 "i686-pc-linux-gnu"...
(gdb) r
Starting program: /usr/local/bin/mythbackend
[New Thread 16384 (LWP 14068)]
Starting up as the master server.
Probed: /dev/v4l/video0 - Television
Probed: /dev/v4l/video0 - Composite1
Probed: /dev/v4l/video0 - S-Video
Probed: /dev/v4l/video0 - Composite3
External channel change: echo 4
4
VIDIOCSPICT: Invalid argument
VIDIOCSPICT: Invalid argument
VIDIOCSPICT: Invalid argument
[New Thread 32769 (LWP 14090)]
[New Thread 16386 (LWP 14091)]
[New Thread 32771 (LWP 14092)]
[New Thread 49156 (LWP 14093)]
[New Thread 65541 (LWP 14094)]
[New Thread 81926 (LWP 14095)]
[New Thread 98311 (LWP 14096)]
[New Thread 114696 (LWP 14097)]
2003-05-09 22:16:06 adding: sunkan as a player 1
2003-05-09 22:16:09 adding: sunkan as a player 0
[New Thread 131081 (LWP 14111)]
2003-05-09 22:16:09 adding: sunkan as a player 0
2003-05-09 22:16:09 adding: sunkan as a remote ringbuffer
[New Thread 147466 (LWP 14112)]
Changing from None to WatchingLiveTV
[New Thread 163851 (LWP 14113)]
[New Thread 180236 (LWP 14114)]
[New Thread 196621 (LWP 14115)]
Changing from WatchingLiveTV to None

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 98311 (LWP 14096)]
0x08063a32 in RingBuffer::StopReads() (this=0x0) at ../../libs/libmythtv/RingBuffer.h:49
49          void StopReads(void) { stopreads = true; }
(gdb) thread apply all bt full

Thread 9 (Thread 114696 (LWP 14097)):
#0  0x40a598ba in sigsuspend () from /lib/libc.so.6
No locals.
#1  0x40909298 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
No symbol table info available.
#2  0x40905d2b in pthread_cond_wait at GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x40745b82 in QWaitCondition::wait(unsigned long) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4  0x080785a9 in ProcessRequestThread::run() (this=0x8325558) at mainserver.cpp:57
No locals.
#5  0x4048e0c8 in QProc::~QProc() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6  0x40906da0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x40906ea2 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 8 (Thread 98311 (LWP 14096)):
#0  0x08063a32 in RingBuffer::StopReads() (this=0x0) at ../../libs/libmythtv/RingBuffer.h:49
No locals.
#1  0x080b16fe in TVRec::PauseRingBuffer() (this=0x831c4b0) at tv_rec.cpp:1765
No locals.
#2  0x08062a93 in EncoderLink::PauseRingBuffer() (this=0x831c5a8) at encoderlink.cpp:495
No locals.
#3  0x080710ac in MainServer::HandleRecorderQuery(QStringList&, QStringList&, PlaybackSock*) (this=0x8323048, slist=@0x8322e94, 
commands=@0x8322e98,
     pbs=0x831d100) at mainserver.cpp:1218
         recnum = 1
         iter = {node = 0x8322c48}
         enc = (EncoderLink *) 0x831c5a8
         command = {static null = {static null = <same as static member of an already seen type>, d = 0x83097c0, static shared_null 
= 0x83097c0},
   d = 0x831d8f0, static shared_null = 0x83097c0}
         retlist = {<QValueList<QString>> = {sh = 0x831dfc0}, <No data fields>}
#4  0x080683ae in MainServer::ProcessRequest(QStringList&, QStringList&, PlaybackSock*) (this=0x8323048, listline=@0x8322e94, 
tokens=@0x8322e98,
     pbs=0x831d100) at mainserver.cpp:240
         command = {static null = {static null = <same as static member of an already seen type>, d = 0x83097c0, static shared_null 
= 0x83097c0},
   d = 0x831cac0, static shared_null = 0x83097c0}
#5  0x080785de in ProcessRequestThread::run() (this=0x8322e88) at mainserver.cpp:61
No locals.
#6  0x4048e0c8 in QProc::~QProc() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#7  0x40906da0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#8  0x40906ea2 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 7 (Thread 81926 (LWP 14095)):
#0  0x40a598ba in sigsuspend () from /lib/libc.so.6
No locals.
#1  0x40909298 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
No symbol table info available.
#2  0x40905d2b in pthread_cond_wait at GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x40745b82 in QWaitCondition::wait(unsigned long) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4  0x080785a9 in ProcessRequestThread::run() (this=0x8325130) at mainserver.cpp:57
No locals.
#5  0x4048e0c8 in QProc::~QProc() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6  0x40906da0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x40906ea2 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 6 (Thread 65541 (LWP 14094)):
#0  0x40a598ba in sigsuspend () from /lib/libc.so.6
No locals.
#1  0x40909298 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
No symbol table info available.
#2  0x40905d2b in pthread_cond_wait at GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x40745b82 in QWaitCondition::wait(unsigned long) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4  0x080785a9 in ProcessRequestThread::run() (this=0x8322c78) at mainserver.cpp:57
No locals.
#5  0x4048e0c8 in QProc::~QProc() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6  0x40906da0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x40906ea2 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 5 (Thread 49156 (LWP 14093)):
#0  0x40a598ba in sigsuspend () from /lib/libc.so.6
No locals.
#1  0x40909298 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
No symbol table info available.
#2  0x40905d2b in pthread_cond_wait at GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x40745b82 in QWaitCondition::wait(unsigned long) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4  0x080785a9 in ProcessRequestThread::run() (this=0x831c0a8) at mainserver.cpp:57
No locals.
#5  0x4048e0c8 in QProc::~QProc() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6  0x40906da0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x40906ea2 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 4 (Thread 32771 (LWP 14092)):
#0  0x40adf786 in __libc_nanosleep () at __libc_nanosleep:-1
No locals.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 3 (Thread 16386 (LWP 14091)):
#0  0x40adf786 in __libc_nanosleep () at __libc_nanosleep:-1
No locals.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 2 (Thread 32769 (LWP 14090)):
#0  0x40b05e49 in poll () from /lib/libc.so.6
No locals.
#1  0x409069ae in __pthread_manager () from /lib/libpthread.so.0
No symbol table info available.
#2  0x40906bfa in __pthread_manager_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 1 (Thread 16384 (LWP 14068)):
#0  0x40b078f1 in __select () at __select:-1
No locals.
#1  0x408f54e0 in typeinfo for QMotifStyle () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2  0x404ad226 in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#3  0x404ad0c8 in QEventLoop::exec() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4  0x40499661 in QApplication::exec() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#5  0x08065a9c in main (argc=1, argv=0xbffffcb4) at main.cpp:239
         a = <incomplete type>
         logfile = {static null = {static null = <same as static member of an already seen type>, d = 0x83097c0, static shared_null 
= 0x83097c0},
   d = 0x830dd88, static shared_null = 0x83097c0}
         pidfile = {static null = {static null = <same as static member of an already seen type>, d = 0x83097c0, static shared_null 
= 0x83097c0},
   d = 0x830dda0, static shared_null = 0x83097c0}
         daemonize = false
         logfd = -1
         pidfs = {<basic_ostream<char,std::char_traits<char> >> = {<basic_ios<char,std::char_traits<char> >> = {<ios_base> = {static 
boolalpha = 1,
         static dec = 2, static fixed = 4, static hex = 8, static internal = 16, static left = 32, static oct = 64, static right = 128,
         static scientific = 256, static showbase = 512, static showpoint = 1024, static showpos = 2048, static skipws = 4096, 
static unitbuf = 8192,
         static uppercase = 16384, static adjustfield = 176, static basefield = 74, static floatfield = 260, static badbit = 1, 
static eofbit = 2,
         static failbit = 4, static goodbit = 0, static app = Internal: global symbol `_ZNSt8ios_base3appE' found in 
../../../../gcc-3.2.2/libstdc++-v3/src/ios.cc psymtab but not in symtab.
_ZNSt8ios_base3appE may be an inlined function, or may be a template function
(if a template, try specifying an instantiation: _ZNSt8ios_base3appE<type>).
0x08063a32      49          void StopReads(void) { stopreads = true; }
(gdb)



More information about the mythtv-dev mailing list