Bug 172328 - dolphin crashs during drag an item and switch between windows
Summary: dolphin crashs during drag an item and switch between windows
Status: RESOLVED DUPLICATE of bug 157630
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-07 13:18 UTC by sts
Modified: 2008-12-13 18:17 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 sts 2008-10-07 13:18:59 UTC
Version:           1.1 (using 4.1.2 (KDE 4.1.2) "release 44.4", KDE:KDE4:Factory:Desktop / openSUSE_11.0)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.25.16-0.1-default

I have an local folder with images (preview enabled) I drag an image and switch between windows wit alt+tab..  I can reproduce it.. and now also kwin crashs..

Anwendung: Dolphin (dolphin), Signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0x7f99a3889700 (LWP 1967)]
[KCrash handler]
#5  QDragManager::move (this=0xd0f900, globalPos=@0x7fffab8cb4d0)
    at kernel/qdnd_x11.cpp:1618
#6  0x00007f999e44d619 in QDragManager::eventFilter (this=0x7f999cb6aa00, 
    o=<value optimized out>, e=0x0) at kernel/qdnd_x11.cpp:1278
#7  0x00007f99a17581e4 in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0x68c850, receiver=0xc48440, event=0x7fffab8cb4b0)
    at kernel/qcoreapplication.cpp:676
#8  0x00007f999e3d10e6 in QApplicationPrivate::notify_helper (
    this=0x7f999cb6aa00, receiver=0x7f999c938fb8, e=0x0)
    at kernel/qapplication.cpp:3778
#9  0x00007f999e3d979a in QApplication::notify (this=<value optimized out>, 
    receiver=0xc48440, e=0x7fffab8cb4b0) at kernel/qapplication.cpp:3528
#10 0x00007f99a29e08ab in KApplication::notify (this=0x7fffab8ce2c0, 
    receiver=0xc48440, event=0x7fffab8cb4b0)
    at /usr/src/debug/kdelibs-4.1.2/kdeui/kernel/kapplication.cpp:311
#11 0x00007f99a1758e71 in QCoreApplication::notifyInternal (
    this=0x7fffab8ce2c0, receiver=0xc48440, event=0x7fffab8cb4b0)
    at kernel/qcoreapplication.cpp:587
#12 0x00007f999e3d8b38 in QApplicationPrivate::sendMouseEvent (
    receiver=0xc48440, event=0x7fffab8cb4b0, alienWidget=0x0, 
    nativeWidget=0xc48440, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f999ed4e760)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#13 0x00007f999e43d259 in QETWidget::translateMouseEvent (this=0xc48440, 
    event=<value optimized out>) at kernel/qapplication_x11.cpp:4040
#14 0x00007f999e43bc77 in QApplication::x11ProcessEvent (this=0x7fffab8ce2c0, 
    event=0x7fffab8cbf30) at kernel/qapplication_x11.cpp:3158
#15 0x00007f999e46255c in x11EventSourceDispatch (s=0x6900d0, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#16 0x00007f999b48993a in g_main_context_dispatch ()
   from /usr/lib64/libglib-2.0.so.0
#17 0x00007f999b48d040 in ?? () from /usr/lib64/libglib-2.0.so.0
#18 0x00007f999b48d1dc in g_main_context_iteration ()
   from /usr/lib64/libglib-2.0.so.0
#19 0x00007f99a178139f in QEventDispatcherGlib::processEvents (this=0x68bb80, 
    flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319
#20 0x00007f999e461ccf in QGuiEventDispatcherGlib::processEvents (
    this=0x7f999cb6aa00, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:198
#21 0x00007f99a1757772 in QEventLoop::processEvents (
    this=<value optimized out>, flags={i = -1416838624})
    at kernel/qeventloop.cpp:143
#22 0x00007f99a17578fd in QEventLoop::exec (this=0xaf54f0, flags=
      {i = -1416838480}) at kernel/qeventloop.cpp:194
