Opened 13 years ago

Closed 13 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 13 years ago.
gdb output
eitscanner-segv.diff (478 bytes) - added by Stuart Auchterlonie 13 years ago.
patch

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by Stuart Auchterlonie

Attachment: backend-r9664.log added

gdb output

Changed 13 years ago by Stuart Auchterlonie

Attachment: eitscanner-segv.diff added

patch

comment:1 Changed 13 years ago by danielk

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.