Project

General

Profile

Bug #5478

tvheadend crashes if got requests for 5 or more streams instantly

Added by Kevin G. 6 months ago. Updated 6 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Crashes
Target version:
-
Start date:
2019-01-05
Due date:
% Done:

0%

Estimated time:
Found in version:
HTS Tvheadend 4.3-1711~gadc90275c
Affected Versions:

Description

Hello,

I am using tvh for transcode via nvenc my FullHD stream to HD (720p). If i try to open my 30 streams isntantly on another server, tvh will crash. if i will start them all with delay it will run fine.

2019-01-05 11:46:28.334 [EMERGENCY] libav: Assertion abs(src_linesize) >= bytewi                                   dth failed at libavutil/imgutils.c:314

2019-01-05 11:46:28.334 [  ALERT] CRASH: Signal: 6 in PRG: tvheadend (4.3-1711~g                                   adc90275c) [eb7f7388a931e6f2b7ca6278b1d4cec3043983d2] CWD: /root/.hts
2019-01-05 11:46:28.334 [  ALERT] CRASH: Fault address 0x73e2 (N/A)
2019-01-05 11:46:28.334 [  ALERT] CRASH: Loaded libraries: linux-vdso.so.1 /usr/                                   lib/x86_64-linux-gnu/libdvbcsa.so.1 /usr/lib/x86_64-linux-gnu/libssl.so.1.1 /usr                                   /lib/x86_64-linux-gnu/libcrypto.so.1.1 /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 /us                                   r/lib/x86_64-linux-gnu/libavahi-common.so.3 /usr/lib/x86_64-linux-gnu/libavahi-c                                   lient.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 /usr/loca                                   l/lib/libiconv.so.2 /lib/x86_64-linux-gnu/librt.so.1 /lib/x86_64-linux-gnu/libmv                                   ec.so.1 /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/lib/x86_64-linux-gnu/libnu                                   ma.so.1 /lib/x86_64-linux-gnu/libc.so.6 /lib/x86_64-linux-gnu/libsystemd.so.0 /l                                   ib64/ld-linux-x86-64.so.2 /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib/x86_64-linux-                                   gnu/liblzma.so.5 /usr/lib/x86_64-linux-gnu/liblz4.so.1 /lib/x86_64-linux-gnu/lib                                   gcrypt.so.20 /lib/x86_64-linux-gnu/libgpg-error.so.0
2019-01-05 11:46:28.334 [  ALERT] CRASH: Register dump [23]: 0000000000000000000                                   07f0b142eef900000000000000008000000000000024600000000000003c000000000000003c0000                                   000000000000000007f0aee42b4c0000000000000000200007f0b142eef900000000000000500000                                   00000000002d00000000000000000000000000000000000007f0c52f7fe9700007f0b142eef90000                                   07f0c52f7fe970000000000000246002b00000000003300000000000000000000000000000000fff                                   ffffe7ffbba130000000000000000

Broadcast message from [email protected] (Sat 2019-                                   01-05 11:46:28 CET):

tvheadend[29666]: libav: Assertion abs(src_linesize) >= bytewidth failed at liba                                   vutil/imgutils.c:314

2019-01-05 11:46:28.334 [  ALERT] CRASH: STACKTRACE
2019-01-05 11:46:28.370 [  ALERT] CRASH: /root/tvheadend/src/trap.c:176 0x560d9d                                   90445d 0x560d9d69d000
2019-01-05 11:46:28.421 [  ALERT] CRASH: ??:0 0x7f0c5438d890 0x7f0c5437b000
2019-01-05 11:46:28.421 [  ALERT] CRASH: gsignal+0xc7  (/lib/x86_64-linux-gnu/li                                   bc.so.6)
2019-01-05 11:46:28.421 [  ALERT] CRASH: abort+0x141  (/lib/x86_64-linux-gnu/lib                                   c.so.6)
2019-01-05 11:46:28.466 [  ALERT] CRASH: /root/tvheadend/build.linux/ffmpeg/ffmp                                   eg-4.0.2/libavutil/imgutils.c:314 0x560d9d8b0f3d 0x560d9d69d000
2019-01-05 11:46:28.504 [  ALERT] CRASH: /root/tvheadend/build.linux/ffmpeg/ffmp                                   eg-4.0.2/libavutil/imgutils.c:315 0x560d9de385f1 0x560d9d69d000
2019-01-05 11:46:28.543 [  ALERT] CRASH: /root/tvheadend/build.linux/ffmpeg/ffmp                                   eg-4.0.2/libavcodec/nvenc.c:1551 0x560d9dd5695a 0x560d9d69d000
2019-01-05 11:46:28.586 [  ALERT] CRASH: /root/tvheadend/build.linux/ffmpeg/ffmp                                   eg-4.0.2/libavcodec/encode.c:406 0x560d9db23826 0x560d9d69d000
2019-01-05 11:46:28.625 [   INFO] transcode: 0009: 01:H264: ==> Using profile h.                                   264 720p AUTO Deint.
2019-01-05 11:46:28.625 [   INFO] transcode: 0009: 02:AC3: ==> Using profile web                                   tv-aac
2019-01-05 11:46:28.625 [   INFO] transcode: 0009: 04:DVBSUB: ==> Filtered out
2019-01-05 11:46:28.632 [  ALERT] CRASH: /root/tvheadend/src/transcoding/transco                                   de/context.c:332 0x560d9d9e9500 0x560d9d69d000
2019-01-05 11:46:28.670 [  ALERT] CRASH: /root/tvheadend/src/transcoding/transco                                   de/context.c:379 0x560d9d9e995c 0x560d9d69d000
2019-01-05 11:46:28.710 [  ALERT] CRASH: /root/tvheadend/src/transcoding/transco                                   de/context.c:418 0x560d9d9e9a01 0x560d9d69d000
2019-01-05 11:46:28.752 [  ALERT] CRASH: /root/tvheadend/src/transcoding/transco                                   de/context.c:433 0x560d9d9ea6df 0x560d9d69d000
2019-01-05 11:46:28.789 [  ALERT] CRASH: /root/tvheadend/src/transcoding/transco                                   de/stream.c:125 0x560d9d9e82dd 0x560d9d69d000
2019-01-05 11:46:28.825 [  ALERT] CRASH: /root/tvheadend/src/transcoding/transco                                   de/transcoder.c:94 0x560d9d9eb303 0x560d9d69d000
2019-01-05 11:46:28.860 [  ALERT] CRASH: /root/tvheadend/src/plumbing/tsfix.c:31                                   8 0x560d9d947be3 0x560d9d69d000
2019-01-05 11:46:28.900 [  ALERT] CRASH: /root/tvheadend/src/profile.c:897 0x560                                   d9d923085 0x560d9d69d000
2019-01-05 11:46:28.942 [  ALERT] CRASH: /root/tvheadend/src/tvh_thread.c:91 0x5                                   60d9d8c4ab8 0x560d9d69d000
2019-01-05 11:46:28.996 [  ALERT] CRASH: ??:0 0x7f0c543826db 0x7f0c5437b000
Aborted

History

#1 Updated by Jaroslav Kysela 6 months ago

Try with latest (upgraded to ffmpeg 4.1).

#2 Updated by Kevin G. 6 months ago

Jaroslav Kysela wrote:

Try with latest (upgraded to ffmpeg 4.1).

I compiled ffmpeg at the same day earlier. I used the commit "g1dcb5b7dca".

Also available in: Atom PDF