#23 0x00007f999e44b75b in QDragManager::drag (this=0xd0f900, 
    o=<value optimized out>) at kernel/qdnd_x11.cpp:1944
#24 0x00007f999e3e3938 in QDrag::exec (this=0xbfeca0, supportedActions=
      {i = -1416837840}, defaultDropAction=Qt::IgnoreAction)
    at kernel/qdrag.cpp:275
#25 0x00007f99a347a2cc in DragAndDropHelper::startDrag (
    itemView=<value optimized out>, supportedActions={i = -1416837760})
    at /usr/src/debug/kdebase-4.1.2/apps/dolphin/src/draganddrophelper.cpp:53
#26 0x00007f99a34736f4 in DolphinIconsView::startDrag (this=0xc02700, 
    supportedActions={i = -1416837360})
    at /usr/src/debug/kdebase-4.1.2/apps/dolphin/src/dolphiniconsview.cpp:212
#27 0x00007f999e844f25 in QAbstractItemView::mouseMoveEvent (this=0xc02700, 
    event=0x7fffab8cd480) at itemviews/qabstractitemview.cpp:1508
#28 0x00007f999e85b81a in QListView::mouseMoveEvent (this=0x7f999cb6aa00, 
    e=0x7f999c938fb8) at itemviews/qlistview.cpp:801
#29 0x00007f99a29cb3ac in KCategorizedView::mouseMoveEvent (
    this=0x7f999cb6aa00, event=0x7f999c938fb8)
    at /usr/src/debug/kdelibs-4.1.2/kdeui/itemviews/kcategorizedview.cpp:1034
#30 0x00007f999e423806 in QWidget::event (this=0x7f999cb6aa00, 
    event=0x7fffab8cd480) at kernel/qwidget.cpp:7148
#31 0x00007f999e84911d in QAbstractItemView::viewportEvent (this=0xc02700, 
    event=0x7fffab8cd480) at itemviews/qabstractitemview.cpp:1429
#32 0x00007f99a1758138 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x8e1370, event=0x7fffab8cd480)
    at kernel/qcoreapplication.cpp:694
#33 0x00007f999e3d114c in QApplicationPrivate::notify_helper (this=0x68c850, 
    receiver=0x8e1370, e=0x7fffab8cd480) at kernel/qapplication.cpp:3799
#34 0x00007f999e3d979a in QApplication::notify (this=<value optimized out>, 
    receiver=0x8e1370, e=0x7fffab8cd480) at kernel/qapplication.cpp:3528
#35 0x00007f99a29e08ab in KApplication::notify (this=0x7fffab8ce2c0, 
    receiver=0x8e1370, event=0x7fffab8cd480)
    at /usr/src/debug/kdelibs-4.1.2/kdeui/kernel/kapplication.cpp:311
#36 0x00007f99a1758e71 in QCoreApplication::notifyInternal (
    this=0x7fffab8ce2c0, receiver=0x8e1370, event=0x7fffab8cd480)
    at kernel/qcoreapplication.cpp:587
#37 0x00007f999e3d8b38 in QApplicationPrivate::sendMouseEvent (
    receiver=0x8e1370, event=0x7fffab8cd480, alienWidget=0x8e1370, 
    nativeWidget=0x68c4f0, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f999ed4e760)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#38 0x00007f999e43d259 in QETWidget::translateMouseEvent (this=0x68c4f0, 
    event=<value optimized out>) at kernel/qapplication_x11.cpp:4040
#39 0x00007f999e43bc77 in QApplication::x11ProcessEvent (this=0x7fffab8ce2c0, 
    event=0x7fffab8cdf00) at kernel/qapplication_x11.cpp:3158
#40 0x00007f999e46255c in x11EventSourceDispatch (s=0x6900d0, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#41 0x00007f999b48993a in g_main_context_dispatch ()
   from /usr/lib64/libglib-2.0.so.0
#42 0x00007f999b48d040 in ?? () from /usr/lib64/libglib-2.0.so.0
#43 0x00007f999b48d1dc in g_main_context_iteration ()
   from /usr/lib64/libglib-2.0.so.0
