[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


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

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