Project

General

Profile

Bug #5993

CRASH: Signal: 11 in PRG

Added by saen acro about 2 months ago. Updated 10 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-01-14
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-1923~gaaca05c
Affected Versions:

Description

Ubuntu 16.04

Jan 14 22:09:54 DL380p tvheadend[10231]: CRASH: Signal: 11 in PRG: /usr/bin/tvheadend (4.3-1923~gaaca05c) [77db4e75725ddfceed9e5c4cfcca0cf81cef4038] CWD: /
Jan 14 22:09:54 DL380p tvheadend[10231]: CRASH: Fault address 0xffff93c8 (Address not mapped)
Jan 14 22:09:54 DL380p tvheadend[10231]: 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/libpcre2-8.so.0 /usr/lib/x86_64-linux-gnu/liburiparser.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/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 /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/libnss_nis.so.2 /lib/x86_64-linux-g
Jan 14 22:09:54 DL380p tvheadend[10231]: CRASH: Register dump [23]: 00007f42ec000a500000000000000000000000000000000000007f42ec001808000055bccec38190000055bccec38190000055bccd8e8a58000055bccec38190000055bccec38190000055bccd90a17600007f42ec001860000055bccdec9ea0000055bccca3fc2000000000ffff9340000000000000000000007f43eb3f80a8000055bccca3fc2c0000000000010202002b0000000000330000000000000004000000000000000efffffffe7ffbba1300000000ffff93c8
Jan 14 22:09:54 DL380p tvheadend[10231]: CRASH: STACKTRACE
Jan 14 22:09:54 DL380p tvheadend[10231]: CRASH: /tvheadend/src/trap.c:176 0x55bccc9b097d 0x55bccc795000
Jan 14 22:09:54 DL380p tvheadend[10231]: CRASH: ??:0 0x7f444afe2390 0x7f444afd1000
Jan 14 22:09:55 DL380p tvheadend[10231]: CRASH: /tvheadend/src/input/mpegts/mpegts_service.c:66 0x55bccca3fc2c 0x55bccc795000
Jan 14 22:09:55 DL380p tvheadend[10231]: CRASH: /tvheadend/src/idnode.c:367 0x55bccc9658e5 0x55bccc795000
Jan 14 22:09:55 DL380p tvheadend[10231]: CRASH: /tvheadend/src/idnode.c:880 0x55bccc96687d 0x55bccc795000
Jan 14 22:09:56 DL380p tvheadend[10231]: CRASH: /tvheadend/src/idnode.c:1030 (discriminator 1) 0x55bccc966bbf 0x55bccc795000
Jan 14 22:09:56 DL380p tvheadend[10231]: mpegts: too much queued input data (over 50MB) for (null), discarding new
Jan 14 22:09:56 DL380p tvheadend[10231]: mpegts: too much queued input data (over 50MB) for (null), discarding new
Jan 14 22:09:56 DL380p tvheadend[10231]: CRASH: /tvheadend/src/api/api_mpegts.c:281 0x55bccc9de5cb 0x55bccc795000
Jan 14 22:09:57 DL380p tvheadend[10231]: CRASH: /tvheadend/src/api/api_idnode.c:135 0x55bccc9dbafc 0x55bccc795000
Jan 14 22:09:57 DL380p tvheadend[10231]: CRASH: /tvheadend/src/webui/webui_api.c:47 0x55bccca1512e 0x55bccc795000
Jan 14 22:09:57 DL380p tvheadend[10231]: CRASH: /tvheadend/src/http.c:1246 0x55bccc97d5cd 0x55bccc795000
Jan 14 22:09:58 DL380p tvheadend[10231]: CRASH: /tvheadend/src/http.c:1383 0x55bccc97ea34 0x55bccc795000
Jan 14 22:09:58 DL380p tvheadend[10231]: CRASH: /tvheadend/src/http.c:1538 0x55bccc97daf3 0x55bccc795000
Jan 14 22:09:58 DL380p tvheadend[10231]: CRASH: /tvheadend/src/http.c:2023 0x55bccc97edcb 0x55bccc795000
Jan 14 22:09:59 DL380p tvheadend[10231]: CRASH: /tvheadend/src/http.c:2074 0x55bccc97f0c6 0x55bccc795000


Files

