Application that crashed: k3b Version of the application: 1.90.0 KDE Version: 4.3.4 (KDE 4.3.4) Qt Version: 4.6.2 Operating System: Linux 2.6.32-3-686 i686 Distribution: Debian GNU/Linux testing (squeeze) What I was doing when the application crashed: I had 2 windows open - main and the medium copy window. I have switched off the drive with the said medium and closed the medium copy window. K3B crashed. -- Backtrace: Application: K3b (k3b), signal: Segmentation fault [Current thread is 1 (Thread 0xb3490700 (LWP 22720))] Thread 4 (Thread 0xb04e9b70 (LWP 28802)): #0 0xb77da424 in __kernel_vsyscall () #1 0xb3d003d2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0 #2 0xb4640864 in pthread_cond_timedwait () from /lib/i686/cmov/libc.so.6 #3 0xb52ed241 in ?? () from /usr/lib/libQtCore.so.4 #4 0xb52ed3d0 in QThread::sleep(unsigned long) () from /usr/lib/libQtCore.so.4 #5 0xb763f8b9 in K3b::MediaCache::PollThread::run (this=0x8cbd210) at /build/buildd-k3b_1.90.0~rc1-1-i386-F9lsHx/k3b-1.90.0~rc1/libk3b/tools/k3bmediacache.cpp:106 #6 0xb52ed93e in ?? () from /usr/lib/libQtCore.so.4 #7 0xb3cfc585 in start_thread () from /lib/i686/cmov/libpthread.so.0 #8 0xb463329e in clone () from /lib/i686/cmov/libc.so.6 Thread 3 (Thread 0xafce8b70 (LWP 28803)): #0 0xb77da424 in __kernel_vsyscall () #1 0xb3d003d2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0 #2 0xb4640864 in pthread_cond_timedwait () from /lib/i686/cmov/libc.so.6 #3 0xb52ed241 in ?? () from /usr/lib/libQtCore.so.4 #4 0xb52ed3d0 in QThread::sleep(unsigned long) () from /usr/lib/libQtCore.so.4 #5 0xb763f8b9 in K3b::MediaCache::PollThread::run (this=0x8cb67d0) at /build/buildd-k3b_1.90.0~rc1-1-i386-F9lsHx/k3b-1.90.0~rc1/libk3b/tools/k3bmediacache.cpp:106 #6 0xb52ed93e in ?? () from /usr/lib/libQtCore.so.4 #7 0xb3cfc585 in start_thread () from /lib/i686/cmov/libpthread.so.0 #8 0xb463329e in clone () from /lib/i686/cmov/libc.so.6 Thread 2 (Thread 0xaf27fb70 (LWP 28804)): #0 0xb77da424 in __kernel_vsyscall () #1 0xb3d003d2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0 #2 0xb4640864 in pthread_cond_timedwait () from /lib/i686/cmov/libc.so.6 #3 0xb52ed241 in ?? () from /usr/lib/libQtCore.so.4 #4 0xb52ed3d0 in QThread::sleep(unsigned long) () from /usr/lib/libQtCore.so.4 #5 0xb763f8b9 in K3b::MediaCache::PollThread::run (this=0x90d2578) at /build/buildd-k3b_1.90.0~rc1-1-i386-F9lsHx/k3b-1.90.0~rc1/libk3b/tools/k3bmediacache.cpp:106 #6 0xb52ed93e in ?? () from /usr/lib/libQtCore.so.4 #7 0xb3cfc585 in start_thread () from /lib/i686/cmov/libpthread.so.0 #8 0xb463329e in clone () from /lib/i686/cmov/libc.so.6 Thread 1 (Thread 0xb3490700 (LWP 22720)): [KCrash Handler] #6 0x08164295 in K3b::MetaItemModel::subModelForIndex (this=0x8f1fdb0, index=...) at /build/buildd-k3b_1.90.0~rc1-1-i386-F9lsHx/k3b-1.90.0~rc1/src/k3bmetaitemmodel.cpp:356 #7 0x0816a714 in K3b::PlacesModel::itemForIndex (this=0x8ce74d8, index=...) at /build/buildd-k3b_1.90.0~rc1-1-i386-F9lsHx/k3b-1.90.0~rc1/src/k3bplacesmodel.cpp:88 #8 0x0816e2ae in K3b::FileTreeView::slotContextMenu (this=0x8c5b028, pos=...) at /build/buildd-k3b_1.90.0~rc1-1-i386-F9lsHx/k3b-1.90.0~rc1/src/k3bfiletreeview.cpp:186 #9 0x0816f17a in K3b::FileTreeView::qt_metacall (this=0x8c5b028, _c=QMetaObject::InvokeMetaMethod, _id=94, _a=0xbfbb7fe8) at /build/buildd-k3b_1.90.0~rc1-1-i386-F9lsHx/k3b-1.90.0~rc1/obj-i486-linux-gnu/src/k3bfiletreeview.moc:87 #10 0xb53f4aea in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #11 0xb54030b5 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #12 0xb49879e3 in QWidget::customContextMenuRequested(QPoint const&) () from /usr/lib/libQtGui.so.4 #13 0xb4995844 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #14 0xb4d8d4a3 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4 #15 0xb4e27a32 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4 #16 0xb4edc5c7 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4 #17 0xb4f1d95c in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4 #18 0xb4e2a415 in ?? () from /usr/lib/libQtGui.so.4 #19 0xb53eeb8a in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #20 0xb4936bc9 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #21 0xb493db70 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #22 0xb59f3e2a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #23 0xb53ef8eb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #24 0xb49cdbbe in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #25 0xb49c8102 in ?? () from /usr/lib/libQtGui.so.4 #26 0xb49c75ab in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #27 0xb49f56f2 in ?? () from /usr/lib/libQtGui.so.4 #28 0xb3b8c2e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #29 0xb3b90000 in ?? () from /lib/libglib-2.0.so.0 #30 0xb3b90198 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #31 0xb541b2f5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #32 0xb49f5255 in ?? () from /usr/lib/libQtGui.so.4 #33 0xb53edf09 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #34 0xb53ee35a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #35 0xb53f24ef in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #36 0xb4936c87 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #37 0x08181538 in main (argc=1, argv=0xbfbb94d4) at /build/buildd-k3b_1.90.0~rc1-1-i386-F9lsHx/k3b-1.90.0~rc1/src/main.cpp:151 Reported using DrKonqi
SVN commit 1135652 by mmalek: Fixed crash in MetaItemModel - added checking if pointer is not NULL BUG: 235743 M +1 -0 ChangeLog M +10 -12 src/k3bmetaitemmodel.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1135652