[mythtv-commits] Ticket #12620: Deleting a video causes a segmentation fault and causes all tv recordings to be silently deleted

MythTV noreply at mythtv.org
Tue Jan 26 09:10:35 UTC 2016


#12620: Deleting a video causes a segmentation fault and causes all tv recordings
to be silently deleted
-------------------------------------------------+-------------------------
     Reporter:  William L. DeRieux IV            |      Owner:  jyavenard
  <williamderieux@…>                             |
         Type:  Bug Report - Crash               |     Status:  new
     Priority:  blocker                          |  Milestone:  0.27.6
    Component:  MythTV - Video Library           |    Version:  0.27.5
     Severity:  high                             |   Keywords:
Ticket locked:  0                                |
-------------------------------------------------+-------------------------
 When I delete a video (not a recorded program) through the video
 dialog/library
 I get a segmentation fault and all of the recorded tv programs are
 silently deleted.


 {{{
 Steps to Reproduce:
 1) Have a single video in a folder (I have no videos with metadata and all
 are on local on the master backend)
 2) Have one or more programs recorded
 3) Delete the video from step #1
 4) A segmentation fault is generated
 5) observed that all recorded tv files have been, silently, deleted
 }}}


 Here is the gdb backtrace (for the seg fault)
 {{{
 Program received signal SIGSEGV, Segmentation fault.
 QString::startsWith (this=0x264f5d0, s=..., cs=Qt::CaseSensitive) at
 tools/qstring.cpp:3460
 3460    tools/qstring.cpp: No such file or directory.
 (gdb) bt
 #0  QString::startsWith (this=0x264f5d0, s=..., cs=Qt::CaseSensitive) at
 tools/qstring.cpp:3460
 #1  0x000000000061a901 in VideoDialog::GetCoverImage (this=0x108b800,
 node=0xa97f6b0)
     at videodlg.cpp:1703
 #2  0x000000000061628f in VideoDialog::UpdateItem (this=0x108b800,
 item=0xaaed530) at videodlg.cpp:1263
 #3  0x00000000006159a9 in VideoDialog::loadData (this=0x108b800) at
 videodlg.cpp:1218
 #4  0x000000000061ea2d in VideoDialog::goBack (this=0x108b800) at
 videodlg.cpp:2310
 #5  0x000000000061d424 in VideoDialog::keyPressEvent (this=0x108b800,
 levent=0x7fffffffce40)
     at videodlg.cpp:2083
 #6  0x00007ffff4a9ac1c in MythMainWindow::eventFilter (this=0xc67230,
 e=0x7fffffffce40)
     at mythmainwindow.cpp:2100
 #7  0x00007fffe9b91886 in
 QCoreApplicationPrivate::sendThroughObjectEventFilters (
     this=this at entry=0x9c3e00, receiver=receiver at entry=0xc67230,
 event=event at entry=0x7fffffffce40)
     at kernel/qcoreapplication.cpp:1065
 #8  0x00007fffea41246c in QApplicationPrivate::notify_helper
 (this=this at entry=0x9c3e00,
     receiver=receiver at entry=0xc67230, e=e at entry=0x7fffffffce40) at
 kernel/qapplication.cpp:4566
 #9  0x00007fffea41a6f6 in QApplication::notify (this=<optimized out>,
 receiver=0xc67230,
     e=0x7fffffffce40) at kernel/qapplication.cpp:4011
 #10 0x00007fffe9b9171d in QCoreApplication::notifyInternal (this=0x9c2e80,
     receiver=receiver at entry=0xc67230, event=event at entry=0x7fffffffce40)
     at kernel/qcoreapplication.cpp:955
 #11 0x00007fffea410b36 in sendSpontaneousEvent
 (event=event at entry=0x7fffffffce40,
     receiver=receiver at entry=0xc67230)
     at
 ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
 #12 qt_sendSpontaneousEvent (receiver=receiver at entry=0xc67230,
 event=event at entry=0x7fffffffce40)
     at kernel/qapplication.cpp:5568
 #13 0x00007fffea4b4353 in QKeyMapper::sendKeyEvent
 (keyWidget=keyWidget at entry=0xc67230,
     grab=grab at entry=false, type=QEvent::KeyPress, code=16777216,
 modifiers=..., text=...,
     autorepeat=false, count=1, nativeScanCode=9, nativeVirtualKey=65307,
 nativeModifiers=16)
     at kernel/qkeymapper_x11.cpp:1866
 #14 0x00007fffea4b47f2 in QKeyMapperPrivate::translateKeyEvent
 (this=0x7fffffffd3b0,
     keyWidget=keyWidget at entry=0xc67230, event=0x7fff00000000,
 event at entry=0x7fffffffd3b0,
     grab=grab at entry=false) at kernel/qkeymapper_x11.cpp:1836
 #15 0x00007fffea48e19f in QApplication::x11ProcessEvent (this=0x9c2e80,
     event=event at entry=0x7fffffffd3b0) at kernel/qapplication_x11.cpp:3556
 #16 0x00007fffea4b6ed2 in x11EventSourceDispatch (s=0x9c6410,
 callback=0x0, user_data=0x0)
     at kernel/qguieventdispatcher_glib.cpp:146
 #17 0x00007fffe1d80c5d in g_main_context_dispatch () from /lib/x86_64
 -linux-gnu/libglib-2.0.so.0
 #18 0x00007fffe1d80f48 in ?? () from /lib/x86_64-linux-
 gnu/libglib-2.0.so.0
 #19 0x00007fffe1d80ffc in g_main_context_iteration () from /lib/x86_64
 -linux-gnu/libglib-2.0.so.0
 #20 0x00007fffe9bc0d1d in QEventDispatcherGlib::processEvents
 (this=0x9c4f80, flags=...)
     at kernel/qeventdispatcher_glib.cpp:425
 #21 0x00007fffea4b6f96 in QGuiEventDispatcherGlib::processEvents
 (this=<optimized out>, flags=...)
     at kernel/qguieventdispatcher_glib.cpp:204
 #22 0x00007fffe9b90271 in QEventLoop::processEvents
 (this=this at entry=0x7fffffffd790, flags=...)
     at kernel/qeventloop.cpp:149
 #23 0x00007fffe9b905d5 in QEventLoop::exec
 (this=this at entry=0x7fffffffd790, flags=...)
     at kernel/qeventloop.cpp:204
 #24 0x00007fffe9b96059 in QCoreApplication::exec () at
 kernel/qcoreapplication.cpp:1227
 #25 0x00000000004559f5 in main (argc=1, argv=0x7fffffffe0d8) at
 main.cpp:1786
 }}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12620>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list