[mythtv-commits] Ticket #12052: MythTV crashes when the filter in video list (tree) view is called after a video was deleted

MythTV noreply at mythtv.org
Mon Feb 10 21:51:31 UTC 2014


#12052: MythTV crashes when the filter in video list (tree) view is called after a
video was deleted
-------------------------------+-------------------------------------------
 Reporter:  angela.schmid@…    |          Owner:  Richard Hulme <peper03@…>
     Type:  Bug Report -       |         Status:  new
  Crash                        |      Milestone:  0.27.1
 Priority:  blocker            |        Version:  Master Head
Component:  MythTV - Video     |     Resolution:
  Library                      |  Ticket locked:  0
 Severity:  high               |
 Keywords:  crash filter tree  |
  view                         |
-------------------------------+-------------------------------------------

Comment (by angela.schmid@…):

 >The second patch is not the same as the first patch. InvalidateCache()
 does more than only set m_metadata_list_type.
 But "m_metadata_list_type = VideoListImp::ltNone" is called twice, within
 Invalidate Cache and after it returns in Delete(). For me this is
 unnecessary, do I oversee something here?

 I am in gallery view, browse by has no influence, as I use the flatten
 directory option.
 The problem also exists in list view, where I have browse by folder set,
 independent if the file is at the top level or in a sub-folder.

 As it crashes with the patch originating from videodlg.cpp (gdb2.txt),
 does videodlg keep a reference at videolist metadata, but doesn't know
 about changes?

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


More information about the mythtv-commits mailing list