Opened 20 years ago

Closed 20 years ago

#1664 closed patch (fixed)

r9664 segv on starting recording

Reported by: Stuart Auchterlonie Owned by: danielk
Priority: minor Milestone: 0.20
Component: dvb Version: head
Severity: medium Keywords: eit segv
Cc: Ticket locked: no

Description

When starting a recording after the backend has been doing eit scans the backend segfaults as it attempts to start.

This is because when tv_rec performs TeardownSIParser it firstly calls StopPassiveScan() and then scanner->StopActiveScan(). StopActiveScan() also calls StopPassiveScan. StopPassiveScan is setting parser = NULL and therefore the 2nd time through is dereferencing a NULL pointer

Attachments (2)

backend-r9664.log (18.1 KB ) - added by Stuart Auchterlonie 20 years ago.
gdb output
eitscanner-segv.diff (478 bytes ) - added by Stuart Auchterlonie 20 years ago.
patch

Download all attachments as: .zip

Change History (3)

by Stuart Auchterlonie, 20 years ago

Attachment: backend-r9664.log added

gdb output

by Stuart Auchterlonie, 20 years ago

Attachment: eitscanner-segv.diff added

patch

comment:1 by danielk, 20 years ago

Resolution: fixed
Status: newclosed

Looks like this has already been fixed by changeset [9669].

Note: See TracTickets for help on using tickets.