Opened 3 years ago

Last modified 3 years ago

#12858 new Bug Report - Crash

Repeat segment violations in TryWriteProgStartMark() until padded recording reaches schedules start time

Reported by: Andy Harvey <Andy@…> Owned by:
Priority: minor Milestone: unknown
Component: MythTV - General Version: 0.28.0
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Fedora mythtv 0.28-3.fc23.

When recording from an STB using a USBTV grabber, when using padded start time I get segment violations until the recording has passed the scheduled start time of a program. Each time mythbackend records for about 1.8s then crashes and starts again. After the scheduled start time of the program the crashes no longer happens.

This only happens when using the USBTV device. Recording from a DVB-S card does not fail. The USBTV device is a Fushicai USBTV007 Audio-Video Grabber, MythTV creates MPEG-4 Visual .nuv files.

Attachments (3)

mythbackend.20160818132954.7322.log_extract (168.9 KB) - added by Andy Harvey <Andy@…> 3 years ago.
verbose debug mythbackend log file
mythbackend--version.txt (938 bytes) - added by Andy Harvey <Andy@…> 3 years ago.
mythbackend --version
backtrace.txt (41.9 KB) - added by Andy Harvey <Andy@…> 3 years ago.
gdb backtrace

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by Andy Harvey <Andy@…>

verbose debug mythbackend log file

Changed 3 years ago by Andy Harvey <Andy@…>

Attachment: mythbackend--version.txt added

mythbackend --version

Changed 3 years ago by Andy Harvey <Andy@…>

Attachment: backtrace.txt added

gdb backtrace

comment:1 Changed 3 years ago by andy@…

Further information.

TryWriteProgStartMark?() sets last_it = durationDeltaCopy.end() then decrements it, to get the last item, however I think for the case of the NuppelVideoRecorder? there are no items in durationDeltaCopy. durationDeltaCopy.size() returns zero.

I patched TryWriteProgStartMark?() to do nothing if there are no items in the map and the SEGVs went away. There is then no progstart mark for the recording.

Note: See TracTickets for help on using tickets.