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

MythTV noreply at mythtv.org
Tue May 12 16:24:47 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):

 David, I am happy that you are looking into this. Meanwhile I did some
 more tests on this and I found two critical places in the code.

 In scheduler.cpp in AddNewRecords, around line 4500, the foreach 10 lines
 from the start.
 In mainserver.cpp in UpdateSystemdStatus, after comment line "Count active
 recordings",the foreach there.

 When both these two foreach loops are replaced by v30 iterator loops there
 is no crash. All other foreach loops do not matter.

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


More information about the mythtv-commits mailing list