#44 0x00007f99a178139f in QEventDispatcherGlib::processEvents (this=0x68bb80, 
    flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319
#45 0x00007f999e461ccf in QGuiEventDispatcherGlib::processEvents (
    this=0x7f999cb6aa00, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:198
#46 0x00007f99a1757772 in QEventLoop::processEvents (
    this=<value optimized out>, flags={i = -1416830480})
    at kernel/qeventloop.cpp:143
#47 0x00007f99a17578fd in QEventLoop::exec (this=0x7fffab8ce230, flags=
      {i = -1416830400}) at kernel/qeventloop.cpp:194
#48 0x00007f99a1759ded in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:845
#49 0x000000000044066d in main (argc=6, argv=0x7fffab8ce7a8)
    at /usr/src/debug/kdebase-4.1.2/apps/dolphin/src/main.cpp:94
#0  0x00007f999c8b8230 in nanosleep () from /lib64/libc.so.6
Comment 1 Frank Reininghaus 2008-10-07 15:26:48 UTC
Thanks for the bug report. I cannot reproduce this in 4.1.2 (Kubuntu) and trunk rev. 868661. Is this 100% reproducible for you? If yes, does it happen in any view mode, and is it important that previews are enabled?

There were several reports on drag and drop crashes, see bug 157630 and duplicates, but these were about drag and drop actions in one window, so I'm not sure if it's a duplicate.
Comment 2 sts 2008-10-10 12:06:05 UTC
ok I found now a way to reproduce it. Drag and hold an image, use alt+tab switch to another window like konsole or other windows and switch back to dolphin and drop the image back. drag it again switch with alt+tab to other windows.. dolphin crashs very often. Preview or not, or symbol or details doesn't matter.
Comment 3 Frank Reininghaus 2008-10-12 20:57:23 UTC
Thanks for the update. It's still not reproducible for me. It seems that these drag&drop problems can be reproduced by some people, but not by others.
Comment 4 Dario Andres 2008-10-29 01:24:04 UTC
Here:
Qt: 4.4.3
KDE: 4.1.2 (KDE 4.1.2)
Dolphin: 1.1
KWin Composite enabled (CoverSwitch effect for Alt+Tab)
xorg-server 1.4.2 + xf86-video-intel 2.3.2 (Intel GMA x3100 - Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c) )
QtCurve Style
ArchLinux (kernel 2.6.27 i686)
on a
Dell Inspiron 1525.

I can reproduce this bug.

The backtrace is all about Qt drag&drop:

Aplicación: Dolphin (dolphin), señal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb5f01700 (LWP 3912)]
[KCrash handler]
#6  0xb6b78db5 in QDragManager::move () from /usr/lib/libQtGui.so.4
#7  0xb6b7c3d9 in QDragManager::eventFilter () from /usr/lib/libQtGui.so.4
#8  0xb7e541e2 in QCoreApplicationPrivate::sendThroughApplicationEventFilters
    () from /usr/lib/libQtCore.so.4
#9  0xb6b06e14 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#10 0xb6b0dda3 in QApplication::notify () from /usr/lib/libQtGui.so.4
#11 0xb793de9e in KApplication::notify (this=0xbfc11a44, receiver=0x9c36708, 
    event=0xbfc0ff1c)
    at /home/jan/Dev/packages/kdemod-core/work/kdelibs/src/kdelibs-4.1.2/kdeui/kernel/kapplication.cpp:311
#12 0xb7e54f60 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#13 0xb6b0f164 in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#14 0xb6b6c7bd in ?? () from /usr/lib/libQtGui.so.4
#15 0x09c36708 in ?? ()
#16 0xbfc0ff1c in ?? ()
#17 0x00000000 in ?? ()
#0  0xb7ef5424 in __kernel_vsyscall ()

Comment 5 Peter Penz 2008-12-13 18:17:55 UTC

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