Bug 253639

Summary: K3b crashing when exiting
Product: [Applications] k3b Reporter: mathieu.simard.14
Component: generalAssignee: Michał Małek <michalm>
Status: RESOLVED FIXED    
Severity: crash CC: trueg
Priority: NOR    
Version: 2.0.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 2.0.2

Description mathieu.simard.14 2010-10-09 03:27:41 UTC
Application: k3b (2.0.1)
KDE Platform Version: 4.5.2 (KDE 4.5.2) "release 5"
Qt Version: 4.7.0
Operating System: Linux 2.6.34.7-0.3-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
I press the "x" (exit button) in the corner to close K3B after canseling an operation.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f31324b8710 (LWP 8158)):
#0  0x00007f31483ea709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3149bf7675 in thread_sleep (ti=0x7f31324b7db0) at thread/qthread_unix.cpp:416
#2  0x00007f3149bf7826 in QThread::sleep (secs=<value optimized out>) at thread/qthread_unix.cpp:430
#3  0x00007f314dd9043d in K3b::MediaCache::PollThread::run (this=0xa82540) at /usr/src/debug/k3b-2.0.1/libk3b/tools/k3bmediacache.cpp:106
#4  0x00007f3149bf78be in QThreadPrivate::start (arg=0xa82540) at thread/qthread_unix.cpp:266
#5  0x00007f31483e5a4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f314894582d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f314e4b4760 (LWP 8035)):
[KCrash Handler]
#6  0x0000000000000111 in ?? ()
#7  0x00007f314dd94f85 in K3bQProcess::~K3bQProcess (this=0x996330, __in_chrg=<value optimized out>) at /usr/src/debug/k3b-2.0.1/libk3b/tools/qprocess/k3bqprocess.cpp:902
#8  0x00007f314dd93379 in K3b::Process::~Process (this=0x996330, __in_chrg=<value optimized out>) at /usr/src/debug/k3b-2.0.1/libk3b/tools/k3bprocess.cpp:119
#9  0x0000000000555e64 in K3b::VideoDVDRippingPreview::~VideoDVDRippingPreview (this=0xb6f3d0, __in_chrg=<value optimized out>)
    at /usr/src/debug/k3b-2.0.1/src/rip/videodvd/k3bvideodvdrippingpreview.cpp:40
#10 0x0000000000555ea9 in K3b::VideoDVDRippingPreview::~VideoDVDRippingPreview (this=0xb6f3d0, __in_chrg=<value optimized out>)
    at /usr/src/debug/k3b-2.0.1/src/rip/videodvd/k3bvideodvdrippingpreview.cpp:42