gdb.txt (16.9 KB) gdb.txt saen acro, 2021-01-15 08:49

History

#1

Updated by saen acro about 2 months ago

Jan 15 00:00:25 DL380p tvheadend[15487]: CRASH: Signal: 11 in PRG: /usr/bin/tvheadend (4.3-1923~gaaca05c) [77db4e75725ddfceed9e5c4cfcca0cf81cef4038] CWD: /
Jan 15 00:00:25 DL380p tvheadend[15487]: CRASH: Fault address 0xffff4ea0 (Address not mapped)
Jan 15 00:00:25 DL380p tvheadend[15487]: 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/libpcre2-8.so.0 /usr/lib/x86_64-linux-gnu/liburiparser.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/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 /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/libnss_nis.so.2 /lib/x86_64-linux-g
Jan 15 00:00:25 DL380p tvheadend[15487]: CRASH: Register dump [23]: 00007f06780015c00000000000000000000000000000000000007f07f436cdc800007f06780015c000007f0683ffdfe0000000000000000100007f0678000b9000007f06780015c0000055b58ae1a510000055b5896f47e0000055b58ab35cb0000000000000021f00000000ffff4ea0000000000000022000007f0683ffdfe0000055b588201d100000000000010202002b0000000000330000000000000004000000000000000efffffffe7ffbba1300000000ffff4ea0
Jan 15 00:00:25 DL380p tvheadend[15487]: CRASH: STACKTRACE
Jan 15 00:00:26 DL380p tvheadend[15487]: CRASH: /tvheadend/src/trap.c:176 0x55b58824b97d 0x55b588030000
Jan 15 00:00:26 DL380p tvheadend[15487]: CRASH: ??:0 0x7f07f4e53390 0x7f07f4e42000
Jan 15 00:00:27 DL380p tvheadend[15487]: CRASH: /tvheadend/src/idnode.c:694 0x55b588201d10 0x55b588030000
Jan 15 00:00:27 DL380p tvheadend[15487]: CRASH: /tvheadend/src/api/api_idnode.c:189 0x55b588276194 0x55b588030000
Jan 15 00:00:28 DL380p tvheadend[15487]: CRASH: /tvheadend/src/api/api_idnode.c:229 0x55b588276eb9 0x55b588030000
Jan 15 00:00:28 DL380p tvheadend[15487]: CRASH: /tvheadend/src/webui/webui_api.c:47 0x55b5882b012e 0x55b588030000
Jan 15 00:00:28 DL380p tvheadend[15487]: CRASH: /tvheadend/src/http.c:1246 0x55b5882185cd 0x55b588030000
Jan 15 00:00:29 DL380p tvheadend[15487]: CRASH: /tvheadend/src/http.c:1383 0x55b588219a34 0x55b588030000
Jan 15 00:00:29 DL380p tvheadend[15487]: CRASH: /tvheadend/src/http.c:1538 0x55b588218af3 0x55b588030000
Jan 15 00:00:29 DL380p tvheadend[15487]: CRASH: /tvheadend/src/http.c:2023 0x55b588219dcb 0x55b588030000
Jan 15 00:00:30 DL380p tvheadend[15487]: CRASH: /tvheadend/src/http.c:2074 0x55b58821a0c6 0x55b588030000
Jan 15 00:00:30 DL380p tvheadend[15487]: CRASH: /tvheadend/src/tcp.c:724 0x55b5882101ab 0x55b588030000
Jan 15 00:00:31 DL380p tvheadend[15487]: CRASH: /tvheadend/src/tvh_thread.c:91 0x55b58820adf5 0x55b588030000
Jan 15 00:00:31 DL380p tvheadend[15487]: CRASH: ??:0 0x7f07f4e496ba 0x7f07f4e42000
Jan 15 00:00:31 DL380p kernel: [782896.207522] tvh:tcp-start[48129]: segfault at ffff4ea0 ip 000055b588201d10 sp 00007f0683ffdfe0 error 4 in tvheadend[55b588030000+14c2000]
Jan 15 00:00:32 DL380p systemd[1]: tvheadend.service: Main process exited, code=killed, status=11/SEGV
Jan 15 00:00:32 DL380p systemd[1]: tvheadend.service: Unit entered failed state.
Jan 15 00:00:32 DL380p systemd[1]: tvheadend.service: Failed with result 'signal'.
Jan 15 00:01:26 DL380p systemd[1]: tvheadend.service: Service hold-off time over, scheduling restart.
Jan 15 00:01:26 DL380p systemd[1]: Stopped Tvheadend - a TV streaming server and DVR.
Jan 15 00:01:26 DL380p systemd[1]: Starting Tvheadend - a TV streaming server and DVR...

