[mythtv-commits] Ticket #10616: mythtranscode segfaults if called with --fifoinfo

MythTV noreply at mythtv.org
Wed Apr 18 01:51:32 UTC 2012


#10616: mythtranscode segfaults if called with --fifoinfo
------------------------------------+----------------------------
 Reporter:  furti@…                 |          Owner:  beirdo
     Type:  Bug Report - Crash      |         Status:  closed
 Priority:  minor                   |      Milestone:  unknown
Component:  MythTV - Mythtranscode  |        Version:  0.25-fixes
 Severity:  medium                  |     Resolution:  fixed
 Keywords:                          |  Ticket locked:  0
------------------------------------+----------------------------
Changes (by Gavin Hurlbut <ghurlbut@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:c5a9262355a51b2d2b0465234d79b527c3907e84/mythtv]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="c5a9262355a51b2d2b0465234d79b527c3907e84"
 Convert the use of player_ctx in mythtranscode to QPointer<>

 We have far too many places in the transcode code path that delete
 player_ctx
 and return.  Unfortunately, freeing "transcode" also will try to delee
 player_ctx, but it's already deleted, and not nulled out.  Rather than
 putting
 many instances of "player_ctx = NULL", I opted to make PlayerContext a
 QObject, and then just use QPointer<PlayerContext> as this will clear
 itself
 to NULL as soon as it is destroyed.

 Fixes #10616
 }}}

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10616#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list