Project

General

Profile

Bug #3418

66e5d277a59db723a8718afb3bdbef63824fa050 crashes at start

Added by Paolo Zeppegno about 9 years ago. Updated about 9 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
Crashes
Target version:
-
Start date:
2015-12-13
Due date:
% Done:

100%

Estimated time:
Found in version:
4.1-1221~g66e5d27
Affected Versions:

Description

66e5d277a59db723a8718afb3bdbef63824fa050 crashes at start on my system. Bisected to:

zorro 2283> git bisect good
f995c21cd7c1f9113a465989e1c860eb3e4b773c is the first bad commit
commit f995c21cd7c1f9113a465989e1c860eb3e4b773c
Author: Jaroslav Kysela <>
Date: Sat Dec 12 21:12:42 2015 +0100

inotify: register fix and add support for multiple files, fixes #3416

:040000 040000 9daca206e1a8e6ed8710685b4cf61cef7ebf95b5 1c241c315a8701b59dc8450d59a89cc7b6a65a47 M src

2015-12-13 15:21:44.195 [ ALERT] CRASH: Signal: 11 in PRG: ./build.linux/tvheadend (4.1-1221~g66e5d27) [41d0b49e6e689766958909a563d3c4c2bddba739] CWD: /home/paolo/Downloads/git/tvheadend
2015-12-13 15:21:44.195 [ ALERT] CRASH: Fault address (nil) (Address not mapped)
2015-12-13 15:21:44.195 [ ALERT] CRASH: Loaded libraries: linux-vdso.so.1 /lib64/libssl.so.10 /lib64/libcrypto.so.10 /lib64/libz.so.1 /lib64/libavahi-common.so.3 /lib64/libavahi-client.so.3 /lib64/libavcodec.so.56 /lib64/libavutil.so.54 /lib64/libavformat.so.56 /lib64/libavfilter.so.5 /lib64/libavresample.so.2 /lib64/libdbus-1.so.3 /lib64/libdl.so.2 /lib64/libpthread.so.0 /lib64/libm.so.6 /lib64/librt.so.1 /lib64/libc.so.6 /lib64/libgssapi_krb5.so.2 /lib64/libkrb5.so.3 /lib64/libcom_err.so.2 /lib64/libk5crypto.so.3 /lib64/libswresample.so.1 /lib64/libva.so.1 /lib64/libxvidcore.so.4 /lib64/libx265.so.68 /lib64/libx264.so.148 /lib64/libwebp.so.5 /lib64/libvpx.so.2 /lib64/libvorbisenc.so.2 /lib64/libvorbis.so.0 /lib64/libvo-amrwbenc.so.0 /lib64/libvo-aacenc.so.0 /lib64/libtwolame.so.0 /lib64/libtheoraenc.so.1 /lib64/libtheoradec.so.1 /lib64/libspeex.so.1 /lib64/libschroedinger-1.0.so.0 /lib64/libopus.so.0 /lib64/libopenjpeg.so.1 /lib64/libopenh264.so.1 /lib64/libopencore-amrwb.so.0 /lib64/libopencore-amrnb.so.0 /lib64/libmp3lame.so.0 /lib64/li
2015-12-13 15:21:44.195 [ ALERT] CRASH: Register dump [23]: 000000000000000037363966343037356530393639346134000000000000024600000000019ed500000000000170ecb000000000019ed4700000000001985b6000000000019ee540000000000050a7fb00000000019ee54000000000019ee54000000000007ea7400000000000000000000000000000000100007ffc693df78000000000004e794a000000000001020200000000000000330000000000000004000000000000000efffffffe7ffbfa170000000000000000
2015-12-13 15:21:44.195 [ ALERT] CRASH: STACKTRACE
2015-12-13 15:21:44.210 [ ALERT] CRASH: /home/paolo/Downloads/git/tvheadend/src/trap.c:148 0x446566
2015-12-13 15:21:44.218 [ ALERT] CRASH: ??:0 0x7fdf0f08a9f0
2015-12-13 15:21:44.233 [ ALERT] CRASH: /home/paolo/Downloads/git/tvheadend/src/dvr/dvr_inotify.c:160 0x4e794a
2015-12-13 15:21:44.249 [ ALERT] CRASH: /home/paolo/Downloads/git/tvheadend/src/dvr/dvr_db.c:453 0x47ce64
2015-12-13 15:21:44.263 [ ALERT] CRASH: /home/paolo/Downloads/git/tvheadend/src/dvr/dvr_db.c:606 0x47d71e
2015-12-13 15:21:44.288 [ ALERT] CRASH: /home/paolo/Downloads/git/tvheadend/src/dvr/dvr_db.c:586 (discriminator 3) 0x47fd2b
2015-12-13 15:21:44.306 [ ALERT] CRASH: /home/paolo/Downloads/git/tvheadend/src/dvr/dvr_config.c:1224 0x4892fd
2015-12-13 15:21:44.327 [ ALERT] CRASH: /home/paolo/Downloads/git/tvheadend/src/main.c:1071 0x40ba3c
2015-12-13 15:21:44.327 [ ALERT] CRASH: __libc_start_main+0xf0 (/lib64/libc.so.6)
2015-12-13 15:21:44.348 [ ALERT] CRASH: ??:? 0x40d659
[1] 13424 segmentation fault (core dumped) ./build.linux/tvheadend

