Project

General

Profile

Bug #5390

Crash in tvh_mutex_not_held (file=file@entry=0x55fca853f9c0 "src/profile.c", line=line@entry=463) at src/tvh_thread.c:336

Added by Dietmar Konermann almost 6 years ago. Updated almost 6 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
Crashes
Target version:
-
Start date:
2018-12-03
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-1577~g525d01f
Affected Versions:

Description

Just tested latest master tvheadend_4.3-1577~g525d01f.
When starting a http stream (e.g. from the UI) tvh crashes:

#0 0x00007f5eb82b1428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0x7f5e88be5700 (LWP 14382))]
(gdb) bt
#0 0x00007f5eb82b1428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007f5eb82b3187 in __GI_abort () at abort.c:118
#2 0x000055fca7477609 in tvh_mutex_not_held (file=file@entry=0x55fca853f9c0 "src/profile.c", line=line@entry=463) at src/tvh_thread.c:336
#3 0x000055fca74d2bf2 in lock_assert0 (line=463, file=0x55fca853f9c0 "src/profile.c", l=<optimized out>;) at src/tvh_thread.h:56
#4 profile_find_by_name2 (name=name@entry=0x7f5e3836cd20 "webtv-h264-aac-matroska", alt=alt@entry=0x55fca86012f6 "channel", all=all@entry=0) at src/profile.c:463
#5 0x000055fca74d4eac in profile_find_by_name (alt=0x55fca86012f6 "channel", name=0x7f5e3836cd20 "webtv-h264-aac-matroska") at src/profile.c:494
#6 profile_find_by_list (uuids=0x0, name=0x7f5e3836cd20 "webtv-h264-aac-matroska", alt=alt@entry=0x55fca86012f6 "channel", sflags=sflags@entry=3) at src/profile.c:530
#7 0x000055fca7513255 in http_stream_channel (hc=hc@entry=0x7f5e88be46f0, ch=0x55fcaabe7040, weight=weight@entry=0) at src/webui/webui.c:1292
#8 0x000055fca75139be in http_stream (hc=0x7f5e88be46f0, remain=<optimized out>, opaque=<optimized out>;) at src/webui/webui.c:1386
#9 0x000055fca7483ac3 in http_exec (hc=hc@entry=0x7f5e88be46f0, hp=hp@entry=0x7f5e88be4250, remain=0x7f5e3824a2a0 "channel") at src/http.c:1171
#10 0x000055fca7484d5a in http_cmd_get (hc=hc@entry=0x7f5e88be46f0) at src/http.c:1246
#11 0x000055fca7484f8d in http_process_request (hc=0x7f5e88be46f0, spill=<optimized out>;) at src/http.c:1328
#12 0x000055fca7484033 in process_request (hc=hc@entry=0x7f5e88be46f0, spill=spill@entry=0x7f5e88be4670) at src/http.c:1463
#13 0x000055fca748530b in http_serve_requests (hc=hc@entry=0x7f5e88be46f0) at src/http.c:1948
#14 0x000055fca7485606 in http_serve (fd=74, opaque=0x7f5e50000c20, peer=0x7f5e50000c38, self=0x7f5e50000cb8) at src/http.c:1999
#15 0x000055fca747b8cb in tcp_server_start (aux=0x7f5e50000bf0) at src/tcp.c:709
#16 0x000055fca7476c95 in thread_wrapper (p=0x7f5e50000d80) at src/tvh_thread.c:88
#17 0x00007f5eb96236ba in start_thread (arg=0x7f5e88be5700) at pthread_create.c:333
#18 0x00007f5eb838341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Cheers
Dietmar.

History

#1

Updated by Jaroslav Kysela almost 6 years ago

  • Status changed from New to Invalid

Fixed in latest (v4.3-1617-g80ea669a5).

Also available in: Atom PDF