Bug #3950
Tvh sat>ip server crash
100%
Description
If I activate the sat>ip server and try to play something with a client it crash immediately.
Ubuntu 16.04/Tvh latest
```tvheadend26024: CRASH: Signal: 6 in PRG: /usr/bin/tvheadend (4.1-2190~gc53ee12) [385730f0f63ff7d363d2d98ac12bf3699b4309d5] CWD: /
tvheadend26024: CRASH: Fault address 0x6f000065a8 (N/A)
tvheadend26024: CRASH: Loaded libraries: /usr/lib/x86_64-linux-gnu/libdvbcsa.so.1 /lib/x86_64-linux-gnu/libssl.so.1.0.0 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/x86_64-linux-gnu/libz.so.1 /usr/lib/x86_64-linux-gnu/libavahi-common.so.3 /usr/lib/x86_64-linux-gnu/libavahi-client.so.3 /lib/x86_64-linux-gnu/libdbus-1.so.3 /lib/x86_64-linux-gnu/libdl.so.2 /lib/x86_64-linux-gnu/libpthread.so.0 /lib/x86_64-linux-gnu/libm.so.6 /lib/x86_64-linux-gnu/librt.so.1 /usr/lib/x86_64-linux-gnu/libva.so.1 /usr/lib/x86_64-linux-gnu/libva-drm.so.1 /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /lib/x86_64-linux-gnu/libc.so.6 /lib/x86_64-linux-gnu/libsystemd.so.0 /lib64/ld-linux-x86-64.so.2 /usr/lib/x86_64-linux-gnu/libdrm.so.2 /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib/x86_64-linux-gnu/libselinux.so.1 /lib/x86_64-linux-gnu/liblzma.so.5 /lib/x86_64-linux-gnu/libgcrypt.so.20 /lib/x86_64-linux-gnu/libpcre.so.3 /lib/x86_64-linux-gnu/libgpg-error.so.0 /lib/x86_64-linux-gnu/libnss_compat.so.2 /lib/x86_64-linux-gnu/libnsl.so.1 /lib/x86_64-linux-gnu/libns
tvheadend26024: CRASH: Register dump [23]: 00007f9973fff70000000000000000210000000000000008000000000000020200000000000000c800000000ffffffff8000000000000000000000000000000000000000000065a800000000000067d000007f9973ffe84000007f9973ffe8400000000000000006000000000000000000007f99bcd2f41800007f9973ffe28800007f99bcd2f4180000000000000202002b00000000003300000000000000000000000000000000fffffffe7ffbba130000000000000000
tvheadend26024: CRASH: STACKTRACE
tvheadend26024: CRASH: ??:0 0x560091331e5d
tvheadend26024: CRASH: ??:0 0x7f99bdd863d0
tvheadend26024: CRASH: gsignal+0x38 (/lib/x86_64-linux-gnu/libc.so.6)
tvheadend26024: CRASH: abort+0x16a (/lib/x86_64-linux-gnu/libc.so.6)
tvheadend26024: CRASH: ??:0 0x5600913040e7
tvheadend26024: CRASH: ??:0 0x560091305b47
tvheadend26024: CRASH: ??:0 0x560091305302
tvheadend26024: CRASH: ??:0 0x560091305f33
tvheadend26024: CRASH: ??:0 0x560091306071
tvheadend26024: CRASH: ??:0 0x5600912fe91d
tvheadend26024: CRASH: ??:0 0x5600912fa255
tvheadend26024: CRASH: ??:0 0x7f99bdd7c6fa```
If I try to disable the satip server it crash also
```tvheadend28904: satips: SAT>IP Server shutdown
tvheadend28904: CRASH: Signal: 11 in PRG: /usr/bin/tvheadend (4.1-2198~g06207f2) [385730f0f63ff7d363d2d98ac12bf3699b4309d5] CWD: /
tvheadend28904: CRASH: Fault address (nil) (N/A)
tvheadend28904: CRASH: Loaded libraries: /usr/lib/x86_64-linux-gnu/libdvbcsa.so.1 /lib/x86_64-linux-gnu/libssl.so.1.0.0 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/x86_64-linux-gnu/libz.so.1 /usr/lib/x86_64-linux-gnu/libavahi-common.so.3 /usr/lib/x86_64-linux-gnu/libavahi-client.so.3 /lib/x86_64-linux-gnu/libdbus-1.so.3 /lib/x86_64-linux-gnu/libdl.so.2 /lib/x86_64-linux-gnu/libpthread.so.0 /lib/x86_64-linux-gnu/libm.so.6 /lib/x86_64-linux-gnu/librt.so.1 /usr/lib/x86_64-linux-gnu/libva.so.1 /usr/lib/x86_64-linux-gnu/libva-drm.so.1 /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /lib/x86_64-linux-gnu/libc.so.6 /lib/x86_64-linux-gnu/libsystemd.so.0 /lib64/ld-linux-x86-64.so.2 /usr/lib/x86_64-linux-gnu/libdrm.so.2 /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib/x86_64-linux-gnu/libselinux.so.1 /lib/x86_64-linux-gnu/liblzma.so.5 /lib/x86_64-linux-gnu/libgcrypt.so.20 /lib/x86_64-linux-gnu/libpcre.so.3 /lib/x86_64-linux-gnu/libgpg-error.so.0 /lib/x86_64-linux-gnu/libnss_compat.so.2 /lib/x86_64-linux-gnu/libnsl.so.1 /lib/x86_64-linux-gnu/libns
tvheadend28904: CRASH: Register dump [23]: 0000000000000000000056510c480ad000007fa1c5112b7800007fa1c5112b280000d5f2d3741978000000000000014000007fa1c5112b2000007fa1c5112b7800007fa1c5112b200000000000000000000056510e62ee0000007fa1c5112b780000000000000091000056510e62ee0000007fa1b37fd77000007fa1b37fd72000007fa1c4dcd58b0000000000010206002b0000000000330000000000000000000000000000000dfffffffe7ffbba130000000000000000
tvheadend28904: CRASH: STACKTRACE```
If you need other logs just ask.
History
Updated by C vH about 8 years ago
-.- stupid redmine (edit impossible)
log: http://pastebin.com/NE6Ld4mC
Updated by Jaroslav Kysela about 8 years ago
Pls, compile/install tvh with debugging symbols. I cannot do anything with raw addresses.
Updated by Jaroslav Kysela about 8 years ago
Pls, enter also 'backtrace' command in gdb to see from where the http_send_header() is called. https://tvheadend.org/projects/tvheadend/wiki/Debugging
Updated by C vH about 8 years ago
the faq is a bit imprecise in what you have to do - i made a backtrace and a bt full (if more/other is needed just ask)
Updated by Jaroslav Kysela about 8 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|65dfd157654440a09fab063f730122f35f272bd0.