History

#1

Updated by Paolo Zeppegno about 9 years ago

Some more info:

paolo@zorro 2312> gdb ./build.linux/tvheadend
GNU gdb (GDB) Fedora 7.10.1-30.fc23
Copyright (C) 2015 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 "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/&gt;.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/&gt;.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./build.linux/tvheadend...done.
(gdb) r
Starting program: /home/paolo/Downloads/git/tvheadend/build.linux/tvheadend
manpath: warning: $MANPATH set, ignoring /etc/man_db.conf
Missing separate debuginfos, use: dnf debuginfo-install glibc-2.22-6.fc23.x86_64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe1807700 (LWP 2511)]
2015-12-13 20:06:08.379 [ INFO] main: Log started
2015-12-13 20:06:08.381 [ INFO] http: Starting HTTP server 0.0.0.0:9981
2015-12-13 20:06:08.381 [ INFO] htsp: Starting HTSP server 0.0.0.0:9982
2015-12-13 20:06:08.385 [ INFO] satips: Starting SAT>IP RTSP server 10.59.61.10:9983
2015-12-13 20:06:08.385 [ INFO] satips: SAT>IP Server initialized (HTTP 10.59.61.10:9981, RTSP 10.59.61.10:9983, descramble 1, muxcnf 0)
2015-12-13 20:06:08.385 [ INFO] satips: SAT>IP Server tuners: DVB-T/T2 3/0, DVB-S/S2 0/0, DVB-C/C2 0/0, ATSC-T/C 0/0
[New Thread 0x7fffe1006700 (LWP 2512)]
[New Thread 0x7fffe0805700 (LWP 2513)]
2015-12-13 20:06:08.433 [ INFO] config: loaded
[New Thread 0x7fffdbfff700 (LWP 2514)]
[New Thread 0x7fffdb7fe700 (LWP 2515)]
[New Thread 0x7fffdaffd700 (LWP 2516)]
[New Thread 0x7fffda7fc700 (LWP 2517)]
[New Thread 0x7fffd9ffb700 (LWP 2518)]
2015-12-13 20:06:09.976 [ INFO] scanfile: DVB-T - loaded 44 regions with 1104 networks
2015-12-13 20:06:09.976 [ INFO] scanfile: DVB-S - loaded 1 regions with 92 networks
2015-12-13 20:06:09.976 [ INFO] scanfile: DVB-C - loaded 17 regions with 53 networks
2015-12-13 20:06:09.976 [ INFO] scanfile: ATSC-T - loaded 2 regions with 9 networks
2015-12-13 20:06:09.976 [ INFO] scanfile: ATSC-C - loaded 1 regions with 5 networks
[New Thread 0x7fffd97fa700 (LWP 2520)]
[New Thread 0x7fffd8ff9700 (LWP 2521)]
[New Thread 0x7fffd3fff700 (LWP 2522)]
2015-12-13 20:06:10.059 [ INFO] linuxdvb: adapter added /dev/dvb/adapter2
[New Thread 0x7fffd37fe700 (LWP 2524)]
[New Thread 0x7fffd2ffd700 (LWP 2525)]
2015-12-13 20:06:10.098 [ INFO] linuxdvb: adapter added /dev/dvb/adapter1
[New Thread 0x7fffd27fc700 (LWP 2527)]
[New Thread 0x7fffd1ffb700 (LWP 2528)]
2015-12-13 20:06:10.125 [ INFO] linuxdvb: adapter added /dev/dvb/adapter0
[New Thread 0x7fffd17fa700 (LWP 2530)]
[New Thread 0x7fffd0ff9700 (LWP 2531)]
2015-12-13 20:06:10.205 [ INFO] dvr: Creating new configuration ''
[New Thread 0x7fffcbfff700 (LWP 2532)]
[New Thread 0x7fffcb7fe700 (LWP 2533)]
[New Thread 0x7fffcaffd700 (LWP 2534)]
[New Thread 0x7fffca7fc700 (LWP 2535)]
2015-12-13 20:06:10.209 [ INFO] CSA: Using SSE2 128bit parallel descrambling
2015-12-13 20:06:10.209 [ INFO] descrambler: adding CAID 0963 as quick ECM (Sky UK)
2015-12-13 20:06:10.209 [ INFO] descrambler: adding CAID 098C as quick ECM (Sky DE)
2015-12-13 20:06:10.209 [ INFO] descrambler: adding CAID 09C4 as quick ECM (Sky DE)
2015-12-13 20:06:10.209 [ INFO] descrambler: adding CAID 09CD as quick ECM (Sky IT)
2015-12-13 20:06:10.209 [ INFO] descrambler: adding CAID 2600 as constant crypto-word (BISS)
2015-12-13 20:06:10.209 [ INFO] epggrab: module eit created
2015-12-13 20:06:10.209 [ INFO] epggrab: module uk_freesat created
2015-12-13 20:06:10.209 [ INFO] epggrab: module uk_freeview created
2015-12-13 20:06:10.209 [ INFO] epggrab: module viasat_baltic created
2015-12-13 20:06:10.210 [ INFO] epggrab: module Bulsatcom_39E created
2015-12-13 20:06:10.210 [ INFO] epggrab: module psip created
2015-12-13 20:06:10.220 [ INFO] epggrab: module opentv-skyit created
2015-12-13 20:06:10.221 [ INFO] epggrab: module opentv-skynz created
2015-12-13 20:06:10.221 [ INFO] epggrab: module opentv-ausat created
2015-12-13 20:06:10.222 [ INFO] epggrab: module opentv-skyuk created
2015-12-13 20:06:10.226 [ INFO] epggrab: module pyepg created
2015-12-13 20:06:10.226 [ INFO] epggrab: module xmltv created
Detaching after fork from child process 2536.
tcp_server: tvhpoll_wait: Interrupted system call
2015-12-13 20:06:10.230 [ INFO] spawn: Executing "/usr/bin/tv_find_grabbers"
2015-12-13 20:06:12.414 [ INFO] epggrab: module /home/paolo/bin/tv_grab_file created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_uk_tvguide created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_eu_epgdata created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_dk_dr created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_tr created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_eu_egon created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_na_dd created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_na_tvmedia created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_no_gfeed created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_es_laguiatv created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_se_swedb created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_pt_meo created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_uk_bleb created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_is created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_uk_rt created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_fr created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_ch_search created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_fi created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_huro created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_it created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_hr created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_eu_dotmedia created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_fr_kazer created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_combiner created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_fi_sv created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_il created
2015-12-13 20:06:12.414 [ INFO] epggrab: module /usr/bin/tv_grab_se_tvzon created
[New Thread 0x7fffc9ffb700 (LWP 2550)]
2015-12-13 20:06:12.461 [ INFO] epgdb: loaded v2
2015-12-13 20:06:12.461 [ INFO] epgdb: config 1
2015-12-13 20:06:12.461 [ INFO] epgdb: channels 0
2015-12-13 20:06:12.461 [ INFO] epgdb: brands 0
2015-12-13 20:06:12.461 [ INFO] epgdb: seasons 0
2015-12-13 20:06:12.461 [ INFO] epgdb: episodes 1554
2015-12-13 20:06:12.461 [ INFO] epgdb: broadcasts 1389
[New Thread 0x7fffc97fa700 (LWP 2551)]
2015-12-13 20:06:12.465 [ ERROR] dvr: unable to stat file '/home/paolo/Videos/La 5.ts'
2015-12-13 20:06:12.465 [ ERROR] dvr: unable to stat file '/home/paolo/Videos/La 5-1.ts'
2015-12-13 20:06:12.466 [ ERROR] dvr: unable to stat file '/home/paolo/Videos/Time-2015-11-16_01:25.ts'