#11 0x00007f3149cf4f34 in QObjectPrivate::deleteChildren (this=0xb70e50) at kernel/qobject.cpp:1949
#12 0x00007f3149cf9be2 in QObject::~QObject (this=0xb70e30, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945
#13 0x00007f3149cd6e87 in QAbstractItemModel::~QAbstractItemModel (this=0xb70e30, __in_chrg=<value optimized out>) at kernel/qabstractitemmodel.cpp:1370
#14 0x0000000000558819 in K3b::VideoDVDTitleModel::~VideoDVDTitleModel (this=0xb70e30, __in_chrg=<value optimized out>) at /usr/src/debug/k3b-2.0.1/src/rip/videodvd/k3bvideodvdtitlemodel.cpp:174
#15 0x00007f3149cf4f34 in QObjectPrivate::deleteChildren (this=0xb6b6d0) at kernel/qobject.cpp:1949
#16 0x00007f31490f28f0 in QWidget::~QWidget (this=0xb6b670, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1589
#17 0x0000000000547409 in K3b::VideoDVDRippingView::~VideoDVDRippingView (this=0xb6b670, __in_chrg=<value optimized out>) at /usr/src/debug/k3b-2.0.1/src/rip/videodvd/k3bvideodvdrippingview.cpp:126
#18 0x00007f3149cf4f34 in QObjectPrivate::deleteChildren (this=0x9b8c90) at kernel/qobject.cpp:1949
#19 0x00007f31490f28f0 in QWidget::~QWidget (this=0xa5b4c0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1589
#20 0x00007f31494f9429 in QStackedWidget::~QStackedWidget (this=0xa5b4c0, __in_chrg=<value optimized out>) at widgets/qstackedwidget.cpp:151
#21 0x00007f3149cf4f34 in QObjectPrivate::deleteChildren (this=0xa5cae0) at kernel/qobject.cpp:1949
#22 0x00007f31490f28f0 in QWidget::~QWidget (this=0xa03d40, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1589
#23 0x0000000000506ac9 in K3b::DirView::~DirView (this=0xa03d40, __in_chrg=<value optimized out>) at /usr/src/debug/k3b-2.0.1/src/k3bdirview.cpp:153
#24 0x00007f3149cf4f34 in QObjectPrivate::deleteChildren (this=0xa44450) at kernel/qobject.cpp:1949
#25 0x00007f31490f28f0 in QWidget::~QWidget (this=0xa50070, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1589
#26 0x00007f314948a619 in QDockWidget::~QDockWidget (this=0xa50070, __in_chrg=<value optimized out>) at widgets/qdockwidget.cpp:1181
#27 0x00007f3149cf4f34 in QObjectPrivate::deleteChildren (this=0xa73d60) at kernel/qobject.cpp:1949
#28 0x00007f31490f28f0 in QWidget::~QWidget (this=0xaf0e50, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1589
#29 0x00007f314a6c7b77 in KMainWindow::~KMainWindow (this=0xaf0e50, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.2/kdeui/widgets/kmainwindow.cpp:467
#30 0x000000000050fd31 in K3b::MainWindow::~MainWindow (this=0xaf0e50, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/k3b-2.0.1/src/k3b.cpp:275
#31 0x000000000050fd89 in K3b::MainWindow::~MainWindow (this=0xaf0e50, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/k3b-2.0.1/src/k3b.cpp:278
#32 0x00007f3149cf6808 in QObject::event (this=0xaf0e50, e=<value optimized out>) at kernel/qobject.cpp:1194
#33 0x00007f31490f701d in QWidget::event (this=0xaf0e50, event=0x1558c30) at kernel/qwidget.cpp:8646
#34 0x00007f31494b8f7b in QMainWindow::event (this=0xaf0e50, event=0x1558c30) at widgets/qmainwindow.cpp:1417
#35 0x00007f314a6a0bb3 in KXmlGuiWindow::event (this=0xaf0e50, ev=0x1558c30) at /usr/src/debug/kdelibs-4.5.2/kdeui/xmlgui/kxmlguiwindow.cpp:130
#36 0x00007f31490a5f34 in QApplicationPrivate::notify_helper (this=0x7fde40, receiver=0xaf0e50, e=0x1558c30) at kernel/qapplication.cpp:4396
#37 0x00007f31490ae35a in QApplication::notify (this=<value optimized out>, receiver=0xaf0e50, e=0x1558c30) at kernel/qapplication.cpp:4277
#38 0x00007f314a625796 in KApplication::notify (this=0x7ffffc6957d0, receiver=0xaf0e50, event=0x1558c30) at /usr/src/debug/kdelibs-4.5.2/kdeui/kernel/kapplication.cpp:310
#39 0x00007f3149ce29dc in QCoreApplication::notifyInternal (this=0x7ffffc6957d0, receiver=0xaf0e50, event=0x1558c30) at kernel/qcoreapplication.cpp:732
#40 0x00007f3149ce6185 in sendEvent (receiver=0x0, event_type=0, data=0x7ce4d0) at kernel/qcoreapplication.h:215
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x7ce4d0) at kernel/qcoreapplication.cpp:1373
#42 0x00007f3149d0d463 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#43 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#44 0x00007f31438bea93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#45 0x00007f31438bf270 in ?? () from /usr/lib64/libglib-2.0.so.0
#46 0x00007f31438bf510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#47 0x00007f3149d0d5ff in QEventDispatcherGlib::processEvents (this=0x7d3f40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#48 0x00007f3149149eee in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#49 0x00007f3149ce1e12 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#50 0x00007f3149ce2025 in QEventLoop::exec (this=0x7ffffc695720, flags=...) at kernel/qeventloop.cpp:201
#51 0x00007f3149ce643b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#52 0x0000000000512ff2 in main (argc=3, argv=0x7ffffc6963b8) at /usr/src/debug/k3b-2.0.1/src/main.cpp:151

Reported using DrKonqi
Comment 1 Michał Małek 2010-10-14 22:22:39 UTC
This should be fixed by commits 1171692 (http://websvn.kde.org/?view=rev&revision=1171692) and 1171693 (http://websvn.kde.org/?view=rev&revision=1171693). See also bug 249941.