segfault on startup 3.9.304~gc50b049
Added by Miro K. almost 11 years ago
Hi, I am having problem resulting in crashing of the tvheadend process. When I start the backend, it is doing the initial scan (I can see it over the browser) but once a client is connecting to it (xbmc pvr openelec@rspb) it is causing following crash:
[32711.688855] tcp_server_star[13725]: segfault at 38 ip 000000000041e5c6 sp 00007f5f497f9680 error 4 in tvheadend[400000+a8000]
Any idea what it could be? The initial scann is really long process as I do have 3 satellites..
Replies (4)
RE: segfault on startup 3.9.304~gc50b049 - Added by Adam Sutton almost 11 years ago
Please grab a gdb stack trace (and ideally keep hold of the binary and coredump) and then file a bug report.
Adam
RE: segfault on startup 3.9.304~gc50b049 - Added by Miro K. almost 11 years ago
Hi Adam,
actually I hav problem to find out how to activate the core dumps (or I can't find their location)
but at least here are the last lines in the syslog. Is is enough for the ticket?
Dec 29 19:03:58 tvhe tvheadend[26169]: subscription: 'initscan' subscribing to mux, weight: 2, adapter: '/dev/dvb/adapter3/frontend0', network: 'Astra_23_5E', mux: '11973V' Dec 29 19:03:58 tvhe tvheadend[26169]: htsp: Got connection from 192.168.180.49 Dec 29 19:03:58 tvhe tvheadend[26169]: htsp: 192.168.180.49: Welcomed client software: XBMC Media Center (HTSPv8) Dec 29 19:03:58 tvhe tvheadend[26169]: htsp: 192.168.180.49 [ XBMC Media Center ]: Disconnected Dec 29 19:03:58 tvhe tvheadend[26169]: htsp: 192.168.180.49: Welcomed client software: XBMC Media Center (HTSPv8) Dec 29 19:03:58 tvhe tvheadend[26169]: htsp: 192.168.180.49 [ XBMC Media Center ]: Disconnected Dec 29 19:03:58 tvhe tvheadend[26169]: CRASH: Signal: 11 in PRG: /usr/bin/tvheadend (3.9.304~gc50b049) [63d237a1720988789d505aacb4ad8f5638475a9f] CWD: / Dec 29 19:03:58 tvhe tvheadend[26169]: CRASH: Fault address 0x38 (Address not mapped) Dec 29 19:03:58 tvhe tvheadend[26169]: CRASH: Loaded libraries: /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/x86_64-linux-gnu/libz.so.1 /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4 /usr/lib/liburiparser.so.1 /usr/lib/x86_64-linux-gnu/libavahi-common.so.3 /usr/lib/x86_64-linux-gnu/libavahi-client.so.3 /usr/lib/x86_64-linux-gnu/libavcodec.so.53 /usr/lib/x86_64-linux-gnu/libavutil.so.51 /usr/lib/x86_64-linux-gnu/libavformat.so.53 /usr/lib/x86_64-linux-gnu/libswscale.so.2 /lib/x86_64-linux-gnu/librt.so.1 /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/libc.so.6 /usr/lib/x86_64-linux-gnu/libidn.so.11 /usr/lib/x86_64-linux-gnu/libssh2.so.1 /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2 /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2 /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 /usr/lib/x86_64-linux-gnu/libgnutls.so.26 /lib/x86_64-linux-gnu/libgcrypt.so.11 /usr/lib/x86_64-linux-gnu/librtmp.so.0 /lib/x86_64-linux-gnu/libdbus-1.so.3 /usr/ Dec 29 19:03:58 tvhe tvheadend[26169]: CRASH: Register dump [23]: 00007f9a38000088feff38332d2f373000000000006c2be00000000000000202000000000000000200007f9a380072c000000000ffffffff00000000006add1000007f9a380192c50000000000484003000000000000000000007f9a38007180000000000000000000007f9a380192c0000000000050535400007f9a3fdd2660000000000041f756000000000001020200000000000000330000000000000004000000000000000efffffffe7ffbfa170000000000000038 Dec 29 19:03:58 tvhe tvheadend[26169]: CRASH: STACKTRACE Dec 29 19:03:58 tvhe tvheadend[26169]: CRASH: /tvhe/tvheadend/src/trap.c:143 0x42a546 Dec 29 19:03:58 tvhe tvheadend[26169]: CRASH: ??:0 0x7f9a5f19f030 Dec 29 19:03:58 tvhe tvheadend[26169]: CRASH: /tvhe/tvheadend/src/htsp_server.c:2160 0x41f756 Dec 29 19:03:58 tvhe tvheadend[26169]: CRASH: /tvhe/tvheadend/src/tcp.c:624 0x40eca2 Dec 29 19:03:58 tvhe tvheadend[26169]: CRASH: /tvhe/tvheadend/src/api/api_status.c:88 0x431063 Dec 29 19:03:58 tvhe tvheadend[26169]: CRASH: /tvhe/tvheadend/src/webui/webui_api.c:43 0x448f59 Dec 29 19:03:58 tvhe tvheadend[26169]: CRASH: /tvhe/tvheadend/src/http.c:348 0x40f8cd Dec 29 19:03:58 tvhe tvheadend[26169]: CRASH: /tvhe/tvheadend/src/http.c:379 0x40fcf3 Dec 29 19:03:58 tvhe tvheadend[26169]: CRASH: /tvhe/tvheadend/src/http.c:457 0x40fe82 Dec 29 19:03:58 tvhe tvheadend[26169]: CRASH: /tvhe/tvheadend/src/http.c:758 0x41036d Dec 29 19:03:58 tvhe tvheadend[26169]: CRASH: /tvhe/tvheadend/src/tcp.c:442 0x40e18e Dec 29 19:03:58 tvhe tvheadend[26169]: CRASH: /tvhe/tvheadend/src/wrappers.c:103 0x40c4f8 Dec 29 19:03:58 tvhe tvheadend[26169]: CRASH: ??:0 0x7f9a5f196b50 Dec 29 19:03:58 tvhe kernel: [104205.098998] tcp_server_star[26376]: segfault at 38 ip 000000000041f756 sp 00007f9a3fdd2660 error 4 in tvheadend[400000+ae000] Dec 29 19:03:58 tvhe tvheadend[26169]: CRASH: clone+0x6d (/lib/x86_64-linux-gnu/libc.so.6)
RE: segfault on startup 3.9.304~gc50b049 - Added by Adam Sutton almost 11 years ago
Can you log a bug report please.
Adam
RE: segfault on startup 3.9.304~gc50b049 - Added by Miro K. almost 11 years ago
Thanks for fixing, I don't see any crashes with 3.9.309~gde206e6
btw what for is the initial scan good anyway?