Bug 302322

Summary: K3B crashes when copying a DVD.
Product: [Applications] k3b Reporter: PattiMichelle <miche1>
Component: generalAssignee: Michał Małek <michalm>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee, trueg
Priority: NOR    
Version: 2.0.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description PattiMichelle 2012-06-22 01:15:42 UTC
Application: k3b (2.0.2)
KDE Platform Version: 4.7.2 (4.7.2) "release 5"
Qt Version: 4.7.4
Operating System: Linux 3.1.10-1.9-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

- Unusual behavior I noticed:

K3B crashes when copying a DVD.  I also noticed that dvdrip has some related behavior - when it tries to read the table of contents, memory fills up!  I can watch it climb up to 16GB (the size of my system) and then everything freezes.  I assume this happens in K3B also, but it crashes before the memory fills up.  So the DVD encryption is hostile to the OS.

OpenSuSE 12.1  x64 
Phenom II x6 black
16GB memory

The crash can be reproduced every time.

-- Backtrace:
Application: K3b (k3b), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fef1c68a820 (LWP 4594))]

Thread 3 (Thread 0x7fef03f36700 (LWP 4595)):
#0  0x00007fef165e2ff3 in poll () from /lib64/libc.so.6
#1  0x00007fef11d8fa98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fef11d8ff59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fef179d7586 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007fef179aba32 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007fef179abc2f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007fef178c35df in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007fef1798eaff in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007fef178c6025 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007fef162fbf05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fef165ec10d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7feef8a17700 (LWP 4650)):
#0  0x00007fef163001eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fef178c5308 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00007fef178c56a6 in QThread::sleep(unsigned long) () from /usr/lib64/libQtCore.so.4
#3  0x00007fef1bf6db1a in K3b::MediaCache::PollThread::run (this=0xa51e70) at /usr/src/debug/k3b-2.0.2/libk3b/tools/k3bmediacache.cpp:106
#4  0x00007fef178c6025 in ?? () from /usr/lib64/libQtCore.so.4
#5  0x00007fef162fbf05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fef165ec10d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fef1c68a820 (LWP 4594)):
[KCrash Handler]
#6  0x00007fef1c03981d in K3b::VideoDVD::VideoDVD::open (this=0xb82738, dev=0xa74a90) at /usr/src/debug/k3b-2.0.2/libk3b/videodvd/k3bvideodvd.cpp:227
#7  0x0000000000553e69 in K3b::VideoDVDRippingView::reloadMedium (this=0xb80190) at /usr/src/debug/k3b-2.0.2/src/rip/videodvd/k3bvideodvdrippingview.cpp:217
#8  0x00000000005140d8 in K3b::DirView::showMediumInfo (this=0x9d4e60, medium=...) at /usr/src/debug/k3b-2.0.2/src/k3bdirview.cpp:193
#9  0x00000000005142f2 in K3b::DirView::showDevice (this=0x9d4e60, dev=0xa74a90) at /usr/src/debug/k3b-2.0.2/src/k3bdirview.cpp:167
#10 0x000000000051ca54 in K3b::MainWindow::videoDvdRip (this=0xa41e10, dev=0xa74a90) at /usr/src/debug/k3b-2.0.2/src/k3b.cpp:1603
#11 0x000000000051e306 in K3b::MainWindow::qt_metacall (this=0xa41e10, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0x7fff41c63770) at /usr/src/debug/k3b-2.0.2/build/src/k3b.moc:185
#12 0x00007fef179bf5aa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#13 0x00007fef16d75622 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
#14 0x00007fef16d7580f in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
#15 0x00007fef171aba09 in ?? () from /usr/lib64/libQtGui.so.4
#16 0x00007fef171b1642 in ?? () from /usr/lib64/libQtGui.so.4
#17 0x00007fef184bfd40 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libkdeui.so.5
#18 0x00007fef16dcc306 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#19 0x00007fef171b2bab in QMenu::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#20 0x00007fef16d7bc34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#21 0x00007fef16d813bb in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#22 0x00007fef183fde36 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#23 0x00007fef179ac82c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#24 0x00007fef16d7cc02 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#25 0x00007fef16df9271 in ?? () from /usr/lib64/libQtGui.so.4
#26 0x00007fef16df7a9a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#27 0x00007fef16e1f312 in ?? () from /usr/lib64/libQtGui.so.4
#28 0x00007fef11d8f58d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#29 0x00007fef11d8fd88 in ?? () from /usr/lib64/libglib-2.0.so.0
#30 0x00007fef11d8ff59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#31 0x00007fef179d751f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#32 0x00007fef16e1ef9e in ?? () from /usr/lib64/libQtGui.so.4
#33 0x00007fef179aba32 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#34 0x00007fef179abc2f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#35 0x00007fef171aeb21 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib64/libQtGui.so.4
#36 0x00000000005012a1 in K3b::WelcomeWidget::slotMoreActions (this=0x9ceaf0) at /usr/src/debug/k3b-2.0.2/src/k3bwelcomewidget.cpp:285
#37 0x0000000000501821 in K3b::WelcomeWidget::qt_metacall (this=0x9ceaf0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/k3b-2.0.2/build/src/k3bwelcomewidget.moc:75
#38 0x00007fef179bf5aa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#39 0x00007fef1712e641 in ?? () from /usr/lib64/libQtGui.so.4
#40 0x00007fef1712f07c in QAbstractButton::mousePressEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#41 0x00007fef16dcc5e9 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#42 0x00007fef16d7bc34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#43 0x00007fef16d813bb in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#44 0x00007fef183fde36 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#45 0x00007fef179ac82c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#46 0x00007fef16d7cc02 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#47 0x00007fef16df8bc5 in ?? () from /usr/lib64/libQtGui.so.4
#48 0x00007fef16df7a9a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#49 0x00007fef16e1f312 in ?? () from /usr/lib64/libQtGui.so.4
#50 0x00007fef11d8f58d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#51 0x00007fef11d8fd88 in ?? () from /usr/lib64/libglib-2.0.so.0
#52 0x00007fef11d8ff59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#53 0x00007fef179d751f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#54 0x00007fef16e1ef9e in ?? () from /usr/lib64/libQtGui.so.4
#55 0x00007fef179aba32 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#56 0x00007fef179abc2f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#57 0x00007fef179afdf7 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#58 0x0000000000449462 in main (argc=1, argv=0x7fff41c672c8) at /usr/src/debug/k3b-2.0.2/src/main.cpp:151

Possible duplicates by query: bug 283496.

Reported using DrKonqi
Comment 1 PattiMichelle 2012-06-22 01:17:13 UTC
I needed to add that this happens to only 1 DVD that I know of.  It is a recent DVD.  It plays correctly on my DVD player (not blue ray).
Comment 2 Jekyll Wu 2012-06-22 02:34:46 UTC

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