Project

General

Profile

Bug #3397

Crash git latest /usr/src/tvheadend/src/profile.c:419

Added by Thomas Ziegler about 9 years ago. Updated about 9 years ago.

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

100%

Estimated time:
Found in version:
git latest
Affected Versions:

Description

2015-12-07 23:16:06.578 [ INFO] main: Log started
2015-12-07 23:16:06.587 [ INFO] http: Starting HTTP server 0.0.0.0:9981
2015-12-07 23:16:06.587 [ INFO] htsp: Starting HTSP server 0.0.0.0:9982
2015-12-07 23:16:06.689 [ INFO] config: loaded
2015-12-07 23:16:06.694 [ ALERT] CRASH: Signal: 11 in PRG: ./build.linux/tvheadend (4.1-1183~g637d1f3) [404a1dbd4986250086c154e4a562c0a23772e6f5] CWD: /usr/src/tvheadend
2015-12-07 23:16:06.694 [ ALERT] CRASH: Fault address (nil) (Address not mapped)
2015-12-07 23:16:06.694 [ ALERT] CRASH: Loaded libraries: /lib64/libssl.so.10 /lib64/libcrypto.so.10 /lib64/libz.so.1 /lib64/liburiparser.so.1 /lib64/libavahi-common.so.3 /lib64/libavahi-client.so.3 /usr/local/lib/libavcodec.so.57 /usr/local/lib/libavutil.so.55 /usr/local/lib/libavformat.so.57 /usr/local/lib/libavfilter.so.6 /usr/local/lib/libavresample.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/libdbus-1.so.3 /usr/local/lib/libswresample.so.2 /usr/local/lib/libx265.so.78 /usr/local/lib/libx264.so.148 /usr/local/lib/libmp3lame.so.0 /usr/local/lib/libfdk-aac.so.1 /usr/local/lib/libswscale.so.4 /usr/local/lib/libpostproc.so.54 /lib64/ld-linux-x86-64.so.2 /lib64/libkrb5support.so.0 /lib64/libkeyutils.so.1 /lib64/libresolv.so.2 /lib64/libstdc++.so.6 /lib64/libgcc_s.so.1 /lib64/libselinux.so.1 /lib64/libpcre.so.1 /lib64/liblzma.so.5
2015-12-07 23:16:06.694 [ ALERT] CRASH: Register dump [23]: 0000000000000000000000000000000400007fdf4a1d112000007fdf4a21f4f00000000000000001000000000050165f0000000000000000000000000052cbe10000000000000000000000000050165f00000000018afb3000000000018afb3000000000000000010000000000000000000000000000001f00007ffe20ecc9f800007fdf4a1d1006000000000001028300000000000000330000000000000004000000000000000efffffffe7ffbfa170000000000000000
2015-12-07 23:16:06.694 [ ALERT] CRASH: STACKTRACE
2015-12-07 23:16:06.710 [ ALERT] CRASH: /usr/src/tvheadend/src/trap.c:148 0x4450c6
2015-12-07 23:16:06.718 [ ALERT] CRASH: ??:0 0x7fdf4a979100
2015-12-07 23:16:06.727 [ ALERT] CRASH: ??:0 0x7fdf4a1d1006
2015-12-07 23:16:06.742 [ ALERT] CRASH: /usr/src/tvheadend/src/profile.c:419 (discriminator 1) 0x45c6b6
2015-12-07 23:16:06.742 [ ALERT] CRASH: profile_init+0x104 (./build.linux/tvheadend)
2015-12-07 23:16:06.756 [ ALERT] CRASH: /usr/src/tvheadend/src/main.c:1026 0x40abcf
2015-12-07 23:16:06.756 [ ALERT] CRASH: __libc_start_main+0xf5 (/lib64/libc.so.6)

Hi,
sorry I can give no coherent reason why it started crashing - to many variables changed the last days.
I upgraded to Centos 7.2, built a tvheadend executable without transcoding by mistake and played with the transcode options (which didn't save with tvh versions of last week). so something went wrong and tvh crashes. Sometimes with backuped older configurations, sometimes in debug builds, sometimes not.
I've locally changes the offending line to check for nullptr and it seems to fix the issue at least in debug builds.

Thanks for having a look,
Thomas

History

#1

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|3ae4164fb3348db47cd035652cc63dfc93a4a2eb.

Also available in: Atom PDF