Bug #903
tvheadend crashes
0%
Description
I am using the xbmc pvr ppa. I am encountering a crash right from the start. I have found that if I delete the epgdb file, then it starts normally and it creates a new db. However if I restart tvheadend it will crash again.
Log: http://paste.ubuntu.com/891490/
[INFO]:dvb: Found adapter /dev/dvb/adapter0 (DiBcom 7000PC) via USB (480 Mbit/s)
[INFO]:dvb: Found adapter /dev/dvb/adapter1 (DiBcom 7000PC) via USB (480 Mbit/s)
[NOTICE]:EPG: Injected 4745 event from disk database
[INFO]:dvr: Creating new configuration ''
[ALERT]:CRASH: Signal: 11 in PRG: tvheadend (2.12.99~pulse-6) [34817c47be6dc5fa5e3e0313ca116b92d05614a1] CWD: /home/xavier/.hts/tvheadend
[ALERT]:CRASH: Fault address (nil) (Address not mapped)
[ALERT]:CRASH: Loaded libraries: /lib/i386-linux-gnu/librt.so.1 /lib/i386-linux-gnu/libdl.so.2 /usr/lib/i386-linux-gnu/libavahi-common.so.3 /usr/lib/i386-linux-gnu/libavahi-client.so.3 /lib/i386-linux-gnu/libcrypto.so.1.0.0 /lib/i386-linux-gnu/libpthread.so.0 /lib/i386-linux-gnu/libc.so.6 /lib/ld-linux.so.2 /lib/i386-linux-gnu/libdbus-1.so.3 /lib/i386-linux-gnu/libz.so.1 /lib/i386-linux-gnu/libnss_compat.so.2 /lib/i386-linux-gnu/libnsl.so.1 /lib/i386-linux-gnu/libnss_nis.so.2 /lib/i386-linux-gnu/libnss_files.so.2
[ALERT]:CRASH: Register dump [19]: 00000033 00000000 0000007b 0000007b 4f68f930 4f68f5ac 082eb810 bfa4a0bc 08557d68 08557630 08558188 00000000 0000000e 00000004 b75236c8 00000073 00010206 bfa4a0bc 0000007b
[ALERT]:CRASH: STACKTRACE
[ALERT]:CRASH: ??:0 0x8068022
[ALERT]:CRASH: __kernel_rt_sigreturn+0x0 ()
[ALERT]:CRASH: ??:0 0xb75236c8
[ALERT]:CRASH: ??:0 0x806cbe4
[ALERT]:CRASH: ??:0 0x806ced2
[ALERT]:CRASH: ??:0 0x806cf81
[ALERT]:CRASH: ??:0 0x806f53a
[ALERT]:CRASH: ??:0 0x806f9d3
[ALERT]:CRASH: ??:0 0x804d60f
[ALERT]:CRASH: ??:0 0x806fad0
[ALERT]:CRASH: ??:0 0x806db51
[ALERT]:CRASH: ??:0 0x804b575
[ALERT]:CRASH: __libc_start_main+0xf3 (/lib/i386-linux-gnu/libc.so.6)
[ALERT]:CRASH: ??:0 0x804b7c5
GDB: http://paste.ubuntu.com/891495/
[Thread debugging using libthread_db enabled]
[New Thread 0xb7bbeb70 (LWP 4378)]
[New Thread 0xb73bdb70 (LWP 4379)]
[New Thread 0xb6bbcb70 (LWP 4381)]
[New Thread 0xb63bbb70 (LWP 4383)]
[New Thread 0xb5bbab70 (LWP 4384)]
[New Thread 0xb53b9b70 (LWP 4386)]
[New Thread 0xb4bb8b70 (LWP 4387)]
[New Thread 0xb438cb70 (LWP 4388)]Program received signal SIGSEGV, Segmentation fault.
0xb7d7c6c8 in ?? () from /lib/i386-linux-gnu/libc.so.6Thread 9 (Thread 0xb438cb70 (LWP 4388)):
#0 0xb7fdf424 in __kernel_vsyscall ()
#1 0xb7de7619 in __lll_lock_wait () from /lib/i386-linux-gnu/libpthread.so.0
#2 0xb7de2f7d in _L_lock_708 () from /lib/i386-linux-gnu/libpthread.so.0
#3 0xb7de2dc3 in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#4 0x080638ad in ?? ()
#5 0xb7de0d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6 0xb7d2f46e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind furtherThread 8 (Thread 0xb4bb8b70 (LWP 4387)):
#0 0xb7fdf424 in __kernel_vsyscall ()
#1 0xb7d2ffb6 in epoll_wait () from /lib/i386-linux-gnu/libc.so.6
#2 0x08082be3 in ?? ()
#3 0xb7de0d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#4 0xb7d2f46e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind furtherThread 7 (Thread 0xb53b9b70 (LWP 4386)):
#0 0xb7fdf424 in __kernel_vsyscall ()
#1 0xb7de7a8b in read () from /lib/i386-linux-gnu/libpthread.so.0
#2 0x080848da in ?? ()
#3 0xb7de0d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#4 0xb7d2f46e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind furtherThread 6 (Thread 0xb5bbab70 (LWP 4384)):
#0 0xb7fdf424 in __kernel_vsyscall ()
#1 0xb7d2ffb6 in epoll_wait () from /lib/i386-linux-gnu/libc.so.6
#2 0x08082be3 in ?? ()
#3 0xb7de0d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#4 0xb7d2f46e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind furtherThread 5 (Thread 0xb63bbb70 (LWP 4383)):
#0 0xb7fdf424 in __kernel_vsyscall ()
#1 0xb7de7a8b in read () from /lib/i386-linux-gnu/libpthread.so.0
#2 0x080848da in ?? ()
#3 0xb7de0d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#4 0xb7d2f46e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind furtherThread 4 (Thread 0xb6bbcb70 (LWP 4381)):
#0 0xb7fdf424 in __kernel_vsyscall ()
#1 0xb7d2ffb6 in epoll_wait () from /lib/i386-linux-gnu/libc.so.6
#2 0x0804d93d in ?? ()
#3 0xb7de0d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#4 0xb7d2f46e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind furtherThread 3 (Thread 0xb73bdb70 (LWP 4379)):
#0 0xb7fdf424 in __kernel_vsyscall ()
#1 0xb7de4a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2 0x0805ab44 in ?? ()
#3 0xb7de0d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#4 0xb7d2f46e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind furtherThread 2 (Thread 0xb7bbeb70 (LWP 4378)):
#0 0xb7fdf424 in __kernel_vsyscall ()
#1 0xb7de7a8b in read () from /lib/i386-linux-gnu/libpthread.so.0
#2 0x0805388e in ?? ()
#3 0x08051c6d in ?? ()
#4 0x08051f93 in ?? ()
#5 0x0805285c in ?? ()
#6 0xb7de0d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#7 0xb7d2f46e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind furtherThread 1 (Thread 0xb7bfcaf0 (LWP 4375)):
#0 0xb7d7c6c8 in ?? () from /lib/i386-linux-gnu/libc.so.6
#1 0x0806cbe4 in ?? ()
#2 0x0806ced2 in ?? ()
#3 0x0806cf81 in ?? ()
#4 0x0806f53a in ?? ()
#5 0x0806f9d3 in ?? ()
#6 0x0804d60f in ?? ()
#7 0x0806fad0 in ?? ()
#8 0x0806db51 in ?? ()
#9 0x0804b575 in ?? ()
#10 0xb7c75113 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#11 0x0804b7c5 in ?? ()
EPGDB: see the file attached
Files
History
Updated by ronx ronx over 12 years ago
It happened not because of the update of the package, but because I was testing linux 3.3. I am back on linux 3.0, now I don't encounter the bug anymore.
Updated by Sébastien Aubry over 12 years ago
Same bug here under XBMCBuntu Eden:
May 20 10:00:09 pchc tvheadend[2046]: dvb: Found adapter /dev/dvb/adapter0 (DiBcom 3000MC/P) via USB (480 Mbit/s) May 20 10:00:09 pchc tvheadend[2046]: dvb: Found adapter /dev/dvb/adapter1 (DiBcom 3000MC/P) via USB (480 Mbit/s) May 20 10:00:09 pchc tvheadend[2046]: EPG: Injected 4604 event from disk database May 20 10:00:09 pchc tvheadend[2046]: dvr: Creating new configuration '' May 20 10:00:09 pchc tvheadend[2046]: CRASH: Signal: 11 in PRG: tvheadend (2.12.99~pulse-6) [08b1816f3f6240045cdf74135e93ae97160c88ad] CWD: /home/spontex May 20 10:00:09 pchc tvheadend[2046]: CRASH: Fault address (nil) (Address not mapped) May 20 10:00:09 pchc tvheadend[2046]: CRASH: Loaded libraries: /lib/i386-linux-gnu/librt.so.1 /lib/i386-linux-gnu/libdl.so.2 /usr/lib/i386-linux-gnu/libavahi-common.so.3 /usr/lib/i386-linux-gnu/libavahi-client.so.3 /lib/i386-linux-gnu/libcrypto.so.1.0.0 /lib/i386-linux-gnu/libpthread.so.0 /lib/i386-linux-gnu/libc.so.6 /lib/ld-linux.so.2 /lib/i386-linux-gnu/libdbus-1.so.3 /lib/i386-linux-gnu/libz.so.1 /lib/i386-linux-gnu/libnss_compat.so.2 /lib/i386-linux-gnu/libnsl.so.1 /lib/i386-linux-gnu/libnss_nis.so.2 /lib/i386-linux-gnu/libnss_files.so.2 May 20 10:00:09 pchc tvheadend[2046]: CRASH: Register dump [19]: 00000033 00000000 0000007b 0000007b 4fbd8108 4fbd6bf0 b6101948 bfb5632c b2ac2ac8 b2abf6a8 b2ac0800 00000000 0000000e 00000004 b74acecf 00000073 00010283 bfb5632c 0000007b May 20 10:00:09 pchc tvheadend[2046]: CRASH: STACKTRACE May 20 10:00:09 pchc tvheadend[2046]: CRASH: ??:0 0x8068022 May 20 10:00:09 pchc tvheadend[2046]: CRASH: __kernel_rt_sigreturn+0x0 () May 20 10:00:09 pchc tvheadend[2046]: CRASH: ??:0 0xb74acecf May 20 10:00:09 pchc tvheadend[2046]: CRASH: ??:0 0x806cbe4 May 20 10:00:09 pchc tvheadend[2046]: CRASH: ??:0 0x806ced2 May 20 10:00:09 pchc tvheadend[2046]: CRASH: ??:0 0x806cf81 May 20 10:00:09 pchc tvheadend[2046]: CRASH: ??:0 0x806f53a May 20 10:00:09 pchc tvheadend[2046]: CRASH: ??:0 0x806f9d3 May 20 10:00:09 pchc tvheadend[2046]: CRASH: ??:0 0x804d60f May 20 10:00:09 pchc tvheadend[2046]: CRASH: ??:0 0x806fad0 May 20 10:00:09 pchc tvheadend[2046]: CRASH: ??:0 0x806db51 May 20 10:00:09 pchc tvheadend[2046]: CRASH: ??:0 0x804b575 May 20 10:00:09 pchc tvheadend[2046]: CRASH: __libc_start_main+0xf3 (/lib/i386-linux-gnu/libc.so.6) May 20 10:00:09 pchc tvheadend[2046]: CRASH: ??:0 0x804b7c5 May 20 10:00:09 pchc kernel: [ 1815.543775] tvheadend[2046]: segfault at 0 ip b74acecf sp bfb5632c error 4 in libc-2.13.so[b7398000+178000]
Deleting the ~/.hts/tvheadend/epgdb file solves this bug.
I can restart Tvheadend several times before this bug happens again.
Updated by Claudio Meldini over 12 years ago
hello, same error:
----i resolved by deleting the epgdb file, but it keeps crashing, and i have to delete the file every reboot (xbmcbuntu xbmc eden - tvheadend 2.12.99~pulse-6) or every tvheadend restart (without reboot).
----i tried to make autorecordings from tab "electronic program guide - create autorec" and tab "digital video recorder - automatic recorder - add entry" without success (tv headend crash, i must delete file epgdb)
----i tried create autorec from channels with only eit (not xmltv) and with only xmltv (no eit) without success (tv headend crash, i must delete file epgdb)
----i tried create autorec with user "*" and user "admin" (both have all permission in tab "configuration - access control") without success (tv headend crash, i must delete file epgdb)
----i tried create a lot of manual rec from tab "electronic program guide" and with xbmc with success
Updated by Adam Sutton over 12 years ago
- Category set to EPG
- Status changed from New to Fixed
EPG code has been re-written this has possibly been solved, if you still have problems please can you re-submit.