[mythtv] mythbackend random segmentation fault

Jan Tiri jan at tiri.be
Mon Jun 18 21:53:17 UTC 2007


Hi,

According to the instructions on Debugging with GDB
(http://www.mythtv.org/docs/mythtv-HOWTO-22.html) please find the
requested information below. If there is a better way to register bugs,
please let me know.

I experience segmentation faults when I start mythbackend. If it does
start (sometimes directly, mostly after the third time) it crashes after
doing some manipulations, but rarely during watching life tv.

I followed the GDB procedure and was able to capture the gdb.txt output
after a startup. If I remember well, mythtv worked fine before I
replaced my bt878 card with a PVR150.

Kind regards,
Jan

mythtv at primus ~ $ uname -a
Linux primus 2.6.20-gentoo-r8 #2 PREEMPT Wed Jun 13 21:21:00 CEST 2007
i686 AMD Athlon(TM) XP 2000+ AuthenticAMD GNU/Linux

mythtv at primus ~ $ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 8
model name      : AMD Athlon(TM) XP 2000+
stepping        : 0
cpu MHz         : 1670.495
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow ts
bogomips        : 3343.47
clflush size    : 32

mythtv at primus ~ $ emerge -pv mythtv (compiled with debug)
[ebuild   R   ] media-tv/mythtv-0.20.1_p13344  USE="alsa dts dvb dvd
ivtv mmx perl (-altivec) -autostart -backendonly -crciprec -dbox2 -debug
-freebox -frontendonly -hdhomerun -ieee1394 -jack -joystick -lcd -lirc
-opengl -vorbis -xvmc" VIDEO_CARDS="-i810 -nvidia -via" 0 kB

mythtv at primus ~ $ gdb mythbackend -x gdbcommands
GNU gdb 6.4
Copyright 2005 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"...(no debugging symbols
found)
Using host libthread_db library "/lib/libthread_db.so.1".

(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1247500608 (LWP 15597)]
[New Thread -1252119664 (LWP 15601)]
[New Thread -1260512368 (LWP 15603)]
[New Thread -1268905072 (LWP 15605)]
[New Thread -1277297776 (LWP 15607)]
[New Thread -1285690480 (LWP 15608)]
[New Thread -1294083184 (LWP 15609)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1247500608 (LWP 15597)]
0xb57eb218 in _db_return_ () from /usr/lib/libmysqlclient.so.15

Thread 7 (Thread -1294083184 (LWP 15609)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb5e3ecc6 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#2  0xb5e3eaef in sleep () from /lib/libc.so.6
No symbol table info available.
#3  0xb77240f4 in JobQueue::RunQueueProcesser () from
/usr/lib/libmythtv-0.20.1.so.0
No symbol table info available.
#4  0xb772412b in JobQueue::QueueProcesserThread () from
/usr/lib/libmythtv-0.20.1.so.0
No symbol table info available.
#5  0xb5ff34ab in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0xb5e7128e in clone () from /lib/libc.so.6
No symbol table info available.

Thread 6 (Thread -1285690480 (LWP 15608)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb5e3ecc6 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#2  0xb5e3eaef in sleep () from /lib/libc.so.6
No symbol table info available.
#3  0x08067f90 in ?? ()
No symbol table info available.
#4  0x0806816f in ?? ()
No symbol table info available.
#5  0xb5ff34ab in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0xb5e7128e in clone () from /lib/libc.so.6
No symbol table info available.

Thread 5 (Thread -1277297776 (LWP 15607)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb5e6a0a9 in setpriority () from /lib/libc.so.6
No symbol table info available.
#2  0x080f7416 in QStringList::QStringList ()
No symbol table info available.
#3  0xb5ff34ab in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0xb5e7128e in clone () from /lib/libc.so.6
No symbol table info available.

Thread 4 (Thread -1268905072 (LWP 15605)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb5ff7b7c in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
No symbol table info available.
#2  0xb671c093 in QWaitCondition::wait () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#3  0xb7ba1105 in TVRec::RunTV () from /usr/lib/libmythtv-0.20.1.so.0
No symbol table info available.
#4  0xb7ba36ab in TVRec::EventThread () from /usr/lib/libmythtv-0.20.1.so.0
No symbol table info available.
#5  0xb5ff34ab in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0xb5e7128e in clone () from /lib/libc.so.6
No symbol table info available.

Thread 3 (Thread -1260512368 (LWP 15603)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb5ff7b7c in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
No symbol table info available.
#2  0xb671c093 in QWaitCondition::wait () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#3  0xb7b5a56e in EITScanner::RunEventLoop () from
/usr/lib/libmythtv-0.20.1.so.0
No symbol table info available.
#4  0xb7b5b5ef in EITScanner::SpawnEventLoop () from
/usr/lib/libmythtv-0.20.1.so.0
No symbol table info available.
#5  0xb5ff34ab in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0xb5e7128e in clone () from /lib/libc.so.6
No symbol table info available.

Thread 2 (Thread -1252119664 (LWP 15601)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb5e3ecc6 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#2  0xb5e3eaef in sleep () from /lib/libc.so.6
No symbol table info available.
#3  0x080fc853 in QMap<QString, bool>::operator[] ()
No symbol table info available.
#4  0x080fe9df in QMap<QString, bool>::operator[] ()
No symbol table info available.
#5  0xb5ff34ab in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0xb5e7128e in clone () from /lib/libc.so.6
No symbol table info available.

Thread 1 (Thread -1247500608 (LWP 15597)):
#0  0xb57eb218 in _db_return_ () from /usr/lib/libmysqlclient.so.15
No symbol table info available.
#1  0xbfe8bec8 in ?? ()
No symbol table info available.
#2  0xbfe8bec4 in ?? ()
No symbol table info available.
#3  0xbfe8bec0 in ?? ()
No symbol table info available.
#4  0xb58cb838 in sha_const_key () from /usr/lib/libmysqlclient.so.15
No symbol table info available.
#5  0x00000574 in ?? ()
No symbol table info available.
#6  0x00e8bec4 in ?? ()
No symbol table info available.
#7  0x00000000 in ?? ()
No symbol table info available.
(gdb) quit




More information about the mythtv-dev mailing list