Bug 324861 - Unexpected dolphin crash after dragging file and unmounting
Summary: Unexpected dolphin crash after dragging file and unmounting
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kfile
Classification: Applications
Component: general (show other bugs)
Version: 4.11.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords: drkonqi
: 344451 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-09-12 23:31 UTC by Angelos Skembris
Modified: 2018-04-10 19:34 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Crash report by Dr Konqi (12.16 KB, text/plain)
2015-04-24 17:52 UTC, Thiago Jung Bauermann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Angelos Skembris 2013-09-12 23:31:01 UTC
Application: dolphin (4.11.1)
KDE Platform Version: 4.11.1
Qt Version: 4.8.5
Operating System: Linux 3.7.10-1.16-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

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

I had just extracted a ZIP file which contained a .EXE file. I dragged the .EXE file on the USB flash drive shortcut in the "Places" panel and selected "Copy here". I then deleted the file permanently (using Shift-Del) and unmounted the usb tray from the tray panel icon. Dolphin crashed immediately after the USB flash drive was unmounted.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe6bf054780 (LWP 4105))]

Thread 3 (Thread 0x7fe6a4c0c700 (LWP 4106)):
#0  0x00007fe6bd91ce0f in __pthread_mutex_unlock_usercnt (mutex=0x7fe6a0000a60, decr=decr@entry=1) at pthread_mutex_unlock.c:52
#1  0x00007fe6bd91ce9a in __GI___pthread_mutex_unlock (mutex=<optimized out>) at pthread_mutex_unlock.c:297
#2  0x00007fe6b960daa1 in g_mutex_unlock (mutex=mutex@entry=0x7fe6a00009a0) at gthread-posix.c:229
#3  0x00007fe6b95d032b in g_main_context_prepare (context=context@entry=0x7fe6a00009a0, priority=priority@entry=0x7fe6a4c0bc78) at gmain.c:2984
#4  0x00007fe6b95d09cb in g_main_context_iterate (context=context@entry=0x7fe6a00009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3270
#5  0x00007fe6b95d0bc4 in g_main_context_iteration (context=0x7fe6a00009a0, may_block=1) at gmain.c:3351
#6  0x00007fe6bdcda5d6 in QEventDispatcherGlib::processEvents (this=0x7fe6a00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#7  0x00007fe6bdcaabef in QEventLoop::processEvents (this=this@entry=0x7fe6a4c0bdd0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fe6bdcaae78 in QEventLoop::exec (this=0x7fe6a4c0bdd0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007fe6bdbad110 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#10 0x00007fe6bdc8b3af in QInotifyFileSystemWatcherEngine::run (this=0x1f34cb0) at io/qfilesystemwatcher_inotify.cpp:256
#11 0x00007fe6bdbb00ec in QThreadPrivate::start (arg=0x1f34cb0) at thread/qthread_unix.cpp:338
#12 0x00007fe6bd919e0f in start_thread (arg=0x7fe6a4c0c700) at pthread_create.c:308
#13 0x00007fe6bc68e7dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fe69f4ec700 (LWP 4115)):
#0  0x00007fe6bc68587d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fe6b95d0aa4 in g_main_context_poll (n_fds=1, fds=0x7fe690002bb0, timeout=-1, context=0x7fe6900009a0, priority=<optimized out>) at gmain.c:3584
#2  g_main_context_iterate (context=context@entry=0x7fe6900009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285
#3  0x00007fe6b95d0bc4 in g_main_context_iteration (context=0x7fe6900009a0, may_block=1) at gmain.c:3351
#4  0x00007fe6bdcda5d6 in QEventDispatcherGlib::processEvents (this=0x7fe6900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007fe6bdcaabef in QEventLoop::processEvents (this=this@entry=0x7fe69f4ebdd0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fe6bdcaae78 in QEventLoop::exec (this=0x7fe69f4ebdd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fe6bdbad110 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x00007fe6bdc8b3af in QInotifyFileSystemWatcherEngine::run (this=0x2564940) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007fe6bdbb00ec in QThreadPrivate::start (arg=0x2564940) at thread/qthread_unix.cpp:338
#10 0x00007fe6bd919e0f in start_thread (arg=0x7fe69f4ec700) at pthread_create.c:308
#11 0x00007fe6bc68e7dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fe6bf054780 (LWP 4105)):
[KCrash Handler]
#6  0x00007fe6bbf54942 in QDomNode::isElement (this=this@entry=0x7fff0801a640) at dom/qdom.cpp:2823
#7  0x00007fe6bbf58728 in QDomNode::nextSiblingElement (this=<optimized out>, tagName=...) at dom/qdom.cpp:2991
#8  0x00007fe6b69efe6d in KBookmarkGroup::next (this=0x7fff0801a6f0, current=...) at /usr/src/debug/kdelibs-4.11.1/kio/bookmarks/kbookmark.cc:125
#9  0x00007fe6aace5e1f in KFilePlacesModel::Private::loadBookmarkList (this=this@entry=0x1d89430) at /usr/src/debug/kdelibs-4.11.1/kfile/kfileplacesmodel.cpp:460
#10 0x00007fe6aace6216 in KFilePlacesModel::Private::_k_reloadBookmarks (this=0x1d89430) at /usr/src/debug/kdelibs-4.11.1/kfile/kfileplacesmodel.cpp:362
#11 0x00007fe6aace753d in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdelibs-4.11.1/build/kfile/kfileplacesmodel.moc:69
#12 KFilePlacesModel::qt_static_metacall (_o=0x1d89060, _c=31045936, _id=134325920, _a=0x60c640 <QString::shared_null>) at /usr/src/debug/kdelibs-4.11.1/build/kfile/kfileplacesmodel.moc:59
#13 0x00007fe6bdcc144f in QMetaObject::activate (sender=0x1f35140, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff0801aa20) at kernel/qobject.cpp:3556
#14 0x00007fe6b60320c5 in Solid::DeviceNotifier::deviceRemoved (this=this@entry=0x1f35140, _t1=...) at /usr/src/debug/kdelibs-4.11.1/build/solid/solid/devicenotifier.moc:107
#15 0x00007fe6b60331e9 in Solid::DeviceManagerPrivate::_k_deviceRemoved (this=0x1f35140, udi=...) at /usr/src/debug/kdelibs-4.11.1/solid/solid/devicemanager.cpp:207
#16 0x00007fe6bdcc144f in QMetaObject::activate (sender=0x1f4f9a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff0801ac10) at kernel/qobject.cpp:3556
#17 0x00007fe6b6047505 in Solid::Ifaces::DeviceManager::deviceRemoved (this=<optimized out>, _t1=...) at /usr/src/debug/kdelibs-4.11.1/build/solid/solid/ifaces/devicemanager.moc:107
#18 0x00007fe6b60890e1 in Solid::Backends::UDisks2::Manager::slotInterfacesRemoved (this=0x1f4f9a0, object_path=..., interfaces=...) at /usr/src/debug/kdelibs-4.11.1/solid/solid/backends/udisks2/udisksmanager.cpp:224
#19 0x00007fe6bdcc144f in QMetaObject::activate (sender=0x1f4f9b8, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff0801ae10) at kernel/qobject.cpp:3556
#20 0x00007fe6b602f69a in OrgFreedesktopDBusObjectManagerInterface::InterfacesRemoved (this=<optimized out>, _t1=..., _t2=...) at /usr/src/debug/kdelibs-4.11.1/build/solid/solid/moc_manager.cpp:117
#21 0x00007fe6b602fdad in OrgFreedesktopDBusObjectManagerInterface::qt_static_metacall (_o=0x1f4f9b8, _c=<optimized out>, _id=<optimized out>, _a=0x7fff0801b070) at /usr/src/debug/kdelibs-4.11.1/build/solid/solid/moc_manager.cpp:59
#22 0x00007fe6b602ffcb in OrgFreedesktopDBusObjectManagerInterface::qt_metacall (this=0x1f4f9b8, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff0801b070) at /usr/src/debug/kdelibs-4.11.1/build/solid/solid/moc_manager.cpp:100
#23 0x00007fe6baa30e2a in QDBusConnectionPrivate::deliverCall (this=0x1f3c720, object=0x1f4f9b8, msg=..., metaTypes=..., slotIdx=6) at qdbusintegrator.cpp:951
#24 0x00007fe6bdcc092e in QObject::event (this=0x1f4f9b8, e=<optimized out>) at kernel/qobject.cpp:1203
#25 0x00007fe6bce3892c in QApplicationPrivate::notify_helper (this=this@entry=0x1b87a80, receiver=receiver@entry=0x1f4f9b8, e=e@entry=0x25d21b0) at kernel/qapplication.cpp:4562
#26 0x00007fe6bce3cdab in QApplication::notify (this=0x7fff0801bb30, receiver=0x1f4f9b8, e=0x25d21b0) at kernel/qapplication.cpp:4423
#27 0x00007fe6bea4bf76 in KApplication::notify (this=0x7fff0801bb30, receiver=0x1f4f9b8, event=0x25d21b0) at /usr/src/debug/kdelibs-4.11.1/kdeui/kernel/kapplication.cpp:311
#28 0x00007fe6bdcabf3e in QCoreApplication::notifyInternal (this=0x7fff0801bb30, receiver=receiver@entry=0x1f4f9b8, event=event@entry=0x25d21b0) at kernel/qcoreapplication.cpp:949
#29 0x00007fe6bdcaf8a1 in sendEvent (event=0x25d21b0, receiver=0x1f4f9b8) at kernel/qcoreapplication.h:231
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1aae2b0) at kernel/qcoreapplication.cpp:1573
#31 0x00007fe6bdcda423 in sendPostedEvents () at kernel/qcoreapplication.h:236
#32 postEventSourceDispatch (s=s@entry=0x1b8a000) at kernel/qeventdispatcher_glib.cpp:280
#33 0x00007fe6b95d07d5 in g_main_dispatch (context=0x1b88f00) at gmain.c:2715
#34 g_main_context_dispatch (context=context@entry=0x1b88f00) at gmain.c:3219
#35 0x00007fe6b95d0b08 in g_main_context_iterate (context=context@entry=0x1b88f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#36 0x00007fe6b95d0bc4 in g_main_context_iteration (context=0x1b88f00, may_block=1) at gmain.c:3351
#37 0x00007fe6bdcda5b6 in QEventDispatcherGlib::processEvents (this=0x1ab4790, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#38 0x00007fe6bced8e0e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007fe6bdcaabef in QEventLoop::processEvents (this=this@entry=0x7fff0801b9f0, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007fe6bdcaae78 in QEventLoop::exec (this=0x7fff0801b9f0, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007fe6bdcafbb8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#42 0x00007fe6aaf7bd94 in kdemain () from /usr/lib64/libkdeinit4_dolphin.so
#43 0x000000000040889a in launch (argc=argc@entry=5, _name=_name@entry=0x1b6b068 "/usr/bin/dolphin", args=0x1b6b0a5 "\001", args@entry=0x1b6b079 "--icon", cwd=cwd@entry=0x0, envc=envc@entry=1, envs=<optimized out>, envs@entry=0x1b6b0ad "DISPLAY=:0", reset_env=false, tty=tty@entry=0x0, avoid_loops=false, startup_id_str=startup_id_str@entry=0x1b6b0c0 "linux-kpyd.site;1379027827;903325;3557_TIME386391") at /usr/src/debug/kdelibs-4.11.1/kinit/kinit.cpp:726
#44 0x000000000040974b in handle_launcher_request (sock=8, who=<optimized out>) at /usr/src/debug/kdelibs-4.11.1/kinit/kinit.cpp:1218
#45 0x0000000000409d90 in handle_requests (waitForPid=waitForPid@entry=0) at /usr/src/debug/kdelibs-4.11.1/kinit/kinit.cpp:1411
#46 0x0000000000405a47 in main (argc=4, argv=<optimized out>, envp=0x7fff0801c920) at /usr/src/debug/kdelibs-4.11.1/kinit/kinit.cpp:1899

