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

MythTV noreply at mythtv.org
Sun May 10 21:18:53 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:  new
 Priority:  minor               |      Milestone:  32.0
Component:  MythTV - General    |        Version:  Master Head
 Severity:  medium              |     Resolution:
 Keywords:                      |  Ticket locked:  0
--------------------------------+-------------------------------

Comment (by Klaas de Waal):

 The latest crash as reported in comment:24 shows that the problem which
 was thought to be solved by using const everywhere in iterating the
 m_encoderList/m_tvList was not really solved.

 Comparing scheduler.cpp and mainserver.cpp of v30 with v31 shows that
 for/iterator loops over m_encoderList/m_tvList have been replaced by
 foreach loops in v31.

 For testing, I have reverted all foreach loops in scheduler.cpp and
 mainserver.cpp to the for/iterator loops from v30.

 The result is that the test code in comment:11 does not crash anymore.
 This does not prove that this also solves the crash reported in comment:24
 but given that the problem appeared when moving from v30 to v31 it is not
 impossible.

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


More information about the mythtv-commits mailing list