[mythtv-commits] Ticket #11906: MythMusic segfaults when scanning for new music

MythTV noreply at mythtv.org
Sat Jan 4 10:12:55 UTC 2014


#11906: MythMusic segfaults when scanning for new music
----------------------------------+----------------------------
 Reporter:  peper03               |          Owner:  paulh
     Type:  Bug Report - General  |         Status:  new
 Priority:  major                 |      Milestone:  unknown
Component:  Plugin - MythMusic    |        Version:  0.27-fixes
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+----------------------------

Comment (by Paul Harrison <pharrison@…>):

 In [changeset:"193dc636e5fa5ac5edd3589094a58e79a6ab779b/mythtv"]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="193dc636e5fa5ac5edd3589094a58e79a6ab779b"
 MythMusic: avoid storing a pointer to the current playlist in the music
 player

 Always get the current playlist from MusicData to avoid possibly
 referencing a
 stale pointer. This can occur while doing a rescan.

 Also add NULL checks everywhere just in case.

 Refs #11906.
 }}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11906#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list