Opened 15 years ago

Closed 15 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 15 years ago.
BT of abort
sample-runs (3.5 KB ) - added by km@… 15 years ago.
successive flag runs on same file

Download all attachments as: .zip

Change History (11)

by jpoet, 15 years ago

Attachment: commflag-gdb.txt added

BT of abort

comment:1 by sphery, 15 years ago

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

comment:2 by beirdo, 15 years ago

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 by km@…, 15 years ago

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

comment:4 by robertm, 15 years ago

Ticket locked: set

READ THE TICKET HOWTO. ME TOO IS NOT HELPFUL.

comment:5 by danielk, 15 years ago

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

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

by km@…, 15 years ago

Attachment: sample-runs added

successive flag runs on same file

comment:6 by km@…, 15 years ago

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 by sphery, 15 years ago

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 by km@…, 15 years ago

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 by Github, 15 years ago

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.