Bug 326608

Summary: k3b crash closing the last (unwritten) project
Product: [Applications] k3b Reporter: Thomas Pasch <thomas.pasch>
Component: generalAssignee: Michał Małek <michalm>
Status: RESOLVED DUPLICATE    
Severity: crash CC: trueg
Priority: NOR Keywords: drkonqi
Version: 2.0.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Pasch 2013-10-25 07:29:55 UTC
Application: k3b (2.0.2)
KDE Platform Version: 4.11.2
Qt Version: 4.8.4
Operating System: Linux 3.11.0-12-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:
I fiddled around with the 'floppy emulation boot' stuff, creating 3 k3b burn projects, but writing none of them.

Before closing k3b, I closed the 3 project. The crash was triggered by closing the last one.

This is on Ubuntu 13.10 (saucy, amd64).

-- 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 0x7f34ac4b2800 (LWP 4745))]

Thread 4 (Thread 0x7f3491027700 (LWP 4746)):
#0  0x00007f34a0eb60ea in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f34a0eb63c9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f34a0e75d40 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f34a0e765c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f34a0e767ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f34a712fa76 in QEventDispatcherGlib::processEvents (this=0x7f348c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f34a71015ef in QEventLoop::processEvents (this=this@entry=0x7f3491026d30, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f34a71018e5 in QEventLoop::exec (this=this@entry=0x7f3491026d30, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f34a700088f in QThread::exec (this=this@entry=0x2080760) at thread/qthread.cpp:542
#9  0x00007f34a70e2d13 in QInotifyFileSystemWatcherEngine::run (this=0x2080760) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f34a7002f2f in QThreadPrivate::start (arg=0x2080760) at thread/qthread_unix.cpp:338
#11 0x00007f34a021ff6e in start_thread (arg=0x7f3491027700) at pthread_create.c:311
#12 0x00007f34a5a899cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f3485d71700 (LWP 4947)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f34a7001b7a in thread_sleep (ti=ti@entry=0x7f3485d70d40) at thread/qthread_unix.cpp:475
#2  0x00007f34a70022d6 in QThread::sleep (secs=secs@entry=2) at thread/qthread_unix.cpp:489
#3  0x00007f34abec47f5 in K3b::MediaCache::PollThread::run (this=0x226fe90) at /build/buildd/k3b-2.0.2/libk3b/tools/k3bmediacache.cpp:106
#4  0x00007f34a7002f2f in QThreadPrivate::start (arg=0x226fe90) at thread/qthread_unix.cpp:338
#5  0x00007f34a021ff6e in start_thread (arg=0x7f3485d71700) at pthread_create.c:311
#6  0x00007f34a5a899cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f347fb97700 (LWP 4981)):
#0  0x00007f34a0e75e2b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f34a0e765c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f34a0e767ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f34a712fa76 in QEventDispatcherGlib::processEvents (this=0x7f34740008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f34a71015ef in QEventLoop::processEvents (this=this@entry=0x7f347fb96d30, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f34a71018e5 in QEventLoop::exec (this=this@entry=0x7f347fb96d30, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f34a700088f in QThread::exec (this=this@entry=0x2b75e70) at thread/qthread.cpp:542
#7  0x00007f34a70e2d13 in QInotifyFileSystemWatcherEngine::run (this=0x2b75e70) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f34a7002f2f in QThreadPrivate::start (arg=0x2b75e70) at thread/qthread_unix.cpp:338
#9  0x00007f34a021ff6e in start_thread (arg=0x7f347fb97700) at pthread_create.c:311
#10 0x00007f34a5a899cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f34ac4b2800 (LWP 4745)):
[KCrash Handler]
#6  0x0000000000000070 in ?? ()
#7  0x00007f34abf3b65f in K3b::DataDoc::itemRemovedFromDir (this=0x2b2c330, removedItem=removedItem@entry=0x2e66140) at /build/buildd/k3b-2.0.2/libk3b/projects/datacd/k3bdatadoc.cpp:971
#8  0x00007f34abf3ec9d in K3b::DirItem::takeDataItem (this=this@entry=0x2f4ae00, item=item@entry=0x2e66140) at /build/buildd/k3b-2.0.2/libk3b/projects/datacd/k3bdiritem.cpp:184
#9  0x00007f34abf3ed57 in K3b::DirItem::~DirItem (this=0x2f4ae00, __in_chrg=<optimized out>) at /build/buildd/k3b-2.0.2/libk3b/projects/datacd/k3bdiritem.cpp:71
#10 0x00007f34abf3edc9 in K3b::DirItem::~DirItem (this=0x2f4ae00, __in_chrg=<optimized out>) at /build/buildd/k3b-2.0.2/libk3b/projects/datacd/k3bdiritem.cpp:79
#11 0x00007f34abf3edb1 in K3b::DirItem::~DirItem (this=0x2aa30c0, __in_chrg=<optimized out>) at /build/buildd/k3b-2.0.2/libk3b/projects/datacd/k3bdiritem.cpp:72
#12 0x00007f34abf3edf9 in K3b::RootItem::~RootItem (this=0x2aa30c0, __in_chrg=<optimized out>) at /build/buildd/k3b-2.0.2/libk3b/projects/datacd/k3bdiritem.cpp:429
#13 0x00007f34abf365f1 in ~Private (this=0x278fc10, __in_chrg=<optimized out>) at /build/buildd/k3b-2.0.2/libk3b/projects/datacd/k3bdatadoc.cpp:81
#14 K3b::DataDoc::~DataDoc (this=0x2b2c330, __in_chrg=<optimized out>) at /build/buildd/k3b-2.0.2/libk3b/projects/datacd/k3bdatadoc.cpp:133
#15 0x00007f34abf36809 in K3b::DataDoc::~DataDoc (this=0x2b2c330, __in_chrg=<optimized out>) at /build/buildd/k3b-2.0.2/libk3b/projects/datacd/k3bdatadoc.cpp:134
#16 0x00000000005023f3 in K3b::MainWindow::slotFileClose (this=0x2289fe0, doc=0x2b2c330) at /build/buildd/k3b-2.0.2/src/k3b.cpp:1107
#17 0x0000000000505851 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /build/buildd/k3b-2.0.2/obj-x86_64-linux-gnu/src/k3b.moc:180
#18 K3b::MainWindow::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /build/buildd/k3b-2.0.2/obj-x86_64-linux-gnu/src/k3b.moc:130
#19 0x00007f34a7116a58 in QMetaObject::activate (sender=0x2336e60, m=m@entry=0x575be0 <K3b::ProjectTabWidget::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff778ab420) at kernel/qobject.cpp:3539
#20 0x00000000004f9f2d in K3b::ProjectTabWidget::tabCloseRequested (this=<optimized out>, _t1=0x2b2c330) at /build/buildd/k3b-2.0.2/obj-x86_64-linux-gnu/src/k3bprojecttabwidget.moc:110
#21 0x00007f34a7116a58 in QMetaObject::activate (sender=0x2336e60, m=m@entry=0x7f34a6cdeae0 <QTabWidget::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff778ab550) at kernel/qobject.cpp:3539
#22 0x00007f34a6679311 in QTabWidget::tabCloseRequested (this=<optimized out>, _t1=0) at .moc/release-shared/moc_qtabwidget.cpp:221
#23 0x00007f34a7116a58 in QMetaObject::activate (sender=0x23057a0, m=m@entry=0x7f34a6cde800 <QTabBar::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff778ab680) at kernel/qobject.cpp:3539
#24 0x00007f34a666ee91 in QTabBar::tabCloseRequested (this=<optimized out>, _t1=0) at .moc/release-shared/moc_qtabbar.cpp:222
#25 0x00007f34a7116a58 in QMetaObject::activate (sender=sender@entry=0x2b7a040, m=m@entry=0x7f34a6cf72a0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff778ab7b0) at kernel/qobject.cpp:3539
#26 0x00007f34a6872732 in QAbstractButton::clicked (this=this@entry=0x2b7a040, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#27 0x00007f34a65d5f73 in QAbstractButtonPrivate::emitClicked (this=this@entry=0x2b7a0f0) at widgets/qabstractbutton.cpp:548
#28 0x00007f34a65d70e3 in QAbstractButtonPrivate::click (this=this@entry=0x2b7a0f0) at widgets/qabstractbutton.cpp:541
#29 0x00007f34a65d71cc in QAbstractButton::mouseReleaseEvent (this=0x2b7a040, e=0x7fff778abca0) at widgets/qabstractbutton.cpp:1123
#30 0x00007f34a627431e in QWidget::event (this=0x2b7a040, event=0x7fff778abca0) at kernel/qwidget.cpp:8375
#31 0x00007f34a6224dfc in QApplicationPrivate::notify_helper (this=this@entry=0x1fe8310, receiver=receiver@entry=0x2b7a040, e=e@entry=0x7fff778abca0) at kernel/qapplication.cpp:4567
#32 0x00007f34a622b5ad in QApplication::notify (this=this@entry=0x7fff778ac5e0, receiver=receiver@entry=0x2b7a040, e=e@entry=0x7fff778abca0) at kernel/qapplication.cpp:4110
#33 0x00007f34a7b4ba6a in KApplication::notify (this=0x7fff778ac5e0, receiver=0x2b7a040, event=0x7fff778abca0) at ../../kdeui/kernel/kapplication.cpp:311
#34 0x00007f34a71028bd in QCoreApplication::notifyInternal (this=0x7fff778ac5e0, receiver=receiver@entry=0x2b7a040, event=event@entry=0x7fff778abca0) at kernel/qcoreapplication.cpp:946
#35 0x00007f34a622ad63 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#36 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x2b7a040, event=event@entry=0x7fff778abca0, alienWidget=alienWidget@entry=0x2b7a040, nativeWidget=nativeWidget@entry=0x23057a0, buttonDown=buttonDown@entry=0x7f34a6d092f8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#37 0x00007f34a629f7db in QETWidget::translateMouseEvent (this=this@entry=0x23057a0, event=event@entry=0x7fff778ac020) at kernel/qapplication_x11.cpp:4631
#38 0x00007f34a629f079 in QApplication::x11ProcessEvent (this=0x7fff778ac5e0, event=event@entry=0x7fff778ac020) at kernel/qapplication_x11.cpp:3624
#39 0x00007f34a62c6922 in x11EventSourceDispatch (s=0x1fdd140, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#40 0x00007f34a0e763b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f34a0e76708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f34a0e767ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f34a712fa55 in QEventDispatcherGlib::processEvents (this=0x1f30b00, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#44 0x00007f34a62c69d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007f34a71015ef in QEventLoop::processEvents (this=this@entry=0x7fff778ac400, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007f34a71018e5 in QEventLoop::exec (this=this@entry=0x7fff778ac400, flags=...) at kernel/qeventloop.cpp:204
#47 0x00007f34a7106e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#48 0x00007f34a622334c in QApplication::exec () at kernel/qapplication.cpp:3828
#49 0x00000000004449a2 in main (argc=<optimized out>, argv=0x7fff778ac728) at /build/buildd/k3b-2.0.2/src/main.cpp:165

Possible duplicates by query: bug 305210.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-10-25 09:42:54 UTC

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