Bug #3631
Tvheadend crash upon start
100%
Description
Tvheadend crashes after reboot
Mar 15 07:50:03 tv tvheadend[15127]: CRASH: 0x45417b
Mar 15 07:50:03 tv tvheadend[15127]: CRASH: 0x4554f9
Mar 15 07:50:03 tv tvheadend[15127]: CRASH: 0x42e182
Mar 15 07:50:03 tv tvheadend[15127]: CRASH: __libc_start_main+0xf5 (/lib/x86_64-linux-gnu/libc.so.6)
History
Updated by Nihil Baxter over 8 years ago
Last build that didn't crash was 1559 for me, after that it crashes when connecting sat/ip or now its crashing after start...
Will provide backtrace if i get that managed without gui and if i have some time...
Updated by Nomen Quis over 8 years ago
Here is what I get:
[New Thread 0x7fffd77fe700 (LWP 10259)]
2016-03-15 10:43:51.337 [ INFO] linuxdvb: adapter added /dev/dvb/adapter1
2016-03-15 10:43:51.338 [ INFO] linuxdvb: adapter added /dev/dvb/adapter0
Thread 1 "tvheadend" received signal SIGSEGV, Segmentation fault.
0x00007ffff35cd006 in _strtoll_l_internal () from /usr/lib/libc.so.6
(gdb) where
#0 0x00007ffff35cd006 in __strtoll_l_internal () from /usr/lib/libc.so.6
#1 0x000055555562f023 in atol (_nptr=0xe <error: Cannot access memory at address 0xe> at /usr/include/stdlib.h:285
#2 prop_intsplit_from_str (intsplit=1000000, s=0xe <error: Cannot access memory at address 0xe> at src/prop.h:129
#3 prop_write_values (obj=obj@entry=0x555556798100, pl=<optimized out>, m=m@entry=0x5555563f5f60, optmask=optmask@entry=4, updated=updated@entry=0x0)
at src/prop.c:161
#4 0x0000555555627f30 in idnode_class_write_values (self=self@entry=0x555556798100, c=c@entry=0x5555563f5f60, optmask=optmask@entry=4,
idc=0x555555a00b20 <channel_class>, idc=0x555555a00b20 <channel_class> at src/idnode.c:1105
#5 0x000055555562cbf6 in idnode_write0 (self=self@entry=0x555556798100, c=c@entry=0x5555563f5f60, optmask=optmask@entry=4, dosave=dosave@entry=0)
at src/idnode.c:1184
#6 0x000055555564ded5 in channel_create0 (ch=0x555556798100, idc=idc@entry=0x555555a00b20 <channel_class>,
uuid=uuid@entry=0x5555563f5f88 "dbd5d203724eb6eb183f703b521b4c59", conf=conf@entry=0x5555563f5f60, name=name@entry=0x0) at src/channels.c:983
#7 0x000055555564f31b in channel_init () at src/channels.c:1117
#8 0x000055555562326f in main (argc=<optimized out>, argv=<optimized out> at src/main.c:1185
(gdb)
Hope this helps
Updated by g siviero over 8 years ago
Latest 4.1-1679~gf2fba6e does not start up for me too:
Mar 15 11:22:47 raspberrypi tvheadend[1432]: Starting Tvheadend: tvheadend. Mar 15 11:22:47 raspberrypi tvheadend[1438]: config: backup: migrating config from 4.1-1576~g52ed773 (running 4.1-1679~gf2fba6e) Mar 15 11:22:47 raspberrypi systemd[1]: Started (null). Mar 15 11:22:47 raspberrypi tvheadend[1438]: config: backup: running, output file /home/hts/.hts/tvheadend/backup/4.1-1576~g52ed773.tar.bz2 Mar 15 11:22:47 raspberrypi tvheadend[1438]: spawn: Executing "/bin/tar" Mar 15 11:22:49 raspberrypi systemd[1]: Reloading. Mar 15 11:22:49 raspberrypi tvheadend[1438]: config: backup: completed Mar 15 11:22:49 raspberrypi tvheadend[1438]: config: loaded Mar 15 11:22:49 raspberrypi tvheadend[1438]: config: scanfile (re)initialization with path <none> Mar 15 11:22:50 raspberrypi tvheadend[1438]: linuxdvb: adapter added /dev/dvb/adapter3 Mar 15 11:22:50 raspberrypi tvheadend[1438]: linuxdvb: adapter added /dev/dvb/adapter2 Mar 15 11:22:50 raspberrypi tvheadend[1438]: linuxdvb: adapter added /dev/dvb/adapter1 Mar 15 11:22:50 raspberrypi tvheadend[1438]: linuxdvb: adapter added /dev/dvb/adapter0
after the last line the tvheadend process "disappears".
Updated by Hanspeter Müller over 8 years ago
1672 works, 1673 crashes, so my razor-sharp-logic deduces, this has to be the culprit
commit ff0615305dbdc3546e385fa6bce2a682aad9964f
Author: Jaroslav Kysela <[email protected]>
Date: Sun Mar 13 18:19:55 2016 +0100
htsmsg: improve allocation for name and strings (merge allocations)
Updated by Meindert Oldenburger over 8 years ago
After update yesterday I discoffered the crash also! Going back to a previous version solved the issue for me
Updated by John Doe over 8 years ago
Updated by Jaroslav Kysela over 8 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|f754e0cd91a6b0d4859cfab9cf99f8aedc11472f.