Bug 297560 - Dolphin Crash after removing CD and accidentally clicking on still visible "eject disk" menu item
Summary: Dolphin Crash after removing CD and accidentally clicking on still visible "e...
Status: RESOLVED DUPLICATE of bug 254043
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 2.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-05 22:09 UTC by Thomas Murach
Modified: 2012-04-06 02:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Murach 2012-04-05 22:09:00 UTC
Application: dolphin (2.0)
KDE Platform Version: 4.8.00 (4.8.0 "release 462"
Qt Version: 4.8.1
Operating System: Linux 3.1.9-1.4-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

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

I had to deal with a CD. When I eventually wanted to eject the CD, I right-clicked on the left hand side menu item corresponding to the CD, selected "eject disk" and then usually you have to wait for some seconds before the disk actually gets ejected. During that time I right-clicked again, and by chance the disk was ejected just at this moment. So I removed the disk, closed the CD tray, and in Dolphin the menu entry for CD disappeared. BUT the menu which opened after right-clicking on the once existing CD menu entry was still there, and when you select sth. like "eject disk", Dolphin crashes.

For sure this is nothing too serious, but anyway, a hard crash shouldn't happen. In my case I had several sftp / fish tabs open, so it wasn't too easy to get back to the state before the crash :/

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fe4564c7760 (LWP 6180))]

Thread 2 (Thread 0x7fe4440c2700 (LWP 6181)):
#0  0x00007fe454d64ea4 in pthread_getspecific () from /lib64/libpthread.so.0
#1  0x00007fe4508b8edd in g_thread_self () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe450892f49 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fe4551242e6 in QEventDispatcherGlib::processEvents (this=0x7fe43c0008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fe4550f4012 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fe4550f4267 in QEventLoop::exec (this=0x7fe4440c1df0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fe454ff4547 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fe4550d3dff in QInotifyFileSystemWatcherEngine::run (this=0x7f7a10) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fe454ff756b in QThreadPrivate::start (arg=0x7f7a10) at thread/qthread_unix.cpp:298
#9  0x00007fe454d5ff05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fe453ac010d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fe4564c7760 (LWP 6180)):
[KCrash Handler]
#6  ref (this=0x200000008) at ../../src/corelib/arch/qatomic_x86_64.h:121
#7  QDomNode::QDomNode (this=0x7ffff02e5350, n=...) at dom/qdom.cpp:2040
#8  0x00007fe44e10babd in ?? () from /usr/lib64/libkfile.so.4
#9  0x00007fe44e10baf9 in ?? () from /usr/lib64/libkfile.so.4
#10 0x00007fe44e10df09 in KFilePlacesModel::deviceForIndex(QModelIndex const&) const () from /usr/lib64/libkfile.so.4
#11 0x00007fe44e10eee7 in KFilePlacesModel::requestTeardown(QModelIndex const&) () from /usr/lib64/libkfile.so.4
#12 0x00007fe44e118ce9 in KFilePlacesView::contextMenuEvent(QContextMenuEvent*) () from /usr/lib64/libkfile.so.4
#13 0x00007fe4542ad534 in QWidget::event (this=0x9e6b20, event=0x7ffff02e65c0) at kernel/qwidget.cpp:8529
#14 0x00007fe454668fb6 in QFrame::event (this=0x9e6b20, e=0x7ffff02e65c0) at widgets/qframe.cpp:557
#15 0x00007fe45477d57b in QAbstractItemView::viewportEvent (this=0x9e6b20, event=0x7ffff02e65c0) at itemviews/qabstractitemview.cpp:1644
#16 0x00007fe4550f53b8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x9e6af0, event=0x7ffff02e65c0) at kernel/qcoreapplication.cpp:986
#17 0x00007fe45425d09f in notify_helper (e=0x7ffff02e65c0, receiver=0x9e6af0, this=0x69af20) at kernel/qapplication.cpp:4550
#18 QApplicationPrivate::notify_helper (this=0x69af20, receiver=0x9e6af0, e=0x7ffff02e65c0) at kernel/qapplication.cpp:4526
#19 0x00007fe45426240d in QApplication::notify (this=<optimized out>, receiver=0x9e6af0, e=0x7ffff02e65c0) at kernel/qapplication.cpp:4176
#20 0x00007fe455eb4786 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#21 0x00007fe4550f522c in QCoreApplication::notifyInternal (this=0x7ffff02e7290, receiver=0x9e6af0, event=0x7ffff02e65c0) at kernel/qcoreapplication.cpp:876
#22 0x00007fe4542d9ee8 in sendSpontaneousEvent (event=0x7ffff02e65c0, receiver=0x9e6af0) at ../../src/corelib/kernel/qcoreapplication.h:234
#23 QETWidget::translateMouseEvent (this=<optimized out>, event=<optimized out>) at kernel/qapplication_x11.cpp:4518
#24 0x00007fe4542d8d4a in QApplication::x11ProcessEvent (this=0x7ffff02e7290, event=0x7ffff02e6e50) at kernel/qapplication_x11.cpp:3636
#25 0x00007fe454300ae2 in x11EventSourceDispatch (s=0x69f6a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#26 0x00007fe45089258d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#27 0x00007fe450892d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#28 0x00007fe450892f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#29 0x00007fe45512427f in QEventDispatcherGlib::processEvents (this=0x6991c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#30 0x00007fe45430076e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007fe4550f4012 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007fe4550f4267 in QEventLoop::exec (this=0x7ffff02e7220, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007fe4550f8dc5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#34 0x00007fe44e3cab8d in kdemain () from /usr/lib64/libkdeinit4_dolphin.so
#35 0x00000000004088e4 in _start ()

