Bug 320672

Summary: Crash when clicking on DVD drive to start session
Product: [Applications] k3b Reporter: Frank Luet <roundfile>
Component: generalAssignee: Michał Małek <michalm>
Status: RESOLVED DUPLICATE    
Severity: crash CC: koma55, memilanuk, riskriskyrisker, trueg
Priority: NOR    
Version: 2.0.2   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Frank Luet 2013-06-03 17:37:47 UTC
Application: k3b (2.0.2)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.2
Operating System: Linux 3.2.0-4-amd64 x86_64
Distribution: Debian GNU/Linux 7.0 (wheezy)

-- Information about the crash:
I've just upgraded from Debian Squeezy to Wheezy. K3b starts up but crashes everytime a click on the DVD drive. I can hear the drive being accessed for a few moments before K3b crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: K3b (k3b), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fea38422780 (LWP 2385))]

Thread 4 (Thread 0x7fea1cdf4700 (LWP 2388)):
#0  0x00007fea324c951f in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fea324b1e18 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fea2e077624 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fea2e077744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fea338d5296 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007fea338a58af in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fea338a5b38 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007fea337a8d70 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007fea338861bf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007fea337abd0b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007fea2de17b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007fea324bca7d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fea10f1b700 (LWP 2416)):
#0  0x00007fea2de1c64b in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fea337aa956 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007fea337ab0f6 in QThread::sleep(unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007fea37e67155 in K3b::MediaCache::PollThread::run (this=0x29c51f0) at /build/k3b-chidFA/k3b-2.0.2/libk3b/tools/k3bmediacache.cpp:106
#4  0x00007fea337abd0b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007fea2de17b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007fea324bca7d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fea1071a700 (LWP 2417)):
#0  0x00007fea2de1c64b in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fea337aa956 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007fea337ab0f6 in QThread::sleep(unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007fea37e67155 in K3b::MediaCache::PollThread::run (this=0x29c6910) at /build/k3b-chidFA/k3b-2.0.2/libk3b/tools/k3bmediacache.cpp:106
#4  0x00007fea337abd0b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007fea2de17b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007fea324bca7d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fea38422780 (LWP 2385)):
[KCrash Handler]
#5  0x00007fea37f213c7 in K3b::VideoDVD::VideoDVD::open (this=0x2ac7c88, dev=0x29bb7e0) at /build/k3b-chidFA/k3b-2.0.2/libk3b/videodvd/k3bvideodvd.cpp:227
#6  0x000000000053a355 in K3b::VideoDVDRippingView::reloadMedium (this=0x2ac5620) at /build/k3b-chidFA/k3b-2.0.2/src/rip/videodvd/k3bvideodvdrippingview.cpp:217
#7  0x0000000000500120 in K3b::DirView::showMediumInfo (this=this@entry=0x2a62310, medium=...) at /build/k3b-chidFA/k3b-2.0.2/src/k3bdirview.cpp:193
#8  0x0000000000500322 in K3b::DirView::showDevice (this=0x2a62310, dev=0x29bb7e0) at /build/k3b-chidFA/k3b-2.0.2/src/k3bdirview.cpp:167
#9  0x0000000000500b94 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /build/k3b-chidFA/k3b-2.0.2/obj-x86_64-linux-gnu/src/k3bdirview.moc:76
#10 K3b::DirView::qt_static_metacall (_o=0x2a62310, _c=QMetaObject::ReadProperty, _id=0, _a=0x1) at /build/k3b-chidFA/k3b-2.0.2/obj-x86_64-linux-gnu/src/k3bdirview.moc:65
#11 0x00007fea338bc54f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#12 0x00000000004fd6c0 in K3b::FileTreeView::activated (this=this@entry=0x2a184d0, _t1=_t1@entry=0x29bb7e0) at /build/k3b-chidFA/k3b-2.0.2/obj-x86_64-linux-gnu/src/k3bfiletreeview.moc:127
#13 0x00000000004fd71c in K3b::FileTreeView::slotClicked (this=0x2a184d0, index=...) at /build/k3b-chidFA/k3b-2.0.2/src/k3bfiletreeview.cpp:165
#14 0x00007fea338bc54f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#15 0x00007fea33155bc5 in QAbstractItemView::clicked(QModelIndex const&) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#16 0x00007fea33157652 in QAbstractItemView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#17 0x00007fea32c9fe10 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#18 0x00007fea3304ad36 in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007fea33158223 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007fea3319b971 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#21 0x00007fea338a6cc6 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#22 0x00007fea32c506dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007fea32c553eb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007fea34332886 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#25 0x00007fea338a6b5e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007fea32c5154b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#27 0x00007fea32ccbfc4 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007fea32ccad51 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#29 0x00007fea32cf1bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#30 0x00007fea2e077355 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fea2e077688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fea2e077744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fea338d5276 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#34 0x00007fea32cf183e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#35 0x00007fea338a58af in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#36 0x00007fea338a5b38 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#37 0x00007fea338aacf8 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#38 0x0000000000448dfb in main (argc=1, argv=0x7fff20fc9cf8) at /build/k3b-chidFA/k3b-2.0.2/src/main.cpp:151

This bug may be a duplicate of or related to bug 259755.

Possible duplicates by query: bug 315177, bug 303824, bug 302322.

Reported using DrKonqi
Comment 1 Frank Luet 2013-06-03 19:05:57 UTC
I tried it with a couple of other DVDs and have had mixed results. One dvd worked with no problems. The second crashed k3b upon first try but second try it worked with no problem. The only noticed difference was that the second dvd had the movie player start up at about the same time as I clicked on the K3b drive display to select it. I closed the movie player and the second time it worked. The one that crashes every time is "Pixar Short Films Collection 2"
Comment 2 Jekyll Wu 2013-08-05 08:52:28 UTC
*** Bug 323174 has been marked as a duplicate of this bug. ***
Comment 3 Jekyll Wu 2013-08-10 12:07:02 UTC
*** Bug 323335 has been marked as a duplicate of this bug. ***
Comment 4 Jekyll Wu 2013-10-13 11:44:41 UTC
*** Bug 325961 has been marked as a duplicate of this bug. ***
Comment 5 Jekyll Wu 2013-11-06 09:15:28 UTC

*** This bug has been marked as a duplicate of bug 259755 ***