Project

General

Profile

Bug #2296

TVH 3.9.1454 crashes with psi: tables count inconsistency (num 18, list 2)

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

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

100%

Estimated time:
(Total: 0.00 h)
Found in version:
3.9.1454
Affected Versions:

Description

Getting crashes in TVH 3.9.1454:

=================
tvheadend: src/input/mpegts/mpegts_input.c:625: mpegts_input_table_dispatch: Assertion `0' failed.
2014-09-13 00:11:23.588 [ ERROR] psi: tables count inconsistency (num 18, list 2)
2014-09-13 00:11:23.589 [ ALERT] CRASH: Signal: 6 in PRG: ./build.linux/tvheadend (3.9.1454~gea9d782) [4222b18fae85708453a1bb4f848f35d3a9343bc1] CWD: /home/tvserver/tvheadend
2014-09-13 00:11:23.589 [ ALERT] CRASH: Fault address 0x27db (N/A)
2014-09-13 00:11:23.589 [ 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/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.54 /usr/lib/x86_64-linux-gnu/libavutil.so.52 /usr/lib/x86_64-linux-gnu/libavformat.so.54 /usr/lib/x86_64-linux-gnu/libswscale.so.2 /lib/x86_64-linux-gnu/libdbus-1.so.3 /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 /usr/lib/x86_64-linux-gnu/libxvidcore.so.4 /usr/lib/x86_64-linux-gnu/libx264.so.142 /usr/lib/x86_64-linux-gnu/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/x86_64-linux-gnu/libschroedinger-1.0.so.0 /usr/lib/x86_64-linux-gnu/libop
2014-09-13 00:11:23.589 [ ALERT] CRASH: Register dump [23]: fefefefefefefe0000007fb5ec0d0cf00000000000000008000000000000020600000000004ca67100000000004c71a00000000000000002000000000000001200000000000027db00000000000027ea00007fb64c70d37000007fb64f82e00000000000000000060000000000000000ffffffffffffffff00007fb63effc5a800007fb64c5c2bb90000000000000206000000000000003300000000000000000000000000000000fffffffe7ffbba170000000000000000
2014-09-13 00:11:23.589 [ ALERT] CRASH: STACKTRACE
2014-09-13 00:11:23.601 [ ALERT] CRASH: /home/tvserver/tvheadend/src/trap.c:148 0x433649
2014-09-13 00:11:23.610 [ ALERT] CRASH: ??:0 0x7fb64ce70340
2014-09-13 00:11:23.610 [ ALERT] CRASH: gsignal+0x39 (/lib/x86_64-linux-gnu/libc.so.6)
2014-09-13 00:11:23.610 [ ALERT] CRASH: abort+0x148 (/lib/x86_64-linux-gnu/libc.so.6)
2014-09-13 00:11:23.619 [ ALERT] CRASH: ??:0 0x7fb64c5bba76
tvheadend: src/input/mpegts/mpegts_input.c:625: mpegts_input_table_dispatch: Assertion `0' failed.
Aborted (core dumped) =================

let me know if you need more detailed debugging and/or coredump files.


Subtasks

Bug #2251: TVH release 3.9.1353 crashes with "psi: tables count inconsistency (num 16, list 12)" as the first messageRejected

Actions
Bug #2247: psi: tables count inconsistency (num 28, list 19) followed by crash signal 6Rejected

Actions

Related issues

Related to Bug #2328: tvheadend crashes ( psi: tables count inconsistency (num 37, list 36) )Fixed2014-09-23

Actions

History

#1

Updated by Jaroslav Kysela about 10 years ago

Note: I think that the problem is probably somewhere else (memory corruption), the 'psi: tables count inconsistency' just catches this memory corruption. This problem is very difficult to debug so I cannot give any instruction which debug data might be useful.

It might probably help to run tvh inside debugger (gdb), wait for the crash and inspect the variables.

Another way is to disable some subsystems (EPG grabbers, reduce configuration etc) to try find the part of code triggering this corruption.

#2

Updated by Jaroslav Kysela about 10 years ago

Note that I fixed a possible memory access/corruption issue in v3.9-1508-ga766245 . Could you re-test with the current tvh sources ?

#3

Updated by Crazy Fin about 10 years ago

You can close this bug ticket now. I have been running 3.9.1511 and had 3-4 recordings going on, doing a lot of channel switching and no crash yet.
Currently on 3.9.1526 and it looks good. :-)

#4

Updated by Jaroslav Kysela about 10 years ago

  • Status changed from New to Fixed
#5

Updated by Jaroslav Kysela about 10 years ago

  • Related to Bug #2328: tvheadend crashes ( psi: tables count inconsistency (num 37, list 36) ) added

Also available in: Atom PDF