Possible duplicates by query: bug 284268, bug 260576.

Reported using DrKonqi
Comment 1 Mike 2012-04-06 02:34:02 UTC
I was able to reproduce this bug following the steps described by the original poster. This appears to be a duplicate of bug 254043.

Application: dolphin (2.0) 
KDE Platform Version: 4.8.2 
Qt Version: 4.8.1 
Operating System: Linux 3.2.0-22-generic
Distribution: Ubuntu 12.04 (development branch) (x86-64)

--Backtrace:

Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa200956780 (LWP 27958))]

Thread 3 (Thread 0x7fa1ec6dc700 (LWP 27959)):
#0  0x00007fa1f81f2685 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fa1f81f2f1b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa1f81f3124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa1fd2a2426 in QEventDispatcherGlib::processEvents (this=0x7fa1e40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fa1fd271c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa1fd271ed7 in QEventLoop::exec (this=0x7fa1ec6dbdd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fa1fd170fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fa1fd2519ff in QInotifyFileSystemWatcherEngine::run (this=0x110e5d0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fa1fd173fcb in QThreadPrivate::start (arg=0x110e5d0) at thread/qthread_unix.cpp:298
#9  0x00007fa1f8ab7e9a in start_thread (arg=0x7fa1ec6dc700) at pthread_create.c:308
#10 0x00007fa20021c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa1eb6bc700 (LWP 27960)):
#0  0x00007fff170d08de in ?? ()
#1  0x00007fa1f84a415d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007fa1fd1cabb4 in do_gettime (frac=0x7fa1eb6bbb98, sec=0x7fa1eb6bbb90) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fa1fd2a2b8d in QTimerInfoList::updateCurrentTime (this=0x7fa1dc002660) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007fa1fd2a2ec3 in QTimerInfoList::timerWait (this=0x7fa1dc002660, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007fa1fd2a197c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fa1eb6bbc6c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fa1fd2a1a25 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fa1f81f271e in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fa1f81f2f1b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fa1f81f3124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fa1fd2a2426 in QEventDispatcherGlib::processEvents (this=0x7fa1dc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007fa1fd271c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fa1fd271ed7 in QEventLoop::exec (this=0x7fa1eb6bbdd0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007fa1fd170fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007fa1fd2519ff in QInotifyFileSystemWatcherEngine::run (this=0x1436c20) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007fa1fd173fcb in QThreadPrivate::start (arg=0x1436c20) at thread/qthread_unix.cpp:298
#17 0x00007fa1f8ab7e9a in start_thread (arg=0x7fa1eb6bc700) at pthread_create.c:308
#18 0x00007fa20021c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa200956780 (LWP 27958)):
[KCrash Handler]
#6  ref (this=0x7) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:121
#7  QDomNode::QDomNode (this=0x7fff1704f340, n=...) at dom/qdom.cpp:2040
#8  0x00007fa1ffedfb3d in KBookmark (this=0x7fff1704f340) at ../../kio/bookmarks/kbookmark.h:34
#9  KFilePlacesItem::bookmark (this=<optimized out>) at ../../kfile/kfileplacesitem.cpp:86
#10 0x00007fa1ffee258c in KFilePlacesModel::setPlaceHidden (this=0x10e6990, index=..., hidden=true) at ../../kfile/kfileplacesmodel.cpp:712
#11 0x00007fa1ffeec5a9 in KFilePlacesView::contextMenuEvent (this=0x149a920, event=0x7fff17050550) at ../../kfile/kfileplacesview.cpp:671
#12 0x00007fa1fc3c8e94 in QWidget::event (this=0x149a920, event=0x7fff17050550) at kernel/qwidget.cpp:8529
#13 0x00007fa1fc7893b6 in QFrame::event (this=0x149a920, e=0x7fff17050550) at widgets/qframe.cpp:557
#14 0x00007fa1fc89d89b in QAbstractItemView::viewportEvent (this=0x149a920, event=0x7fff17050550) at itemviews/qabstractitemview.cpp:1644
#15 0x00007fa1fd273028 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x149c700, event=0x7fff17050550) at kernel/qcoreapplication.cpp:986
#16 0x00007fa1fc37885f in notify_helper (e=0x7fff17050550, receiver=0x149c700, this=0xf72800) at kernel/qapplication.cpp:4555
#17 QApplicationPrivate::notify_helper (this=0xf72800, receiver=0x149c700, e=0x7fff17050550) at kernel/qapplication.cpp:4531
#18 0x00007fa1fc37dbcd in QApplication::notify (this=<optimized out>, receiver=0x149c700, e=0x7fff17050550) at kernel/qapplication.cpp:4181
#19 0x00007fa1fdcd2b46 in KApplication::notify (this=0x7fff17051200, receiver=0x149c700, event=0x7fff17050550) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x00007fa1fd272e9c in QCoreApplication::notifyInternal (this=0x7fff17051200, receiver=0x149c700, event=0x7fff17050550) at kernel/qcoreapplication.cpp:876
#21 0x00007fa1fc3f8c58 in sendSpontaneousEvent (event=0x7fff17050550, receiver=0x149c700) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#22 QETWidget::translateMouseEvent (this=<optimized out>, event=<optimized out>) at kernel/qapplication_x11.cpp:4622
#23 0x00007fa1fc3f7bae in QApplication::x11ProcessEvent (this=0x7fff17051200, event=0x7fff17050df0) at kernel/qapplication_x11.cpp:3732
#24 0x00007fa1fc4210e2 in x11EventSourceDispatch (s=0xf73af0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#25 0x00007fa1f81f2c9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fa1f81f3060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fa1f81f3124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fa1fd2a23bf in QEventDispatcherGlib::processEvents (this=0xf4e4a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#29 0x00007fa1fc420d6e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007fa1fd271c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007fa1fd271ed7 in QEventLoop::exec (this=0x7fff17051190, flags=...) at kernel/qeventloop.cpp:204
#32 0x00007fa1fd276f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#33 0x00007fa20052f4c7 in kdemain (argc=6, argv=0x7fff17051758) at ../../../dolphin/src/main.cpp:89
#34 0x00007fa20014b76d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=6, ubp_av=0x7fff17051758, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff17051748) at libc-start.c:226
#35 0x0000000000400671 in _start ()
Comment 2 Nicolás Alvarez 2012-04-06 02:50:06 UTC
Marking as duplicate, as identified by Mike on comment #1.

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