Project

General

Profile

Bug #3401

Tvheadend crashes when stopping recording

Added by Peter W. almost 9 years ago. Updated almost 9 years ago.

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

0%

Estimated time:
Found in version:
4.0.7
Affected Versions:

Description

Starting a recording via Kodi and stopping after a few seconds crashes tvheadend:

Dec 8 23:30:17 Server tvheadend[10313]: dvr: entry beacd4280a28aeb5f402bd2eef5237e2 "Bube Dame König Gras" on "WDR HD Aachen" starting at 2015-12-08 23:14:30, scheduled for recording by "kodi" 
Dec 8 23:30:17 Server tvheadend[10313]: dvr: "Bube Dame König Gras" on "WDR HD Aachen" recorder starting
Dec 8 23:30:17 Server tvheadend[10313]: dvr: unable to create new channel streaming chain for 'WDR HD Aachen'
Dec 8 23:30:34 Server tvheadend[10313]: CRASH: Signal: 6 in PRG: tvheadend (4.0.7) [Commit:80e05f1] CWD: /
Dec 8 23:30:34 Server tvheadend[10313]: CRASH: Fault address 0x2849 (N/A)
Dec 8 23:30:34 Server tvheadend[10313]: CRASH: Loaded libraries: linux-vdso.so.1 /usr/lib64/libdvbcsa.so.1 /lib64/libssl.so.1.0.0 /lib64/libcrypto.so.1.0.0 /lib64/libz.so.1 /usr/lib64/liburiparser.so.1 /usr/lib64/libavahi-common.so.3 /usr/lib64/libavahi-client.so.3 /usr/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 /usr/lib64/../lib64/libssp.so.0 /lib64/ld-linux-x86-64.so.2 /lib64/libnss_files.so.2
Dec 8 23:30:34 Server tvheadend[10313]: CRASH: Register dump [23]: fefefefefefefefffeff6d6cff092d63000000000000000800000000000002020000000000a08c91​0000000000a08d10000000000124b098000000000000000d000000000000284900000000000058e4​00002b5b402f90b800002b5b3e35a0000000000000000006000000000000000000002b5b401ab979​00002b5b4396444800002b5b401ab979000000000000020200000000000000330000000000000000​0000000000000000fffffffe7ffbba130000000000000000
Dec 8 23:30:34 Server tvheadend[10313]: CRASH: STACKTRACE
Dec 8 23:30:34 Server tvheadend[10313]: CRASH: 0x461df9
Dec 8 23:30:34 Server tvheadend[10313]: CRASH: 0x2b5b3fa5d670
Dec 8 23:30:34 Server tvheadend[10313]: CRASH: gsignal+0x39 (/lib64/libc.so.6)
Dec 8 23:30:34 Server tvheadend[10313]: CRASH: abort+0x148 (/lib64/libc.so.6)
Dec 8 23:30:34 Server tvheadend[10313]: CRASH: 0x2b5b401a4966
Dec 8 23:30:34 Server tvheadend[10313]: CRASH: 0x2b5b401a4a12
Dec 8 23:30:34 Server tvheadend[10313]: CRASH: 0x492936
Dec 8 23:30:34 Server tvheadend[10313]: CRASH: 0x4905da
Dec 8 23:30:34 Server tvheadend[10313]: CRASH: 0x490be1
Dec 8 23:30:34 Server tvheadend[10313]: CRASH: 0x45886a
Dec 8 23:30:34 Server tvheadend[10313]: CRASH: 0x45824c
Dec 8 23:30:34 Server tvheadend[10313]: CRASH: 0x4393cd
Dec 8 23:30:34 Server tvheadend[10313]: CRASH: 0x435fcf

