[mythtv-commits] Ticket #10616: mythtranscode segfaults if called with --fifoinfo
MythTV
noreply at mythtv.org
Wed Apr 25 19:16:43 UTC 2012
#10616: mythtranscode segfaults if called with --fifoinfo
------------------------------------+----------------------------
Reporter: furti@… | Owner: beirdo
Type: Bug Report - Crash | Status: new
Priority: minor | Milestone: 0.25.1
Component: MythTV - Mythtranscode | Version: 0.25-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
------------------------------------+----------------------------
Changes (by danielk):
* status: closed => new
* resolution: fixed =>
Comment:
Gavin, when I saw the QPointer<> fix I suspected there was a deeper
problem here and there is. A PlayerContext takes ownership of the
MythPlayer and input RingBuffer, but we're keeping pointers to them in
Transcode which become invalid as soon as the PlayerContext is deleted.
I've attached a patch which both manages the PlayerContext pointer and
makes sure we don't keep any pointers to delete MythPlayer and RingBuffer
instances around.
I haven't tested this patch at all. If you would like me to take ownership
of this ticket let me know, otherwise I'm pretty sure you can use this as
is.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10616#comment:9>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list