Hello,
I'm about fixing this old BUG exiting VDR on every 1st recording start:
# gdb attach <pid of vdr>
Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0x9c801b40 (LWP 8182)]
0x08136f6a in cFrameDetector::Analyze(unsigned char const*, int) ()
(gdb) bt
#0 0x08136f6a in cFrameDetector::Analyze(unsigned char const*, int) ()
#1 0x081295b2 in cRecorder::Action() ()
#2 0x08165e13 in cThread::StartThread(cThread*) ()
#3 0xb7693d97 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#4 0xb73addfe in clone () from /lib/i386-linux-gnu/libc.so.6
(gdb) bt full
#0 0x08136f6a in cFrameDetector::Analyze(unsigned char const*, int) ()
No symbol table info available.
#1 0x081295b2 in cRecorder::Action() ()
No symbol table info available.
#2 0x08165e13 in cThread::StartThread(cThread*) ()
No symbol table info available.
#3 0xb7693d97 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#4 0xb73addfe in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
I've installed the vdr-dbg debian package to provide debugging symbols
to vdr gdb bt full but there's no README included how to use it.
# dpkg -L vdr-dbg
/.
/etc
/etc/init
/etc/init/vdr-dbg.conf ?*
/etc/init/vdr-exit-other.override ?*
/usr
/usr/lib
/usr/lib/debug
/usr/lib/debug/.build-id
/usr/lib/debug/.build-id/10
/usr/lib/debug/.build-id/10/e8b576883246ca77ad6f40e2c26053ba2d357c.debug
/usr/lib/debug/.build-id/86
/usr/lib/debug/.build-id/86/d9bba0c546ad5d7429259292b259103aabba03.debug
/usr/lib/debug/.build-id/6d
/usr/lib/debug/.build-id/6d/6631fca1b8d4962b2725add0c729fdeba6aa40.debug
/usr/share
/usr/share/doc
/usr/share/doc/vdr-dbg
/usr/share/doc/vdr-dbg/copyright
/usr/share/doc/vdr-dbg/changelog.Debian.gz
/usr/share/doc/vdr-dbg/changelog.gz
/usr/bin
/usr/bin/vdr-dbg
*Does this package interfere with my production vdr installation?
Can I just replace /usr/bin/vdr with /usr/bin/vdr-dbg in runvdr script?
There's only a gdb beginners guide in the wiki:
http://www.vdr-wiki.de/wiki/index.php/Gdb
http://www.vdr-wiki.de/wiki/index.php?title=Spezial%3ASuche&search=vdr-dbg&go=Seite
?
Y
tom