Opened 10 years ago

Closed 6 years ago

#12858 closed Bug Report - Crash (Unverified)

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@…> 10 years ago.
verbose debug mythbackend log file
mythbackend--version.txt (938 bytes ) - added by Andy Harvey <Andy@…> 10 years ago.
mythbackend --version
backtrace.txt (41.9 KB ) - added by Andy Harvey <Andy@…> 10 years ago.
gdb backtrace

Download all attachments as: .zip

Change History (5)

by Andy Harvey <Andy@…>, 10 years ago

verbose debug mythbackend log file

by Andy Harvey <Andy@…>, 10 years ago

Attachment: mythbackend--version.txt added

mythbackend --version

by Andy Harvey <Andy@…>, 10 years ago

Attachment: backtrace.txt added

gdb backtrace

comment:1 by andy@…, 10 years ago

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.

comment:2 by Stuart Auchterlonie, 6 years ago

Resolution: Unverified
Status: newclosed

Closing all old tickets in trac.

If your issue still persists, please open an issue in Github https://github.com/MythTV/mythtv/issues

and reference the existing trac ticket.

Note: See TracTickets for help on using tickets.