Reported using DrKonqi
Comment 1 Frank Reininghaus 2013-09-13 13:38:26 UTC
Thanks for the bug report. It looks like the problem might be in KFilePlacesModel or in some other part of kdelibs.
Comment 2 Emmanuel Pescosta 2015-02-26 20:27:20 UTC
*** Bug 344451 has been marked as a duplicate of this bug. ***
Comment 3 Thiago Jung Bauermann 2015-04-24 17:52:33 UTC
Created attachment 92204 [details]
Crash report by Dr Konqi

Due to a bug in Dr Konqi, it wasn't able to submit this report so I'm attaching it. The stack trace is very similar, becomes different from the original one in this bug report at frame #9.

Application: dolphin (4.14.2)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-36-generic x86_64
Distribution: Ubuntu 14.04.2 LTS

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

I had a folder with mp3 files opened, and had played some of them a bit (not until the end) via the preview panel. When I middle-clicked the entry for an USB key in the "Devices" section of the Places panel, Dolphin crashed.

I tried reproducing the crash using the steps above, but it didn't crash this time.

The crash does not seem to be reproducible.
Comment 4 Nate Graham 2018-04-10 19:34:08 UTC
Qt4 versions of these products are unmaintained; please open a new bug report if it happens with the Qt 5 versions.