Project

General

Profile

Bug #2180

Release 3.8.1083 fixes previous crashes but a new and other crash has appeared

Added by Crazy Fin over 10 years ago. Updated over 10 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-07-15
Due date:
% Done:

0%

Estimated time:
Found in version:
3.9.1083
Affected Versions:

Description

Latest commit works much better than previous commits and I am now able to run TVHeadend 12-24 hours without a crash.

The crash I get now is different from the previous one and which seems to be fixed now. (See my bug ticket #2156, https://tvheadend.org/issues/2156#change-9645)

I see the following line in the beginning of the debug log:

glibc detected ./build.linux/tvheadend: double free or corruption (fasttop): 0x00007fd134039500

and

2014-07-15 15:19:39.767 [ ERROR]:psi: tables count inconsistency (num 16, list 14)
2014-07-15 15:19:39.767 [ ALERT]:CRASH: Signal: 6 in PRG: ./build.linux/tvheadend (3.9.1083~g05d6da3) [c7f74aafe86808c707dcc420b8ad70f9e8bdbc83] CWD: /home/tvserver/tvheadend
2014-07-15 15:19:39.767 [ ALERT]:CRASH: Fault address 0xcfc (N/A)
2014-07-15 15:19:39.767 [ ALERT]:CRASH: Loaded libraries: /lib/x86_64-linux-gnu/libssl.so.1.0.0 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/x86_64-linux-gnu/libz.so.1 /usr/lib/liburiparser.so.1 /usr/lib/x86_64-linux-gnu/libavahi-common.so.3 /usr/lib/x86_64-linux-gnu/libavahi-client.so.3 /usr/lib/x86_64-linux-gnu/libavcodec.so.53 /usr/lib/x86_64-linux-gnu/libavutil.so.51 /usr/lib/x86_64-linux-gnu/libavformat.so.53 /usr/lib/x86_64-linux-gnu/libswscale.so.2 /lib/x86_64-linux-gnu/libdl.so.2 /lib/x86_64-linux-gnu/libpthread.so.0 /lib/x86_64-linux-gnu/libm.so.6 /lib/x86_64-linux-gnu/librt.so.1 /lib/x86_64-linux-gnu/libc.so.6 /lib/x86_64-linux-gnu/libdbus-1.so.3 /usr/lib/libvpx.so.1 /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 /usr/lib/x86_64-linux-gnu/libvorbis.so.0 /usr/lib/x86_64-linux-gnu/libtheoraenc.so.1 /usr/lib/x86_64-linux-gnu/libtheoradec.so.1 /usr/lib/x86_64-linux-gnu/libspeex.so.1 /usr/lib/libschroedinger-1.0.so.0 /usr/lib/libgsm.so.1 /usr/lib/x86_64-linux-gnu/libva.so.1 /lib/x86_64-linux-gnu/libbz2.so.1.0 /lib64/ld-linux-x86-64.so.2
2014-07-15 15:19:39.767 [ ALERT]:CRASH: Register dump [23]: fefefefefefefefffffffeff000000000000000000000008000000000000020600000000004bc85500000000004ba7e000007fe80a7fbac000000000000000300000000000000cfc0000000000000d0800000000004ba62800007fe8191ed00000000000000000060000000000000000ffffffffffffffff00007fe80a7fb8d800007fe815f1f4250000000000000206000000000000003300000000000000000000000000000000fffffffe7ffbba170000000000000000
2014-07-15 15:19:39.767 [ ALERT]:CRASH: STACKTRACE
2014-07-15 15:19:39.772 [ ALERT]:CRASH: /home/tvserver/tvheadend/src/trap.c:148 0x43074c
2014-07-15 15:19:39.776 [ ALERT]:CRASH: ??:0 0x7fe8167bccb0
2014-07-15 15:19:39.776 [ ALERT]:CRASH: gsignal+0x35 (/lib/x86_64-linux-gnu/libc.so.6)
2014-07-15 15:19:39.776 [ ALERT]:CRASH: abort+0x17b (/lib/x86_64-linux-gnu/libc.so.6)
2014-07-15 15:19:39.781 [ ALERT]:CRASH: ??:0 0x7fe815f180ee
2014-07-15 15:19:39.785 [ ALERT]:CRASH: ??:0 0x7fe815f18192
2014-07-15 15:19:39.791 [ ALERT]:CRASH: /home/tvserver/tvheadend/src/input/mpegts/mpegts_input.c:565 0x46566b
2014-07-15 15:19:39.798 [ ALERT]:CRASH: /home/tvserver/tvheadend/src/input/mpegts/mpegts_input.c:822 0x4656d6
2014-07-15 15:19:39.803 [ ALERT]:CRASH: /home/tvserver/tvheadend/src/wrappers.c:125 0x40eed1

I have attached the full logs.
(Didnt get a proper core dump since I had not set up the core dumps properly. Will generate a new crash tonight and attach core dump with "(gdb) bt full")


Files

tvh.log.3.9.1083 (9.33 MB) tvh.log.3.9.1083 Crazy Fin, 2014-07-15 21:38
tvh.log2.3.9.1083 (2.69 MB) tvh.log2.3.9.1083 Crazy Fin, 2014-07-15 21:38
gdb.txt (1.63 KB) gdb.txt Crazy Fin, 2014-07-16 06:17

History

#1

Updated by Crazy Fin over 10 years ago

Command "bt full" from core dump attached.

#2

Updated by sangood zhang over 10 years ago

I have a crah on this version.And I can't descrambler the channel.
2014-07-24 11:32:05.724 [ INFO]:subscription: "192.168.1.9 [ tvh | XBMC Media Center ]" unsubscribing from "电视指南", hostname="192.168.1.9", username="tvh", client="XBMC Media Center"
2014-07-24 11:32:05.730 [ INFO]:mpegts: 371000 in home - tuning on Philips TDA10023 DVB-C : DVB-C #0
2014-07-24 11:32:05.730 [ INFO]:subscription: 'scan' subscribing to mux, weight: 1, adapter: 'Philips TDA10023 DVB-C : DVB-C #0', network: 'home', mux: '371000', hostname: '<N/A>', username: '<N/A>', client: '<N/A>'
2014-07-24 11:32:05.736 [ INFO]:mpegts: 315000 in home - tuning on Philips TDA10023 DVB-C : DVB-C #0
2014-07-24 11:32:05.741 [ INFO]:subscription: "scan" unsubscribing
2014-07-24 11:32:05.741 [ INFO]:subscription: "192.168.1.9 [ tvh | XBMC Media Center ]" subscribing on "综合", weight: 150, adapter: "Philips TDA10023 DVB-C : DVB-C #0", network: "home", mux: "315000", provider: "dvt", service: "综合", hostname: "192.168.1.9", username: "tvh", client: "XBMC Media Center"
2014-07-24 11:32:07.014 [ INFO]:mpegts: 371000 in home - tuning on Philips TDA10023 DVB-C : DVB-C #0
2014-07-24 11:32:07.014 [ INFO]:subscription: 'scan' subscribing to mux, weight: 1, adapter: 'Philips TDA10023 DVB-C : DVB-C #0', network: 'home', mux: '371000', hostname: '<N/A>', username: '<N/A>', client: '<N/A>'
2014-07-24 11:32:08.431 [ INFO]:subscription: "192.168.1.9 [ tvh | XBMC Media Center ]" unsubscribing from "综合", hostname="192.168.1.9", username="tvh", client="XBMC Media Center"
2014-07-24 11:32:08.437 [ INFO]:mpegts: 315000 in home - tuning on Philips TDA10023 DVB-C : DVB-C #0
2014-07-24 11:32:08.501 [ ALERT]:CRASH: Signal: 11 in PRG: /usr/local/tvheadend-testing/bin/tvheadend (3.9.1083) [e9c4223de0efa2da319210e232730da798939702] CWD: /
2014-07-24 11:32:08.501 [ ALERT]:CRASH: Fault address (nil) (Address not mapped)
2014-07-24 11:32:08.501 [ ALERT]:CRASH: Loaded libraries: linux-vdso.so.1 /usr/local/tvheadend-testing/lib/preloadable_libiconv.so /usr/local/tvheadend-testing/lib/libdvbcsa.so.1 /usr/local/tvheadend-testing/lib/libssl.so.1.0.0 /usr/local/tvheadend-testing/lib/libcrypto.so.1.0.0 /usr/local/tvheadend-testing/lib/libz.so /usr/local/tvheadend-testing/lib/libmp3lame.so.0 /usr/local/tvheadend-testing/lib/libfaac.so.0 /lib64/libdl.so.2 /lib64/libm.so.6 /lib64/libpthread.so.0 /lib64/librt.so.1 /lib64/libc.so.6 /lib64/ld-linux-x86-64.so.2 /lib64/libnss_files.so.2
2014-07-24 11:32:08.501 [ ALERT]:CRASH: Register dump [23]: 00000000016276e00000000000007f4e0000000000000000000000000000000000000000016275c000000000016276e000000000ffffffff00000000ffffffff0000000000000001000000000000000000007f61a42868d000000000000000020000000000000000000000000000000000007f61a400003800007f61c57f88100000000000499b9c000000000001024600000000000000330000000000000006000000000000000efffffffe7ffbba170000000000000000
2014-07-24 11:32:08.501 [ ALERT]:CRASH: STACKTRACE
2014-07-24 11:32:08.558 [ ALERT]:CRASH: 0x464396
2014-07-24 11:32:08.559 [ ALERT]:CRASH: 0x7f61d8c401e0
2014-07-24 11:32:08.561 [ ALERT]:CRASH: 0x499b9c
2014-07-24 11:32:08.562 [ ALERT]:CRASH: 0x49d53e
2014-07-24 11:32:08.564 [ ALERT]:CRASH: 0x495275
2014-07-24 11:32:08.565 [ ALERT]:CRASH: 0x49dd7a
2014-07-24 11:32:08.567 [ ALERT]:CRASH: 0x499fbd
2014-07-24 11:32:08.568 [ ALERT]:CRASH: 0x4b1be5
2014-07-24 11:32:08.569 [ ALERT]:CRASH: 0x4b247c
2014-07-24 11:32:08.571 [ ALERT]:CRASH: 0x49b035
2014-07-24 11:32:08.572 [ ALERT]:CRASH: 0x49cb0f
2014-07-24 11:32:08.574 [ ALERT]:CRASH: 0x456f1e
2014-07-24 11:32:08.575 [ ALERT]:CRASH: 0x4583a4
2014-07-24 11:32:08.577 [ ALERT]:CRASH: 0x454987
2014-07-24 11:32:08.578 [ ALERT]:CRASH: 0x454f6a
2014-07-24 11:32:08.580 [ ALERT]:CRASH: 0x45520e
2014-07-24 11:32:08.581 [ ALERT]:CRASH: 0x45a8c7
2014-07-24 11:32:08.583 [ ALERT]:CRASH: 0x45e220
2014-07-24 11:32:08.584 [ ALERT]:CRASH: 0x444e33
2014-07-24 11:32:08.585 [ ALERT]:CRASH: 0x442ef1
2014-07-24 11:32:08.587 [ ALERT]:CRASH: 0x7f61d8c38def

#3

Updated by Crazy Fin over 10 years ago

Looks like we can close this bug ticket now.

Latest revision 854327aa (version 3.9.1095) does not have this type of crashes anymore. Great! :-)

(Another minor issue on startup with EPG though but will take up that in a separate ticket.)

#4

Updated by Mark Clarkstone over 10 years ago

  • Status changed from New to Fixed

Glad to hear it's fixed!

Also available in: Atom PDF