Bug 276786

Summary: crash after dragging to folder
Product: [Applications] dolphin Reporter: Ivan D Vasin <ivan>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED FIXED    
Severity: crash CC: axel.krebs, eaglexboy, frank78ac, sebfz1.public, von.kdebugs
Priority: NOR    
Version: 1.6.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.0
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Ivan D Vasin 2011-06-29 21:44:25 UTC
Application: dolphin (1.6.1)
KDE Platform Version: 4.6.4 (4.6.4)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
i can reproduce this every time with the following procedure if i do it right.

steps to reproduce:
4. set Dolphin to use the columns view mode.
2. open a folder within the first column.
3. drag a file from the newly opened column very quickly over another column, so that the first column highlighted during the drag is not the column that contains the file that is being dragged.
4. drop the file into any column.

the tricky part is step 3, since it can only be done right in the relatively rare circumstances when Dolphin can't keep up with the speed of the drag.  it seems to happen more readily if you first reproduce bug #276785 or if the source column's contents are on a remote file system, but i'm not totally sure.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ff68201c780 (LWP 18101))]

Thread 3 (Thread 0x7ff66e3cd700 (LWP 18102)):
#0  0x00007ff681914f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff67a0ae104 in g_main_context_poll (context=0x9db020, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3404
#2  g_main_context_iterate (context=0x9db020, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3086
#3  0x00007ff67a0ae639 in g_main_context_iteration (context=0x9db020, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#4  0x00007ff67dd95446 in QEventDispatcherGlib::processEvents (this=0x9f1e40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007ff67dd69882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ff67dd69abc in QEventLoop::exec (this=0x7ff66e3ccdd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007ff67dc80924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007ff67dd4bc2f in QInotifyFileSystemWatcherEngine::run (this=0x9fe4e0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007ff67dc83175 in QThreadPrivate::start (arg=0x9fe4e0) at thread/qthread_unix.cpp:320
#10 0x00007ff67a579d8c in start_thread (arg=0x7ff66e3cd700) at pthread_create.c:304
#11 0x00007ff68192204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff66bd0c700 (LWP 18106)):
#0  0x00007ff681914f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff67a0ae104 in g_main_context_poll (context=0xe73df0, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3404
#2  g_main_context_iterate (context=0xe73df0, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3086
#3  0x00007ff67a0ae639 in g_main_context_iteration (context=0xe73df0, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#4  0x00007ff67dd95446 in QEventDispatcherGlib::processEvents (this=0xe565f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007ff67dd69882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ff67dd69abc in QEventLoop::exec (this=0x7ff66bd0bdd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007ff67dc80924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007ff67dd4bc2f in QInotifyFileSystemWatcherEngine::run (this=0xebe480) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007ff67dc83175 in QThreadPrivate::start (arg=0xebe480) at thread/qthread_unix.cpp:320
#10 0x00007ff67a579d8c in start_thread (arg=0x7ff66bd0c700) at pthread_create.c:304
#11 0x00007ff68192204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff68201c780 (LWP 18101)):
[KCrash Handler]
#6  QMutex::lock (this=0x100000040) at thread/qmutex.cpp:151
#7  0x00007ff67dd6d2de in QCoreApplication::postEvent (receiver=0x1319f60, event=0x1525fb0, priority=0) at kernel/qcoreapplication.cpp:1140
#8  0x00007ff67e7ba5f9 in QX11Data::xdndHandleFinished (this=<value optimized out>, xe=0x7fffc372f4a0, passive=false) at kernel/qdnd_x11.cpp:1254
#9  0x00007ff67e7ac7c3 in QApplication::x11ClientMessage (this=<value optimized out>, w=0xc1dca0, event=<value optimized out>, passive_only=<value optimized out>) at kernel/qapplication_x11.cpp:3194
#10 0x00007ff67e7aad17 in QApplication::x11ProcessEvent (this=0x7fffc3730ad0, event=0x7fffc372f4a0) at kernel/qapplication_x11.cpp:3819
#11 0x00007ff67e7d3842 in x11EventSourceDispatch (s=0x914920, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#12 0x00007ff67a0adbcd in g_main_dispatch (context=0x909800) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#13 g_main_context_dispatch (context=0x909800) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#14 0x00007ff67a0ae3a8 in g_main_context_iterate (context=0x909800, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
#15 0x00007ff67a0ae639 in g_main_context_iteration (context=0x909800, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#16 0x00007ff67dd953ef in QEventDispatcherGlib::processEvents (this=0x8b8db0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#17 0x00007ff67e7d34de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#18 0x00007ff67dd69882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#19 0x00007ff67dd69abc in QEventLoop::exec (this=0x7fffc372f7a0, flags=...) at kernel/qeventloop.cpp:201
#20 0x00007ff67eb6b101 in QMenu::exec (this=0x7fffc372f840, p=..., action=0x0) at widgets/qmenu.cpp:2059
#21 0x00007ff680eed33c in KonqOperations::doDropFileCopy() () from /usr/lib/libkonq.so.5
#22 0x00007ff680eedcf8 in KonqOperations::asyncDrop(KFileItem const&) () from /usr/lib/libkonq.so.5
#23 0x00007ff680eee580 in KonqOperations::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkonq.so.5
#24 0x00007ff67dd7e49a in QObject::event (this=0x16086f0, e=<value optimized out>) at kernel/qobject.cpp:1226
#25 0x00007ff67e7299f4 in QApplicationPrivate::notify_helper (this=0x90af20, receiver=0x16086f0, e=0x1528350) at kernel/qapplication.cpp:4462
#26 0x00007ff67e72e3ba in QApplication::notify (this=<value optimized out>, receiver=0x16086f0, e=0x1528350) at kernel/qapplication.cpp:4341
#27 0x00007ff67f44d716 in KApplication::notify (this=0x7fffc3730ad0, receiver=0x16086f0, event=0x1528350) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007ff67dd6a49c in QCoreApplication::notifyInternal (this=0x7fffc3730ad0, receiver=0x16086f0, event=0x1528350) at kernel/qcoreapplication.cpp:731
#29 0x00007ff67dd6dc25 in sendEvent (receiver=0x0, event_type=0, data=0x8b95d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8b95d0) at kernel/qcoreapplication.cpp:1372
#31 0x00007ff67dd95253 in sendPostedEvents (s=0x9098e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#32 postEventSourceDispatch (s=0x9098e0) at kernel/qeventdispatcher_glib.cpp:277
#33 0x00007ff67a0adbcd in g_main_dispatch (context=0x909800) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#34 g_main_context_dispatch (context=0x909800) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#35 0x00007ff67a0ae3a8 in g_main_context_iterate (context=0x909800, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
#36 0x00007ff67a0ae639 in g_main_context_iteration (context=0x909800, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#37 0x00007ff67dd953ef in QEventDispatcherGlib::processEvents (this=0x8b8db0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#38 0x00007ff67e7d34de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007ff67dd69882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007ff67dd69abc in QEventLoop::exec (this=0x7fffc3730a60, flags=...) at kernel/qeventloop.cpp:201
#41 0x00007ff67dd6decb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#42 0x00007ff681c129e5 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_dolphin.so
#43 0x00007ff68185aeff in __libc_start_main (main=0x400730 <_start+256>, argc=5, ubp_av=0x7fffc3730ff8, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffc3730fe8) at libc-start.c:226
#44 0x0000000000400659 in _start ()

