Project

General

Profile

Bug #4579

TVH crashes on specific channel when requested with transcoding

Added by Jozef M about 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-09-09
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-448~g2f07ea089
Affected Versions:

Description

Hello,

Just upgraded to TVH 4.3-448~g2f07ea089 and when trying to play one specific channel (via VLC with transcoding, or via WebUI with transcoding) the TVH crashes instantly.
Playing the same channel over Kodi (htsp) and VLC pass profile works without problems.
Other channels (the ones I tried so far) are not affected.

Using:
- WEBTV profile H264/AAC/Matroska transcoding profile
- MKV container (built in)
- video profile webtv-h264 (height 512, no HW acc, no deinterlace, 1Mbps bitrate)
- audio profile webtv-aac (aac, 64kbps bitrate)

If something else is needed please let me know.
Thank you.

Service details for Astra 23.5/12090V/Nat Geo Wild HD CZ
Index    PID                Type        Language    Details
         0x044d /  1101    PCR          
         0x0898 /  2200    PMT          
1        0x044d /  1101    H264          
2        0x044e /  1102    MPEG2AUDIO    eng     
3        0x0450 /  1104    MPEG2AUDIO    cze     
4        0x0300 /   768    CA                         CAIDS: 0624:000000
5        0x02fe /   766    CA                         CAIDS: 0d96:000000
6        0x0321 /   801    CA                         CAIDS: 0500:051910
After filtering and reordering (without PCR and PMT)

Index    PID                Type        Language    Details
1        0x044d /  1101    H264          
2        0x044e /  1102    MPEG2AUDIO    eng     
3        0x0450 /  1104    MPEG2AUDIO    cze     
4        0x0300 /   768    CA                         CAIDS: 0624:000000
5        0x02fe /   766    CA                         CAIDS: 0d96:000000
6        0x0321 /   801    CA                         CAIDS: 0500:051910
[New Thread 0x7f262ebf5700 (LWP 20895)]

Thread 84 "tvh:sharer" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f262ebf5700 (LWP 20895)]
tvh_context_helper_find (codec=0x0, list=0x5611375a7990 <tvh_decoder_helpers>) at src/transcoding/transcode/helpers.c:73
73              if (helper->type == codec->type && helper->id == codec->id) {
#0  tvh_context_helper_find (codec=0x0, list=0x5611375a7990 <tvh_decoder_helpers>) at src/transcoding/transcode/helpers.c:73
        helper = 0x561137591c00 <TVHOPUSDecoder>
#1  tvh_decoder_helper_find (codec=0x0) at src/transcoding/transcode/helpers.c:420
No locals.
#2  0x00005611363de700 in tvh_context_open (self=self@entry=0x7f265c006710, phase=phase@entry=OPEN_DECODER) at src/transcoding/transcode/context.c:236
        avctx = 0x7f265c019160
        helper = 0x0
        opts = 0x0
        ret = 0
#3  0x00005611363df53a in tvh_context_decode (avpkt=0x7f262ebf4740, self=0x7f265c006710) at src/transcoding/transcode/context.c:432
        ret = 0
#4  tvh_context_handle (self=0x7f265c006710, pkt=0x7f265c004660) at src/transcoding/transcode/context.c:666
        ret = 0
        data = 0x7f265c019620 "" 
        size = <optimized out>
        avpkt = {buf = 0x7f265c0066a0, pts = 181600, dts = 181600, data = 0x7f265c019620 "", size = 2429, stream_index = 0, flags = 0, side_data = 0x0, side_data_elems = 0, duration = 3600, pos = -1, convergence_duration = 0}
#5  0x00005611363dd53d in tvh_stream_handle (self=self@entry=0x7f265c0066e0, pkt=<optimized out>) at src/transcoding/transcode/stream.c:115
No locals.
#6  0x00005611363e01b9 in tvh_transcoder_handle (self=0x7f263c005eb0, pkt=<optimized out>) at src/transcoding/transcode/transcoder.c:93
        stream = 0x7f265c0066e0
#7  tvh_transcoder_stream (opaque=0x7f263c005eb0, msg=0x7f265c004490) at src/transcoding/transcode/transcoder.c:266
        self = 0x7f263c005eb0
        ss = 0x0
#8  0x000056113635071e in normalize_ts (tf=0x7f263c005f80, tfs=<optimized out>, pkt=0x7f265c004660, backlog=<optimized out>) at src/plumbing/tsfix.c:310
        ref = 3991220708
        dts = <optimized out>
        odts = 3991402308
        opts = 3991402308
        d = <optimized out>
        sm = <optimized out>
#9  0x000056113632f002 in profile_sharer_thread (aux=0x7f263c005dd0) at src/profile.c:892
        prsh = 0x7f263c005dd0
        psm = 0x7f260c02eb00
        run = 1
#10 0x00005611362d9bf5 in thread_wrapper (p=0x7f263c006d10) at src/wrappers.c:161
        set = {__val = {16388, 0 <repeats 15 times>}}
        r = <optimized out>
#11 0x00007f267ca433b4 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#12 0x00007f267ba5176d in clone () from /lib64/libc.so.6
No symbol table info available.

Also available in: Atom PDF