Opened 7 years ago

Closed 7 years ago

#9716 closed Bug Report - Crash (fixed)

assert triggered at cc708decoder.cpp:268 with ATSC

Reported by: jpoet Owned by: danielk
Priority: minor Milestone: 0.25
Component: MythTV - ATSC Version: Master Head
Severity: medium Keywords: mythcommflag mythfrontend playback segfault crash
Cc: Ticket locked: no

Description

Over the past couple of week mythcommflag has been dying on about a quarter of the shows recorded from my local CBS station.

BT attached.

Attachments (2)

commflag-gdb.txt (7.4 KB) - added by jpoet 7 years ago.
BT of abort
sample-runs (3.5 KB) - added by km@… 7 years ago.
successive flag runs on same file

Download all attachments as: .zip

Change History (11)

Changed 7 years ago by jpoet

Attachment: commflag-gdb.txt added

BT of abort

comment:1 Changed 7 years ago by sphery

See, also, #9741 for additional logging and backtrace information.

comment:2 Changed 7 years ago by beirdo

Component: MythTV - MythcommflagMythTV - ATSC
Owner: changed from cpinkham to danielk
Status: newassigned

This is an assert in cc708decoder.cpp. As this is danielk's code, it's likely better off in his queue. Hopefully, a way to recode this without an assert can be found.

comment:3 Changed 7 years ago by km@…

I'm seeing the same error on some recordings from different channels.

comment:4 Changed 7 years ago by robertm

Ticket locked: set

READ THE TICKET HOWTO. ME TOO IS NOT HELPFUL.

comment:5 Changed 7 years ago by danielk

Milestone: unknown0.25
Status: assignedinfoneeded
Ticket locked: unset

I need a sample file that produces this crash, ideally a short sample.

Changed 7 years ago by km@…

Attachment: sample-runs added

successive flag runs on same file

comment:6 Changed 7 years ago by km@…

I don't have a small file right now. I'm attaching the terminal output from some successive runs on a 2GB file which shows that its non-deterministic. Most of the time it aborts in cc708decoder.cpp while searching for logo. A few of the runs get past that, and I abort them manually.

comment:7 Changed 7 years ago by sphery

Keywords: mythfrontend playback crash added
Summary: mythcommflag aborting at cc708decoder.cpp:268 with ATSCassert triggered at cc708decoder.cpp:268 with ATSC

Modifying title so that it's clear (as shown in #9741 and its backtraces) that this can occur during any playback (for example in mythfrontend), and is not limited to only mythcommflag

comment:8 Changed 7 years ago by km@…

I found a small file (20MB), still too large to attach. It's available as

http://www.mathcs.emory.edu/~km/sample.mpg

comment:9 Changed 7 years ago by Github

Resolution: fixed
Status: infoneededclosed

Fixes #9716. for \(int i... shadowed the int i we had declared earlier for that loop so we could check whether the for loop exited prematurely.

Branch: master Changeset: 8a469fc0bc284b137c244fe0c32efb8a6c6078cc

Note: See TracTickets for help on using tickets.