Bug 166003

Summary: Crash when starting to drag a folder
Product: [Unmaintained] kmail Reporter: Nicolas L. <kde>
Component: folder listAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, niels, serge.delfaut, sts
Priority: NOR    
Version: SVN trunk (KDE 4)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nicolas L. 2008-07-07 23:36:16 UTC
Version:            (using Devel)
Installed from:    Compiled sources

KMail crash when i drag'n drop a folder, here is the strace that i obtain : 

Application: Kontact (kontact), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0x7f17e2d58700 (LWP 8262)]
[New Thread 0x40c15950 (LWP 8470)]
[KCrash handler]
#5  0x00007f17e0c27444 in QDrag::target (this=0x43e0580)
    at kernel/qdrag.cpp:217
#6  0x00007f17dea3621b in Q3DragObject::drag (this=0x37e20c0, 
    mode=Q3DragObject::DragDefault) at other/q3dragobject.cpp:398
#7  0x00007f17dd0e34d7 in K3ListView::startDrag (this=0x361a830)
    at /usr/src/debug/kdelibs-4.0.85/kde3support/kdeui/k3listview.cpp:1145
#8  0x00007f17dd0e3dc7 in K3ListView::contentsMouseMoveEvent (this=0x361a830, 
    e=0x7fffeada5200)
    at /usr/src/debug/kdelibs-4.0.85/kde3support/kdeui/k3listview.cpp:827
#9  0x00007f17deac7f09 in Q3ScrollView::viewportMouseMoveEvent (
    this=0x361a830, e=0x7fffeada5910) at widgets/q3scrollview.cpp:1795
#10 0x00007f17deac97d8 in Q3ScrollView::eventFilter (this=0x361a830, 
    obj=0x361a630, e=0x7fffeada5910) at widgets/q3scrollview.cpp:1493
#11 0x00007f17dea6d1ae in Q3ListView::eventFilter (this=0x361a830, 
    o=0x361a630, e=0x7fffeada5910) at itemviews/q3listview.cpp:3777
#12 0x00007f17e16e0c78 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x361a630, event=0x7fffeada5910)
    at kernel/qcoreapplication.cpp:694
#13 0x00007f17e0c14e8c in QApplicationPrivate::notify_helper (this=0x242e7b0, 
    receiver=0x361a630, e=0x7fffeada5910) at kernel/qapplication.cpp:3768
#14 0x00007f17e0c1d3fc in QApplication::notify (this=<value optimized out>, 
    receiver=0x361a630, e=0x7fffeada5910) at kernel/qapplication.cpp:3501
#15 0x00007f17e202aeeb in KApplication::notify (this=0x7fffeada6770, 
    receiver=0x361a630, event=0x7fffeada5910)
    at /usr/src/debug/kdelibs-4.0.85/kdeui/kernel/kapplication.cpp:311
#16 0x00007f17e16e199f in QCoreApplication::notifyInternal (
    this=0x7fffeada6770, receiver=0x361a630, event=0x7fffeada5910)
    at kernel/qcoreapplication.cpp:587
#17 0x00007f17e0c1c7a8 in QApplicationPrivate::sendMouseEvent (
    receiver=0x361a630, event=0x7fffeada5910, alienWidget=0x361a630, 
    nativeWidget=0x25587d0, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f17e158ff20)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#18 0x00007f17e0c80839 in QETWidget::translateMouseEvent (this=0x25587d0, 
    event=<value optimized out>) at kernel/qapplication_x11.cpp:4133
#19 0x00007f17e0c7f277 in QApplication::x11ProcessEvent (this=0x7fffeada6770, 
    event=0x7fffeada6390) at kernel/qapplication_x11.cpp:3255
#20 0x00007f17e0ca5dbc in x11EventSourceDispatch (s=0x2432040, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#21 0x00007f17dac027d2 in g_main_context_dispatch ()
   from /usr/lib64/libglib-2.0.so.0
#22 0x00007f17dac05f6d in ?? () from /usr/lib64/libglib-2.0.so.0
#23 0x00007f17dac0612b in g_main_context_iteration ()
   from /usr/lib64/libglib-2.0.so.0
#24 0x00007f17e1709ddf in QEventDispatcherGlib::processEvents (
    this=0x2421c20, flags=<value optimized out>)
    at kernel/qeventdispatcher_glib.cpp:325
#25 0x00007f17e0ca552f in QGuiEventDispatcherGlib::processEvents (
    this=0x43e0580, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007f17e16e02b2 in QEventLoop::processEvents (
    this=<value optimized out>, flags={i = -354785664})
    at kernel/qeventloop.cpp:149
#27 0x00007f17e16e043d in QEventLoop::exec (this=0x7fffeada66c0, flags=
      {i = -354785584}) at kernel/qeventloop.cpp:200
#28 0x00007f17e16e290d in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:845
#29 0x0000000000404524 in main (argc=1, argv=0x7fffeada6e58)
    at /usr/src/debug/kdepim-4.0.84/kontact/src/main.cpp:210
Comment 1 Allen Winter 2008-07-08 00:47:00 UTC
Can you please provide specific steps you took that caused the crash?
Comment 2 Thomas McGuire 2008-07-08 16:13:12 UTC
Can't reproduce either, dragging a folder works for me.
Does this happen with all folders or only with some?
Comment 3 Christophe Marin 2008-07-08 16:25:00 UTC
I tried local folders -> imap acc. / imap acc. -> another account. / imap acc. -> local folder without being able to reproduce.
Comment 4 Nicolas L. 2008-07-09 08:20:43 UTC
i can't always reprocude this. Sometimes when i click on a folder i let the mouse cliked and move it. So the  + telling that i will move a folder appear, at that moment if i unclik the mouse the + stay and if i drop kmail crash 
Comment 5 George Goldberg 2008-12-12 14:59:37 UTC
*** Bug 175488 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2009-01-07 18:37:01 UTC
*** Bug 172291 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2009-01-07 18:38:38 UTC
*** Bug 176558 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2009-08-02 21:10:18 UTC
K3ListView is no longer used in KMail on KDE4.2. It was fully ported to the new view/model framework. Closing as FIXED: