Summary: | Dolphin crashes on drag and drop copy operation of audio files on the breadcrumb bar | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Panagiotis Papadopoulos <pano_90> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | andresbajotierra, jtamate, kdelibs-bugs |
Priority: | NOR | ||
Version: | 16.12.2 | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kde-baseapps/669ee3250d233b96bc2f2e63865b048d33215674 | Version Fixed In: | 4.11.0 |
Sentry Crash Report: |
Description
Panagiotis Papadopoulos
2009-05-09 16:32:02 UTC
I again tried to reproduce it and got the following backtrace. This time it was a lot harder to reproduce it, I had to try it very often... Application: Dolphin (dolphin), signal: Segmentation fault [KCrash Handler] #6 ~QObject (this=0x85d0580) at kernel/qobject.cpp:772 #7 0xb6915454 in ~QAction (this=0x85d0580) at kernel/qaction.cpp:622 #8 0xb6714bff in QObjectPrivate::deleteChildren (this=0x8a53488) at kernel/qobject.cpp:1846 #9 0xb671ceef in ~QObject (this=0x8243a18) at kernel/qobject.cpp:836 #10 0xb7b11616 in ~KonqOperations (this=0x8243a18) at /home/pano/Projekte/build/kde-trunk/kdebase/src/kdebase/apps/lib/konq/konq_operations.cpp:88 #11 0xb67148c5 in qDeleteInEventHandler (o=0x2) at kernel/qobject.cpp:3814 #12 0xb6715dcb in QObject::event (this=0x8243a18, e=0x8a685f0) at kernel/qobject.cpp:1093 #13 0xb6919964 in QApplicationPrivate::notify_helper (this=0x81e7068, receiver=0x8243a18, e=0x8a685f0) at kernel/qapplication.cpp:4056 #14 0xb692104c in QApplication::notify (this=0xbf815754, receiver=0x8243a18, e=0x8a685f0) at kernel/qapplication.cpp:3603 #15 0xb761dce6 in KApplication::notify (this=0xbf815754, receiver=0x8243a18, event=0x8a685f0) at /home/pano/Projekte/build/kde-trunk/kdelibs/src/kdelibs/kdeui/kernel/kapplication.cpp:302 #16 0xb6705fcb in QCoreApplication::notifyInternal (this=0xbf815754, receiver=0x8243a18, event=0x8a685f0) at kernel/qcoreapplication.cpp:610 #17 0xb6706bb2 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x81a4b18) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213 #18 0xb6706d7d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140 #19 0xb6730a9f in postEventSourceDispatch (s=0x81dd520) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #20 0xb5d1ad98 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #21 0xb5d1e3e0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #22 0xb5d1e513 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #23 0xb67306cc in QEventDispatcherGlib::processEvents (this=0x81daf90, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:327 #24 0xb69b7695 in QGuiEventDispatcherGlib::processEvents (this=0x81daf90, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202 #25 0xb6704579 in QEventLoop::processEvents (this=0xbf8156b4, flags=) at kernel/qeventloop.cpp:149 #26 0xb67049ca in QEventLoop::exec (this=0xbf8156b4, flags={i = 0}) at kernel/qeventloop.cpp:201 #27 0xb6706e3f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #28 0xb69197e7 in QApplication::exec () at kernel/qapplication.cpp:3525 #29 0x08076828 in main (argc=1, argv=0xbf815934) at /home/pano/Projekte/build/kde-trunk/kdebase/src/kdebase/apps/dolphin/src/main.cpp:94 I think managed to reproduce this crash here using: Qt: 4.6.0 (Qt git branch 4.6 commit f3d15516572394b6bcd44a89dd66516fa4eba56e Date: Fri Sep 25 10:21:23 2009 +1000) KDE: 4.3.70 (KDE 4.3.70 (KDE 4.4 >= 20091002)) kdelibs svn rev. 1030916 / kdebase svn rev. 1030916 on ArchLinux i686 - Kernel 2.6.30.6 --- In order to reproduce it I had to disable the Plasma filejobs tracking (so file operations will use the old-style dialogs) After the "Overwrite" dialog appeared, I wait some seconds, and then I clicked the "Down arrow" in the copy dialog (the one that will show more info). (it is a false click as the Overwrite dialog is modal.. the file-copy dialog is not accesible). Finally clicking the Overwrite button crashed Dolphin --- When I tried to reproduce this I also got a backtrace similar to bug 200148, so they could be related. ---- Darn, I'm getting different backtraces in a non-reproducible way.. :-\ ----- Backtrace: Application: Dolphin (dolphin), signal: Segmentation fault [KCrash Handler] #6 0xb7b03eca in QBasicAtomicInt::deref () from /home/kde-devel/kde/lib/libsoprano.so.4 #7 0xb686d1c9 in ~QRegion (this=0x8c269f4) at painting/qregion.cpp:3921 #8 0xb6886dd6 in ~QWindowSurfacePrivate (this=0x8c269e0) at painting/qwindowsurface.cpp:50 #9 0xb6886174 in ~QWindowSurface (this=0x8c11860) at painting/qwindowsurface.cpp:124 #10 0xb68f3929 in ~QX11WindowSurface (this=0x8c11860) at painting/qwindowsurface_x11.cpp:87 #11 0xb68edbed in ~QWidgetBackingStore (this=0x8c2c7d0) at painting/qbackingstore.cpp:848 #12 0xb66f0c1a in QWidgetPrivate::deleteExtra (this=0x894b030) at kernel/qwidget.cpp:1601 #13 0xb66ed43c in ~QWidgetPrivate (this=0x894b030) at kernel/qwidget.cpp:246 #14 0xb63804fd in QScopedPointerDeleter<QObjectData>::cleanup (pointer=0x894b030) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62 #15 0xb63d4e99 in ~QScopedPointer (this=0x892834c) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100 #16 0xb63cd893 in ~QObject (this=0x8928348) at kernel/qobject.cpp:990 #17 0xb66efc26 in ~QWidget (this=0x8928348) at kernel/qwidget.cpp:1489 #18 0xb7699458 in ~ProgressWidget (this=0x8928348) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/jobs/kwidgetjobtracker_p.h:93 #19 0xb63d3dd2 in qDeleteInEventHandler (o=0x8928348) at kernel/qobject.cpp:4117 #20 0xb63ce846 in QObject::event (this=0x8928348, e=0x8c26838) at kernel/qobject.cpp:1221 #21 0xb67025b4 in QWidget::event (this=0x8928348, event=0x8c26838) at kernel/qwidget.cpp:8361 #22 0xb66993f2 in QApplicationPrivate::notify_helper (this=0x8524a80, receiver=0x8928348, e=0x8c26838) at kernel/qapplication.cpp:4162 #23 0xb6699257 in QApplication::notify (this=0xbff8c7ac, receiver=0x8928348, e=0x8c26838) at kernel/qapplication.cpp:4127 #24 0xb76a14ea in KApplication::notify (this=0xbff8c7ac, receiver=0x8928348, event=0x8c26838) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302 #25 0xb63b71ed in QCoreApplication::notifyInternal (this=0xbff8c7ac, receiver=0x8928348, event=0x8c26838) at kernel/qcoreapplication.cpp:704 #26 0xb668a347 in QCoreApplication::sendEvent (receiver=0x8928348, event=0x8c26838) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #27 0xb63b82a1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x84ee4e0) at kernel/qcoreapplication.cpp:1345 #28 0xb63b7f59 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238 #29 0xb67591b8 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #30 0xb63ed7d6 in postEventSourceDispatch (s=0x852b518) at kernel/qeventdispatcher_glib.cpp:210 #31 0xb5b1dd98 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #32 0xb5b213e0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #33 0xb5b21513 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #34 0xb63ee65a in QEventDispatcherGlib::processEvents (this=0x85236f0, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:328 #35 0xb67580c2 in QGuiEventDispatcherGlib::processEvents (this=0x85236f0, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202 #36 0xb63b464f in QEventLoop::processEvents (this=0xbff8c6fc, flags={i = 36}) at kernel/qeventloop.cpp:149 #37 0xb63b4794 in QEventLoop::exec (this=0xbff8c6fc, flags={i = 0}) at kernel/qeventloop.cpp:201 #38 0xb63b78c9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #39 0xb669717a in QApplication::exec () at kernel/qapplication.cpp:3567 #40 0x080798f5 in main (argc=1, argv=0xbff8c984) at /home/kde-devel/kde/src/KDE/kdebase/apps/dolphin/src/main.cpp:94 Resetting assignee to default as per bug #305719 The backtrace is totally different, but following the steps described here, dolphin still crash. See bug 309076 Git commit 669ee3250d233b96bc2f2e63865b048d33215674 by Frank Reininghaus. Committed on 02/07/2013 at 17:27. Pushed by freininghaus into branch 'master'. Fix crash when dropping URLs on the URL navigator's drop down menus The problem was that the files were copied/moved inside the nested event loop of the drag, which caused problems if the "File exists" dialog was shown. The solution is to make the copy/move operation delayed, such that it is executed in the main event loop. Note that dropping files on these menus does apparently not work at the moment when using the Oxygen style (see bug 310016). Related: bug 256338, bug 293220, bug 309076 FIXED-IN: 4.11.0 REVIEW: 111273 M +30 -2 dolphin/src/dolphinviewcontainer.cpp M +15 -0 dolphin/src/dolphinviewcontainer.h http://commits.kde.org/kde-baseapps/669ee3250d233b96bc2f2e63865b048d33215674 |