this crash repead near each hour

#2

Updated by saen acro about 1 month ago

Jan 15 00:01:43 DL380p tvheadend[50454]: CRASH: Signal: 11 in PRG: /usr/bin/tvheadend (4.3-1923~gaaca05c) [77db4e75725ddfceed9e5c4cfcca0cf81cef4038] CWD: /
Jan 15 00:01:43 DL380p tvheadend[50454]: CRASH: Fault address 0x55c9a47c9960 (Access error)
Jan 15 00:01:43 DL380p tvheadend[50454]: 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/libpcre2-8.so.0 /usr/lib/x86_64-linux-gnu/liburiparser.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/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 /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/libnss_nis.so.2 /lib/x86_64-linux-g
Jan 15 00:01:43 DL380p tvheadend[50454]: CRASH: Register dump [23]: 00007f7df41054b00000000004000000000000000000000100007f7e2f0490500000000000000000000055c9a4b6a27000000000000000010000000000000005000055c9a471516000007f7e2c4a64400000000000000000000055c9a471516000000000000000400000000000000004000055c9a48a729000007f7e2c4a6418000055c9a47c99600000000000010202002b0000000000330000000000000015000000000000000efffffffe7ffbba13000055c9a47c9960
Jan 15 00:01:43 DL380p tvheadend[50454]: CRASH: STACKTRACE
Jan 15 00:01:43 DL380p tvheadend[50454]: CRASH: /tvheadend/src/trap.c:176 0x55c9a255d97d 0x55c9a2342000
Jan 15 00:01:43 DL380p kernel: [782968.317717] tvh:mtimer[50466]: segfault at 55c9a47c9960 ip 000055c9a47c9960 sp 00007f7e2c4a6418 error 15
Jan 15 00:01:44 DL380p systemd[1]: Time has been changed
Jan 15 00:01:44 DL380p systemd[32743]: Time has been changed
Jan 15 00:01:44 DL380p systemd[1]: tvheadend.service: Main process exited, code=killed, status=11/SEGV
Jan 15 00:01:44 DL380p systemd[1]: tvheadend.service: Unit entered failed state.
Jan 15 00:01:44 DL380p systemd[1]: tvheadend.service: Failed with result 'signal'.
#3

Updated by Flole Systems about 1 month ago

Without a coredump it will be super difficult to reproduce. It looks like it is related to the webserver though, so maybe tcpdump could help you there aswell if the time can be predicted.

#4

Updated by saen acro about 1 month ago

gdb

gdb tvheadend 62316
(gdb) set logging on
(gdb) set pagination off
(gdb) bt full
(gdb) continue

#5

Updated by Flole Systems about 1 month ago

That looks like the backtrace was ran before the segmentation fault. You need to run it afterwards.

#6

Updated by saen acro about 1 month ago

Flole Systems wrote:

That looks like the backtrace was ran before the segmentation fault. You need to run it afterwards.

I attach gdb to the running process

ps -C tvheadend

get pid
gdb --tui -p pid

I guess when process stop his pid after that is other
will make longer log

but 100%
https://tvheadend.org/projects/tvheadend/wiki/Debugging
need redaction

#7

Updated by saen acro about 1 month ago

Thread 26 "tvh:epgdata" received signal SIGSEGV, Segmentation fault.
__memcmp_sse4_1 () at ../sysdeps/x86_64/multiarch/memcmp-sse4.S:794


after that it stop
#8

Updated by Flole Systems about 1 month ago

You backtraced a running process, there's no point in doing that in this case. You need to continue, wait for the error to occur and then bt full (and coredump as there might be more information needed later on).

So after the output in the last post you would have to run "bt full" and create a core file.

#9

Updated by Flole Systems 10 days ago

Is this still in issue? From the backtrace it looks like some HTTP Request caused this. I would like to get it fixed if this is still happening.

#10

Updated by saen acro 10 days ago

Will check with new commits, and report.

Also available in: Atom PDF