After restarting tvheadend, the recording is still present in the active recordings tab, but in fact it is not active and I can tune to other channels.
Trying to delete the recording via the web interface yields the following crash:
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: Signal: 6 in PRG: tvheadend (4.0.7) [80e05f16130b8a7076abce9fe78935a65ca3f25a] CWD: /
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: Fault address 0x6518 (N/A)
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: Loaded libraries: linux-vdso.so.1 /usr/lib64/libdvbcsa.so.1 /lib64/libssl.so.1.0.0 /lib64/libcrypto.so.1.0.0 /lib64/libz.so.1 /usr/lib64/liburiparser.so.1 /usr/lib64/libavahi-common.so.3 /usr/lib64/libavahi-client.so.3 /usr/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 /usr/lib64/../lib64/libssp.so.0 /lib64/ld-linux-x86-64.so.2 /lib64/libnss_files.so.2
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: Register dump [23]: fefefefefefefeffffffffff00000000000000000000000800000000000002060000000000a08c910000000000a08d1000002ab9dc001300000000000bb1c9f000000000000065180000000000006b2400002ab99c9cf0b800002ab99aa300000000000000000006000000000000000000002ab99c88197900002ab9d06012c800002ab99c8819790000000000000206657400000000003300000000000000000000000000000000fffffffe7ffbba130000000000000000
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: STACKTRACE
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: 0x461df9
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: 0x2ab99c133670
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: gsignal+0x39 (/lib64/libc.so.6)
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: abort+0x148 (/lib64/libc.so.6)
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: 0x2ab99c87a966
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: 0x2ab99c87aa12
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: 0x492936
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: 0x4905da
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: 0x490c39
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: 0x47d658
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: 0x49e731
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: 0x43db50
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: 0x43e6da
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: 0x43e003
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: 0x43e8cd
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: 0x43e9a9
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: 0x4393cd
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: 0x435fcf
Dec 9 00:37:48 Server tvheadend[25880]: CRASH: 0x2ab99c12bce2

If there is anything else I can provide I'd be happy to.

History

#1

Updated by Jaroslav Kysela almost 9 years ago

Use the debug version of the package / tvh binary to see the references to the source code.

#2

Updated by Jaroslav Kysela almost 9 years ago

  • Status changed from New to Rejected
#3

Updated by Peter W. almost 9 years ago

Hey!
I currently run tvheadend on an x64-unraid server with the binaries converted from the deb packages using alien t (<- please don't kill me for this)
If i do the same with the tvheadend-dbg_4.0.7~trusty_amd64.deb pack I end up with the debug binary in /usr/lib/debug/usr/bin
The problem is, even after making it executable I cannot start it the way I used to:
/usr/lib/debug/usr/bin/tvheadend: /usr/lib/debug/usr/bin/tvheadend: cannot execute binary file

I hope I can be of any help here :P

#4

Updated by Mark Clarkstone almost 9 years ago

Peter W. wrote:

Hey!
I currently run tvheadend on an x64-unraid server with the binaries converted from the deb packages using alien t (<- please don't kill me for this)
If i do the same with the tvheadend-dbg_4.0.7~trusty_amd64.deb pack I end up with the debug binary in /usr/lib/debug/usr/bin
The problem is, even after making it executable I cannot start it the way I used to:
/usr/lib/debug/usr/bin/tvheadend: /usr/lib/debug/usr/bin/tvheadend: cannot execute binary file

I hope I can be of any help here :P

Just build it like you would any other program?

#5

Updated by Peter W. almost 9 years ago

Hey,

so after your comment I used my day to figure out how to compile tvheadend into a slackware package on a ubuntu machine (since installing dependencies would have been a nightmare). I used this https://github.com/PhantomX/slackbuilds/tree/master/tvheadend script (with adapted configure line) which worked out quite nice: It did compile and the tvh-server runs (huge success for me as a linux noob :P )
Now two things: 1. How do I compile a debug version of tvh to finally tackle this crash? (simply running with -s was not sufficient)
I get this https://github.com/chunying/gaminganywhere/issues/12 problem when compiling with static ffmpeg and also commented out that line. Is this normal?

Also available in: Atom PDF