Bug #2212
TVH crashes periodically every 10 minutes
0%
Description
As topic says tvheadend crashes every 10 minutes even when tvheadend is idle. This happens on a few versions last two months. An older version - 3.9.570 - don't crash. System is Ubuntu 12.04.4, DVB-card is TT-S2-1600.
2014-08-11 10:21:59.143 [WARNING]:linuxdvb: Unable to provide UNC value. 2014-08-11 10:22:00.143 [WARNING]:linuxdvb: Unable to provide UNC value. 2014-08-11 10:22:01.143 [WARNING]:linuxdvb: Unable to provide UNC value. 2014-08-11 10:22:01.567 [ ALERT]:CRASH: Signal: 11 in PRG: tvheadend (3.9.1237~g88e692c) [9c0aeaea55dbbf4674232c2078b b62dbf49cea86] CWD: / 2014-08-11 10:22:01.569 [ ALERT]:CRASH: Fault address 0x322e3434 (Address not mapped) 2014-08-11 10:22:01.569 [ ALERT]:CRASH: Loaded libraries: /lib/i386-linux-gnu/libssl.so.1.0.0 /lib/i386-linux-gnu/lib crypto.so.1.0.0 /lib/i386-linux-gnu/libz.so.1 /usr/lib/liburiparser.so.1 /usr/lib/i386-linux-gnu/libavahi-common.so.3 /usr/lib/i386-linux-gnu/libavahi-client.so.3 /lib/i386-linux-gnu/libdl.so.2 /lib/i386-linux-gnu/libpthread.so.0 /lib/i 386-linux-gnu/libm.so.6 /lib/i386-linux-gnu/librt.so.1 /lib/i386-linux-gnu/libc.so.6 /lib/i386-linux-gnu/libdbus-1.so. 3 /lib/ld-linux.so.2 /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 2014-08-11 10:22:01.569 [ ALERT]:CRASH: Register dump [19]: 080f58f000000033080f58f000000000080f58f00000007b080f58f00 000007b080f58f0081079e1080f58f0322e3434080f58f0b06f6d48080f58f0b06f6a40080f58f0b06f6ca8080f58f000000006080f58f00000000 5080f58f000000006080f58f00000000e080f58f000000004080f58f0080cdf64080f58f000000073080f58f000210202080f58f0b06f6a40080f5 8f00000007b 2014-08-11 10:22:01.569 [ ALERT]:CRASH: STACKTRACE 2014-08-11 10:22:01.621 [ ALERT]:CRASH: /home/tvheadend/builds/tvheadend/src/trap.c:148 0x8076d42 2014-08-11 10:22:01.621 [ ALERT]:CRASH: __kernel_rt_sigreturn+0x0 () 2014-08-11 10:22:01.691 [ ALERT]:CRASH: /home/tvheadend/builds/tvheadend/src/input/mpegts/satip/satip.c:805 0x80cdf64 2014-08-11 10:22:01.753 [ ALERT]:CRASH: /home/tvheadend/builds/tvheadend/src/upnp.c:161 0x80a9c29 2014-08-11 10:22:01.804 [ ALERT]:CRASH: /home/tvheadend/builds/tvheadend/src/wrappers.c:125 0x8054b71
Files
History
Updated by Andy Brown over 10 years ago
- Status changed from New to Need feedback
This is difficult to debug with the information provided.
Please can you take a look at https://tvheadend.org/projects/tvheadend/wiki/Debugging and provide some further logs on the crashing so we can look closer?
Updated by B. J. over 10 years ago
Ok running directly from build.linux:
... 2014-08-12 13:24:09.092 [ INFO] epgdb: episodes 2050 2014-08-12 13:24:09.093 [ INFO] epgdb: broadcasts 1899 2014-08-12 13:24:09.094 [ INFO] dvr: Creating new configuration '' 2014-08-12 13:24:09.098 [ NOTICE] START: HTS Tvheadend version 3.9.1237~g88e692c started, running as PID:9007 UID:1000 GID:1000, CWD:/tmp CNF:/home/tvheadend/.hts/tvheadend 2014-08-12 13:30:54.697 [ ALERT] CRASH: Signal: 11 in PRG: /home/tvheadend/builds/tvheadend/build.linux/tvheadend (3.9.1237~g88e692c) [9c0aeaea55dbbf4674232c2078bb62dbf49cea86] CWD: /tmp 2014-08-12 13:30:54.702 [ ALERT] CRASH: Fault address 0x322e3434 (Address not mapped) 2014-08-12 13:30:54.702 [ ALERT] CRASH: Loaded libraries: /lib/i386-linux-gnu/libssl.so.1.0.0 /lib/i386-linux-gnu/libcrypto.so.1.0.0 /lib/i386-linux-gnu/libz.so.1 /usr/lib/liburiparser.so.1 /usr/lib/i386-linux-gnu/libavahi-common.so.3 /usr/lib/i386-linux-gnu/libavahi-client.so.3 /lib/i386-linux-gnu/libdl.so.2 /lib/i386-linux-gnu/libpthread.so.0 /lib/i386-linux-gnu/libm.so.6 /lib/i386-linux-gnu/librt.so.1 /lib/i386-linux-gnu/libc.so.6 /lib/i386-linux-gnu/libdbus-1.so.3 /lib/ld-linux.so.2 2014-08-12 13:30:54.703 [ ALERT] CRASH: Register dump [19]: 080f58f000000033080f58f000000000080f58f00000007b080f58f00000007b080f58f0081079e1080f58f0322e3434080f58f0b14f8d48080f58f0b14f8a40080f58f0b14f8ca8080f58f000000006080f58f000000005080f58f000000006080f58f00000000e080f58f000000004080f58f0080cdf64080f58f000000073080f58f000210202080f58f0b14f8a40080f58f00000007b 2014-08-12 13:30:54.704 [ ALERT] CRASH: STACKTRACE 2014-08-12 13:30:54.753 [ ALERT] CRASH: /home/tvheadend/builds/tvheadend/src/trap.c:148 0x8076d42 2014-08-12 13:30:54.753 [ ALERT] CRASH: __kernel_rt_sigreturn+0x0 () 2014-08-12 13:30:54.810 [ ALERT] CRASH: /home/tvheadend/builds/tvheadend/src/input/mpegts/satip/satip.c:805 0x80cdf64 2014-08-12 13:30:54.861 [ ALERT] CRASH: /home/tvheadend/builds/tvheadend/src/upnp.c:161 0x80a9c29 2014-08-12 13:30:54.900 [ ALERT] CRASH: /home/tvheadend/builds/tvheadend/src/wrappers.c:125 0x8054b71 Speicherzugriffsfehler (Speicherabzug geschrieben)
core dump (hope this is right):
tvheadend@mk-pc-futro02:/tmp$ gdb ~/builds/tvheadend/build.linux/tvheadend core.mk-pc-futro02.upnp_thread.1407843054.9007 GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-linux-gnu". For bug reporting instructions, please see: <http://bugs.launchpad.net/gdb-linaro/>... Reading symbols from /home/tvheadend/builds/tvheadend/build.linux/tvheadend...done. [New LWP 9019] [New LWP 9008] [New LWP 9020] [New LWP 9021] [New LWP 9022] [New LWP 9023] [New LWP 9024] [New LWP 9025] [New LWP 9026] [New LWP 9027] [New LWP 9028] [New LWP 9029] [New LWP 9030] [New LWP 9043] [New LWP 9046] [New LWP 9007] [New LWP 9009] [New LWP 9010] [New LWP 9011] [New LWP 9012] [New LWP 9013] [New LWP 9014] [New LWP 9015] [New LWP 9016] [New LWP 9017] [New LWP 9018] warning: Can't read pathname for load map: Eingabe-/Ausgabefehler. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". Core was generated by `/home/tvheadend/builds/tvheadend/build.linux/tvheadend'. Program terminated with signal 11, Segmentation fault. #0 0x080cdf64 in satip_discovery_service_received ( data=0xb14f8dcc "NOTIFY * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nCACHE-CONTROL: max-age=1800\r\nLOCATION: http://141.55.244.205:49152/gatedesc.xml\r\nOPT: \"http://schemas.upnp.org/upnp/1/0/\"; ns=01\r\n01-NLS: 48552bb8-1dd2-1"..., len=485, conn=0x84fe4c8, storage=0xb14fcecc) at src/input/mpegts/satip/satip.c:805 805 if (argv[i] && strcmp(argv[i], "uuid") == 0) { (gdb)
Updated by B. J. over 10 years ago
Backtrace:
tvheadend@mk-pc-futro02:/tmp$ gdb ~/builds/tvheadend/build.linux/tvheadend core.mk-pc-futro02.upnp_thread.1407843054.9007 GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-linux-gnu". For bug reporting instructions, please see: <http://bugs.launchpad.net/gdb-linaro/>... Reading symbols from /home/tvheadend/builds/tvheadend/build.linux/tvheadend...done. [New LWP 9019] [New LWP 9008] [New LWP 9020] [New LWP 9021] [New LWP 9022] [New LWP 9023] [New LWP 9024] [New LWP 9025] [New LWP 9026] [New LWP 9027] [New LWP 9028] [New LWP 9029] [New LWP 9030] [New LWP 9043] [New LWP 9046] [New LWP 9007] [New LWP 9009] [New LWP 9010] [New LWP 9011] [New LWP 9012] [New LWP 9013] [New LWP 9014] [New LWP 9015] [New LWP 9016] [New LWP 9017] [New LWP 9018] warning: Can't read pathname for load map: Eingabe-/Ausgabefehler. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". Core was generated by `/home/tvheadend/builds/tvheadend/build.linux/tvheadend'. Program terminated with signal 11, Segmentation fault. #0 0x080cdf64 in satip_discovery_service_received ( data=0xb14f8dcc "NOTIFY * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nCACHE-CONTROL: max-age=1800\r\nLOCATION: http://141.55.244.205:49152/gatedesc.xml\r\nOPT: \"http://schemas.upnp.org/upnp/1/0/\"; ns=01\r\n01-NLS: 48552bb8-1dd2-1"..., len=485, conn=0x84fe4c8, storage=0xb14fcecc) at src/input/mpegts/satip/satip.c:805 805 if (argv[i] && strcmp(argv[i], "uuid") == 0) { (gdb) bt full #0 0x080cdf64 in satip_discovery_service_received ( data=0xb14f8dcc "NOTIFY * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nCACHE-CONTROL: max-age=1800\r\nLOCATION: http://141.55.244.205:49152/gatedesc.xml\r\nOPT: \"http://schemas.upnp.org/upnp/1/0/\"; ns=01\r\n01-NLS: 48552bb8-1dd2-1"..., len=485, conn=0x84fe4c8, storage=0xb14fcecc) at src/input/mpegts/satip/satip.c:805 buf = <optimized out> ptr = <optimized out> saveptr = 0xb14f8c32 "\n\r\n" argv = {0xb14f8bdb "df51409a-8130-42bf-a146-61965af957f4", 0xb14f8c01 "urn", 0xb14f8c05 "schemas-upnp-org", 0xb14f8c16 "service", 0xb14f8c1e "ConnectionManager", 0xb14f8c30 "1", 0x322e3434 <Address 0x322e3434 out of bounds>, 0xb7003530 "", 0x0, 0xb1 <Address 0xb1 out of bounds>} st = <optimized out> location = <optimized out> server = <optimized out> uuid = <optimized out> bootid = <optimized out> configid = <optimized out> deviceid = <optimized out> sockbuf = "\364\357M\267\345\001\000\000\000\000\000\000\320\316O\261\000\000\000\000\b\000\000\000!\031\020\bT\031\020\bW\004\005\b\304\331\023\b\233Bz\267\320z{\267\230\067N\267\001\000\000\000:\031\020\b\233\000\000\000\000\316\f^\000\000\000\000$\215O\261\020\000\000\000̍O\261\345\001\000\000\000\000\000\000\310\344O\b\a\005\005\b\b\000\000\000!\031\020\bT\031\020\b<\215O\261!\031\020\bT\031\020\b<\215O\261" d = <optimized out> n = 6 i = <optimized out> #1 0x080a9c29 in upnp_thread (aux=0x0) at src/upnp.c:161 bindaddr = 0x0 poll = 0x8481270 ev = {{fd = 15, events = 1, data = {ptr = 0x84fe4c8, u64 = 139453640, u32 = 139453640, fd = 139453640}}, {fd = 16, events = 1, data = { ptr = 0x84e9200, u64 = 139366912, u32 = 139366912, fd = 139366912}}} data = <optimized out> multicast = 0x84fe4c8 unicast = 0x84e9200 conn = 0x84fe4c8 buf = "NOTIFY * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nCACHE-CONTROL: max-age=1800\r\nLOCATION: http://141.55.244.205:49152/gatedesc.xml\r\nOPT: \"http://schemas.upnp.org/upnp/1/0/\"; ns=01\r\n01-NLS: 48552bb8-1dd2-11"... ---Type <return> to continue, or q <return> to quit---
Updated by B. J. over 10 years ago
Sorry, last backtrace was'nt complete
Updated by Carlo Landmeter over 10 years ago
Looks like sat>ip is detecting something which it shouldn't.
You could try building from src and disable satip support.
Updated by Jaroslav Kysela over 10 years ago
It should be fixed with this commit: https://github.com/tvheadend/tvheadend/commit/81c08e2657cdf2dfb549610debf1457869618262