[mythtv-commits] Ticket #13571: Crash of backend on delete of program being recorded

MythTV noreply at mythtv.org
Thu Apr 9 11:17:08 UTC 2020


#13571: Crash of backend on delete of program being recorded
--------------------------------+-------------------------------
 Reporter:  Klaas de Waal       |          Owner:  Klaas de Waal
     Type:  Bug Report - Crash  |         Status:  closed
 Priority:  minor               |      Milestone:  31.1
Component:  MythTV - General    |        Version:  Master Head
 Severity:  medium              |     Resolution:  fixed
 Keywords:                      |  Ticket locked:  0
--------------------------------+-------------------------------
Changes (by Klaas de Waal <kdewaal@…>):

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


Comment:

 In [changeset:"4192aab4d31301596b506c47507e8c3d872cc18f/mythtv"
 4192aab4d/mythtv]:
             {{{
             #!CommitTicketReference repository="mythtv"
 revision="4192aab4d31301596b506c47507e8c3d872cc18f"
             Use const_iterator for QMap m_encoderList

 Use const_iterator, constBegin, constEnd and constFind while accessing
 the tvList and pointers to the tvList such as m_encoderList and m_tvList.
 This fixes the problem of crashing while deleting a recording.
 When deleting, the m_encoderList is accessed by more than one thread.
 The QMap is documented to be re-entrant but this appears to be only the
 case
 when the QMap is accessed with the const variants of the member functions.

 Fixes #13571
             }}}

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


More information about the mythtv-commits mailing list