Program received signal SIGSEGV, Segmentation fault.
0x00000000004e795a in dvr_inotify_add (de=de@entry=0xddd9e0) at src/dvr/dvr_inotify.c:160
160 HTSMSG_FOREACH(f, de->de_files)
Missing separate debuginfos, use: dnf debuginfo-install avahi-libs-0.6.31-43.fc23.x86_64 bzip2-libs-1.0.6-19.fc23.x86_64 dbus-libs-1.10.6-1.fc23.x86_64 elfutils-libelf-0.163-4.fc23.x86_64 elfutils-libs-0.163-4.fc23.x86_64 enca-1.16-1.fc23.x86_64 expat-2.1.0-12.fc23.x86_64 faac-1.28-7.fc22.x86_64 ffmpeg-libs-2.8.3-1.fc23.x86_64 fontconfig-2.11.94-4.fc23.x86_64 freetype-2.6.0-3.fc23.x86_64 fribidi-0.19.6-5.fc23.x86_64 glib2-2.46.2-1.fc23.x86_64 gmp-6.0.0-12.fc23.x86_64 gnutls-3.4.7-1.fc23.x86_64 graphite2-1.2.4-5.fc23.x86_64 gsm-1.0.13-13.fc23.x86_64 harfbuzz-1.0.6-1.fc23.x86_64 keyutils-libs-1.5.9-7.fc23.x86_64 krb5-libs-1.14-2.fc23.x86_64 lame-libs-3.99.5-5.fc23.x86_64 libass-0.12.1-2.fc23.x86_64 libattr-2.4.47-14.fc23.x86_64 libbluray-0.9.2-1.fc23.x86_64 libcap-2.24-8.fc23.x86_64 libcom_err-1.42.13-3.fc23.x86_64 libdrm-2.4.65-1.fc23.x86_64 libfdk-aac-0.1.4-1.fc23.x86_64 libffi-3.1-8.fc23.x86_64 libgcc-5.3.1-2.fc23.x86_64 libgcrypt-1.6.4-1.fc23.x86_64 libgomp-5.3.1-2.fc23.x86_64 libgpg-error-1.20-1.fc23.x86_64 libidn-1.32-1.fc23.x86_64 libmfx-0.0.0-1.8220f46.fc23.x86_64 libogg-1.3.2-4.fc23.x86_64 libpng-1.6.19-1.fc23.x86_64 librtmp-2.4-5.20150925.gita107cef.fc23.x86_64 libselinux-2.4-4.fc23.x86_64 libssh-0.7.2-2.fc23.x86_64 libstdc++-5.3.1-2.fc23.x86_64 libtasn1-4.5-2.fc23.x86_64 libtheora-1.1.1-13.fc23.x86_64 libva-1.6.1-1.fc23.x86_64 libvo-aacenc-0.1.3-1.fc23.x86_64 libvorbis-1.3.4-5.fc23.x86_64 libvpx-1.4.0-5.fc23.x86_64 libwebp-0.4.4-1.fc23.x86_64 libX11-1.6.3-2.fc23.x86_64 libXau-1.0.8-5.fc23.x86_64 libxcb-1.11.1-1.fc23.x86_64 libXext-1.3.3-3.fc23.x86_64 libXfixes-5.0.1-5.fc23.x86_64 libxml2-2.9.3-2.fc23.x86_64 nettle-3.1.1-6.fc23.x86_64 ocl-icd-2.2.7-2.git20150606.ebbc4c1.fc23.x86_64 opencore-amr-0.1.3-4.fc22.x86_64 openh264-libs-1.5.0-1.fc23.x86_64 openjpeg-libs-1.5.1-15.fc23.x86_64 openssl-libs-1.0.2e-3.fc23.x86_64 opus-1.1.1-1.fc23.x86_64 orc-0.4.24-1.fc23.x86_64 p11-kit-0.23.1-4.fc23.x86_64 pcre-8.38-3.fc23.x86_64 schroedinger-1.0.11-9.fc23.x86_64 soxr-0.1.2-1.fc23.x86_64 speex-1.2-0.24.rc2.fc23.x86_64 systemd-libs-222-8.fc23.x86_64 twolame-libs-0.3.13-4.fc22.x86_64 vo-amrwbenc-0.1.2-2.fc22.x86_64 x264-libs-0.148-2.20151020gita0cd7d3.fc23.x86_64 x265-libs-1.8-1.fc23.x86_64 xvidcore-1.3.4-2.fc23.x86_64 xz-libs-5.2.1-3.fc23.x86_64 zlib-1.2.8-9.fc23.x86_64
(gdb) p f
$1 = <optimized out>
(gdb) p de
$2 = (dvr_entry_t *) 0xddd9e0
(gdb) p *de
$3 = {de_id = {in_uuid = "\\\345\276\335+\270O\210W\004\371gJIi\016", in_link = {left = 0x0, right = 0x0, parent = 0xa15480, color = 0},
in_domain_link = {left = 0xddfdf0, right = 0xde1b60, parent = 0xddb300, color = 0}, in_domain = 0xdd2ae8, in_class = 0x522580 <dvr_entry_class>,
in_access = 0x0}, de_refcnt = 1, de_global_link = {le_next = 0xddb300, le_prev = 0xdde2a0}, de_channel = 0xba9170, de_channel_link = {
le_next = 0xddb300, le_prev = 0xdde2b8}, de_channel_name = 0xd39cc0 "La 5", de_timer = {gti_link = {le_next = 0x0, le_prev = 0x0},
gti_callback = 0x0, gti_opaque = 0x0, gti_expire = {tv_sec = 0, tv_nsec = 0}}, de_config = 0xaec920, de_config_link = {le_next = 0xddb300,
le_prev = 0xdde308}, de_enabled = 1, de_start = 1447618200, de_stop = 1447625700, de_start_extra = 0, de_stop_extra = 10, de_running_start = 0,
de_running_stop = 0, de_running_pause = 0, de_owner = 0x0, de_creator = 0xd38d30 "10.59.61.12", de_comment = 0x0, de_files = 0x0, de_directory = 0x0,
de_title = 0xddb630, de_subtitle = 0xdddc70, de_desc = 0xdddd90, de_content_type = 0, de_dvb_eid = 0, de_pri = 2, de_dont_reschedule = 1,
de_dont_rerecord = 0, de_retention = 99, de_removal = 0, de_bcast = 0x0, de_episode = 0x0, de_sched_state = DVR_COMPLETED,
de_rec_state = DVR_RS_FINISHED, de_errors = 0, de_data_errors = 0, de_last_error = 300, de_autorec_link = {le_next = 0x0, le_prev = 0x0},
de_autorec = 0x0, de_timerec = 0x0, de_parent = 0x0, de_child = 0x0, de_thread = 0, de_thread_shutdown = 0, de_s = 0x0, de_chain = 0x0,
de_last_notify = 0, de_update_limit = {last = 0, count = 0}}
(gdb) l
155 htsmsg_t *m;
156
157 if (_inot_fd < 0)
158 return;
159
160 HTSMSG_FOREACH(f, de->de_files)
161 if ((m = htsmsg_field_get_map(f)) != NULL)
162 dvr_inotify_add_one(de, m);
163 }
164

#2

Updated by Jaroslav Kysela about 9 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|4c73241abbaf83e313cd038a89b1c78b8221541f.

Also available in: Atom PDF