This bug may be a duplicate of or related to bug 268412.

Possible duplicates by query: bug 268412, bug 247574.

Reported using DrKonqi
Comment 1 Frank Reininghaus 2011-07-02 12:30:50 UTC
*** Bug 268412 has been marked as a duplicate of this bug. ***
Comment 2 Jekyll Wu 2011-12-04 15:56:40 UTC
*** Bug 274995 has been marked as a duplicate of this bug. ***
Comment 3 Thijs 2011-12-12 13:45:01 UTC
*** Bug 288699 has been marked as a duplicate of this bug. ***
Comment 4 Peter Penz 2012-04-17 16:22:59 UTC
*** Bug 298300 has been marked as a duplicate of this bug. ***
Comment 5 Eleazar 2012-04-23 04:03:10 UTC
Created attachment 70581 [details]
New crash information added by DrKonqi

dolphin (1.7) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

- What I was doing when the application crashed:
Just performed a search clicked on back and it crashed.

-- Backtrace (Reduced):
#6  0x00007f102fd9123c in QMutex::lock (this=0x2827248) at thread/qmutex.cpp:151
#7  0x00007f102fe80999 in QCoreApplication::postEvent (receiver=0x27bd1f0, event=0x27db480, priority=0) at kernel/qcoreapplication.cpp:1196
#8  0x00007f103090c32a in QX11Data::xdndHandleFinished (this=<optimized out>, xe=0x7fffe96a81a0, passive=false) at kernel/qdnd_x11.cpp:1254
#9  0x00007f10308fe453 in QApplication::x11ClientMessage (this=<optimized out>, w=0x21752e0, event=<optimized out>, passive_only=<optimized out>) at kernel/qapplication_x11.cpp:3207
#10 0x00007f10308fc98b in QApplication::x11ProcessEvent (this=0x7fffe96a85e0, event=0x7fffe96a81a0) at kernel/qapplication_x11.cpp:3832
Comment 6 Eleazar 2012-04-23 06:47:45 UTC
Created attachment 70582 [details]
New crash information added by DrKonqi

dolphin (1.7) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

Performed Search click on back and it crashed.

-- Backtrace (Reduced):
#6  QCoreApplication::postEvent (receiver=0x1f13e30, event=0x1fbb7a0, priority=0) at kernel/qcoreapplication.cpp:1188
#7  0x00007eff0451732a in QX11Data::xdndHandleFinished (this=<optimized out>, xe=0x7fff99b3c240, passive=false) at kernel/qdnd_x11.cpp:1254
#8  0x00007eff04509453 in QApplication::x11ClientMessage (this=<optimized out>, w=0x18efa10, event=<optimized out>, passive_only=<optimized out>) at kernel/qapplication_x11.cpp:3207
#9  0x00007eff0450798b in QApplication::x11ProcessEvent (this=0x7fff99b3c680, event=0x7fff99b3c240) at kernel/qapplication_x11.cpp:3832
#10 0x00007eff045304a2 in x11EventSourceDispatch (s=0x1806590, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146