Bug 197642 - Drag & Drop of Local Email Folder to Todo List Attachment Crashes Todo List/Kontact
Summary: Drag & Drop of Local Email Folder to Todo List Attachment Crashes Todo List/K...
Status: RESOLVED NOT A BUG
Alias: None
Product: korganizer
Classification: Applications
Component: todoview (show other bugs)
Version: 4.4 pre
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-23 20:05 UTC by twm3
Modified: 2011-06-04 16:45 UTC (History)
3 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 twm3 2009-06-23 20:05:20 UTC
Version:           Not available on crash report :-( (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

Tried to drag and drop a folder from local box (vs IMAP box) to be an attachment for a todo item. Kontact apparently crashes. :-(

Was expecting/hoping that the directory would be available as an attachment rather than dragging and dropping the directory's components one-by-one or as a group.

If a drag and drop of a folder is contraindicated, either ignore the action or tell the user that a folder can't be dragged and dropped as an attachment for a todo list item attachment.

- - - - -

Application: Kontact (kontact), signal SIGABRT
[Current thread is 0 (LWP 12398)]

Thread 2 (Thread 0xb0244b90 (LWP 12399)):
#0  0xb8033430 in __kernel_vsyscall ()
#1  0xb598d7b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb5c61380 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb5b8f96e in ?? () from /usr/lib/libQtCore.so.4
#4  0xb51864ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb599549e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb48a0700 (LWP 12398)):
[KCrash Handler]
#6  0xb8033430 in __kernel_vsyscall ()
#7  0xb58dc6d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb58de098 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb5b87595 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb5b87681 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb5b87775 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xaa06148a in ?? () from /usr/lib/libkorganizerprivate.so.4
#13 0xaa06172a in ?? () from /usr/lib/libkorganizerprivate.so.4
#14 0xb5c99ca8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb5c9a932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb76611b9 in Q3IconView::dropped () from /usr/lib/libQt3Support.so.4
#17 0xb74d83a3 in Q3IconView::contentsDropEvent () from /usr/lib/libQt3Support.so.4
#18 0xb7980757 in K3IconView::contentsDropEvent () from /usr/lib/libkde3support.so.4
#19 0xb754f6a0 in Q3ScrollView::viewportDropEvent () from /usr/lib/libQt3Support.so.4
#20 0xb7551c8f in Q3ScrollView::eventFilter () from /usr/lib/libQt3Support.so.4
#21 0xb74cef47 in Q3IconView::eventFilter () from /usr/lib/libQt3Support.so.4
#22 0xb5c82c5a in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#23 0xb6154e7a in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#24 0xb615d7b1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#25 0xb6d7894d in KApplication::notify () from /usr/lib/libkdeui.so.5
#26 0xb5c83a3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#27 0xb61da51d in ?? () from /usr/lib/libQtGui.so.4
#28 0xb61df1a3 in QDragManager::drop () from /usr/lib/libQtGui.so.4
#29 0xb61df366 in QDragManager::eventFilter () from /usr/lib/libQtGui.so.4
#30 0xb5c82d1c in QCoreApplicationPrivate::sendThroughApplicationEventFilters () from /usr/lib/libQtCore.so.4
#31 0xb6154e13 in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#32 0xb615db11 in QApplication::notify () from /usr/lib/libQtGui.so.4
#33 0xb6d7894d in KApplication::notify () from /usr/lib/libkdeui.so.5
#34 0xb5c83a3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#35 0xb615cb7e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#36 0xb61cc97e in ?? () from /usr/lib/libQtGui.so.4
#37 0xb61cbca7 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#38 0xb61f6c6a in ?? () from /usr/lib/libQtGui.so.4
#39 0xb4d56b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0xb4d5a0eb in ?? () from /usr/lib/libglib-2.0.so.0
#41 0xb4d5a268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#42 0xb5caf438 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#43 0xb61f6365 in ?? () from /usr/lib/libQtGui.so.4
#44 0xb5c8206a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#45 0xb5c824aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#46 0xb61dd310 in QDragManager::drag () from /usr/lib/libQtGui.so.4
#47 0xb616853a in QDrag::exec () from /usr/lib/libQtGui.so.4
#48 0xb61685e4 in QDrag::exec () from /usr/lib/libQtGui.so.4
#49 0xb07a5f78 in KMail::FolderView::startDrag () from /usr/lib/libkmailprivate.so.4
#50 0xb66d2b5d in QAbstractItemView::mouseMoveEvent () from /usr/lib/libQtGui.so.4
#51 0xb6711e84 in QTreeView::mouseMoveEvent () from /usr/lib/libQtGui.so.4
#52 0xb61ab9ad in QWidget::event () from /usr/lib/libQtGui.so.4
#53 0xb6585993 in QFrame::event () from /usr/lib/libQtGui.so.4
#54 0xb662594f in QAbstractScrollArea::viewportEvent () from /usr/lib/libQtGui.so.4
#55 0xb66d7647 in QAbstractItemView::viewportEvent () from /usr/lib/libQtGui.so.4
#56 0xb67120c4 in QTreeView::viewportEvent () from /usr/lib/libQtGui.so.4
#57 0xb6627f55 in ?? () from /usr/lib/libQtGui.so.4
#58 0xb5c82c5a in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#59 0xb6154e7a in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#60 0xb615db11 in QApplication::notify () from /usr/lib/libQtGui.so.4
#61 0xb6d7894d in KApplication::notify () from /usr/lib/libkdeui.so.5
#62 0xb5c83a3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#63 0xb615cb7e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#64 0xb61cc97e in ?? () from /usr/lib/libQtGui.so.4
#65 0xb61cbca7 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#66 0xb61f6c6a in ?? () from /usr/lib/libQtGui.so.4
#67 0xb4d56b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#68 0xb4d5a0eb in ?? () from /usr/lib/libglib-2.0.so.0
#69 0xb4d5a268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#70 0xb5caf438 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#71 0xb61f6365 in ?? () from /usr/lib/libQtGui.so.4
#72 0xb5c8206a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#73 0xb5c824aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#74 0xb5c84959 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#75 0xb6154d17 in QApplication::exec () from /usr/lib/libQtGui.so.4
#76 0x0804c072 in _start ()
Comment 1 Christophe Marin 2009-07-04 15:58:52 UTC
Unfortunately, the backtrace is not helpful. If you can reproduce this bug, please install the debug package and paste a better one. 
More informations on this page: http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

(you need the debug package for kdepim)
Comment 2 Nicolas L. 2009-12-09 11:02:55 UTC
just reproduced in kde 4.3.80 i will attach a better crashlog
Comment 3 Nicolas L. 2009-12-09 11:03:57 UTC
Thread 1 (Thread 0xb32e26d0 (LWP 7015)):
[KCrash Handler]
#6  0xffffe424 in __kernel_vsyscall ()
#7  0xb4b50a71 in raise () from /lib/i686/libc.so.6
#8  0xb4b523c2 in abort () from /lib/i686/libc.so.6
#9  0xb5a225f4 in qt_message_output (msgType=QtFatalMsg, buf=0x6 <Address 0x6 out of bounds>) at global/qglobal.cpp:2226
#10 0xb5a22813 in qt_message (msgType=QtFatalMsg, msg=0xb5b9d85c "ASSERT: \"%s\" in file %s, line %d", ap=0xbf8725c4 "Ѽ���!��~") at global/qglobal.cpp:2272
#11 0xb5a22938 in qFatal (msg=0xb5b9d85c "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2455
#12 0xb5a229c5 in qt_assert (assertion=0xaeefbcd1 "d", file=0xaeed21c0 "/usr/include/ksharedptr.h", line=126) at global/qglobal.cpp:1989
#13 0xaedbde50 in KSharedPtr<KMimeType>::operator-> (this=0xbf87268c) at /usr/include/ksharedptr.h:126
#14 0xaee7343f in KOEditorAttachments::handlePasteOrDrop (this=0xac1cdc8, mimeData=0xa828eb0) at /home/niconico/rpm/BUILD/kdepim-4.3.80/korganizer/koeditorattachments.cpp:589
#15 0xaee7190b in KOEditorAttachments::dropped (this=0xac1cdc8, e=0xbf872f20, lst=@0xbf872954) at /home/niconico/rpm/BUILD/kdepim-4.3.80/korganizer/koeditorattachments.cpp:614
#16 0xaee76a6e in KOEditorAttachments::qt_metacall (this=0xac1cdc8, _c=QMetaObject::InvokeMetaMethod, _id=37, _a=0xbf872874)
    at /home/niconico/rpm/BUILD/kdepim-4.3.80/build/korganizer/koeditorattachments.moc:173
#17 0xb5b38d5d in QMetaObject::metacall (object=0xac1cdc8, cl=7015, idx=37, argv=0xbf872874) at kernel/qmetaobject.cpp:237
#18 0xb5b47b56 in QMetaObject::activate (sender=0xac1ec10, m=0xb6ed3268, local_signal_index=14, argv=0xbf872874) at kernel/qobject.cpp:3286
#19 0xb6e4d6dd in Q3IconView::dropped () from /usr/lib/libQt3Support.so.4
#20 0xb6cc83f0 in Q3IconView::contentsDropEvent () from /usr/lib/libQt3Support.so.4
#21 0xb71c2828 in K3IconView::contentsDropEvent () from /usr/lib/libkde3support.so.4
#22 0xb6d3f591 in Q3ScrollView::viewportDropEvent () from /usr/lib/libQt3Support.so.4
#23 0xb6d41c3c in Q3ScrollView::eventFilter () from /usr/lib/libQt3Support.so.4
#24 0xb6cbf560 in Q3IconView::eventFilter () from /usr/lib/libQt3Support.so.4
#25 0xb5b32cae in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9d9c008, receiver=0xac1dd78, event=0xbf872f20) at kernel/qcoreapplication.cpp:819
#26 0xb4ee767d in QApplicationPrivate::notify_helper (this=0x9d9c008, receiver=0xac1dd78, e=0xbf872f20) at kernel/qapplication.cpp:4238
#27 0xb4eeebb0 in QApplication::notify (this=0xac1dd78, receiver=0xac1dd78, e=0xbf872f20) at kernel/qapplication.cpp:4065
#28 0xb61950b1 in KApplication::notify () from /usr/lib/libkdeui.so.5
#29 0xb5b339ee in QCoreApplication::notifyInternal (this=0xbf875080, receiver=0xac1dd78, event=0xbf872f20) at kernel/qcoreapplication.cpp:704
#30 0xb4f87f63 in QX11Data::xdndHandleDrop (this=0x9db83b8, xe=0xbf872ffc, passive=false) at ../../src/corelib/kernel/qcoreapplication.h:215
#31 0xb4f882a5 in QDragManager::drop (this=0xaa5dce0) at kernel/qdnd_x11.cpp:1700
#32 0xb4f8a522 in QDragManager::eventFilter (this=0xaa5dce0, o=0x9ec12d0, e=0xbf8734d0) at kernel/qdnd_x11.cpp:1293
#33 0xb5b32d6b in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0x9d9c008, receiver=0x9ec12d0, event=0xbf8734d0) at kernel/qcoreapplication.cpp:800
#34 0xb4ee762a in QApplicationPrivate::notify_helper (this=0x9d9c008, receiver=0x9ec12d0, e=0xbf8734d0) at kernel/qapplication.cpp:4217
#35 0xb4eee7b2 in QApplication::notify (this=0xbf873260, receiver=0x9ec12d0, e=0xbf8734d0) at kernel/qapplication.cpp:3822
#36 0xb61950b1 in KApplication::notify () from /usr/lib/libkdeui.so.5
#37 0xb5b339ee in QCoreApplication::notifyInternal (this=0xbf875080, receiver=0x9ec12d0, event=0xbf8734d0) at kernel/qcoreapplication.cpp:704
#38 0xb4eede14 in QApplicationPrivate::sendMouseEvent (receiver=0x9ec12d0, event=0xbf8734d0, alienWidget=0x0, nativeWidget=0x9ec12d0, buttonDown=0xb5846040, lastMouseReceiver=@0xb5846044, 
    spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:218
#39 0xb4f7991a in QETWidget::translateMouseEvent (this=0x9ec12d0, event=0xbf8739dc) at kernel/qapplication_x11.cpp:4368
#40 0xb4f78ec4 in QApplication::x11ProcessEvent (this=0xbf875080, event=0xbf8739dc) at kernel/qapplication_x11.cpp:3379
#41 0xb4fa65f8 in x11EventSourceDispatch (s=0x9da72f8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#42 0xb3d46b52 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#43 0xb3d4a428 in ?? () from /usr/lib/libglib-2.0.so.0
#44 0xb3d4a54e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#45 0xb5b60651 in QEventDispatcherGlib::processEvents (this=0x9d9a190, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:407
#46 0xb4fa614a in QGuiEventDispatcherGlib::processEvents (this=0x9d9a190, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#47 0xb5b3204d in QEventLoop::processEvents (this=0xa800538, flags=) at kernel/qeventloop.cpp:149
#48 0xb5b32499 in QEventLoop::exec (this=0xa800538, flags={i = 0}) at kernel/qeventloop.cpp:201
#49 0xb4f8d513 in QDragManager::drag (this=0xaa5dce0, o=0xa7bcb90) at kernel/qdnd_x11.cpp:1960
#50 0xb4efef21 in QDrag::exec (this=0xa7bcb90, supportedActions=) at kernel/qdrag.cpp:282
#51 0xb4efefd5 in QDrag::exec (this=0xa7bcb90, supportedActions={i = 3}) at kernel/qdrag.cpp:239
#52 0xafbeed62 in KMail::FolderView::startDrag (this=0xa4cbae0) at /home/niconico/rpm/BUILD/kdepim-4.3.80/kmail/folderview.cpp:2287
#53 0xb54a06d4 in QAbstractItemView::mouseMoveEvent (this=0xa4cbae0, event=0xbf873f2c) at itemviews/qabstractitemview.cpp:1669
#54 0xb54e5afc in QTreeView::mouseMoveEvent (this=0xa4cbae0, event=0xbf874820) at itemviews/qtreeview.cpp:1896
#55 0xb4f46846 in QWidget::event (this=0xa4cbae0, event=0xbf874820) at kernel/qwidget.cpp:7959
#56 0xb5350e25 in QFrame::event (this=0xa4cbae0, e=0xbf874820) at widgets/qframe.cpp:557
#57 0xb53ed151 in QAbstractScrollArea::viewportEvent (this=0x1b67, e=0x6) at widgets/qabstractscrollarea.cpp:1032
#58 0xb54a579c in QAbstractItemView::viewportEvent (this=0xa4cbae0, event=0xbf874820) at itemviews/qabstractitemview.cpp:1589
#59 0xb54e5c91 in QTreeView::viewportEvent (this=0xa4cbae0, event=0xbf874820) at itemviews/qtreeview.cpp:1250
#60 0xb53efa46 in QAbstractScrollAreaFilter::eventFilter (this=0xa4cd140, o=0xa4ca948, e=0xbf874820) at widgets/qabstractscrollarea_p.h:100
#61 0xb5b32cae in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9d9c008, receiver=0xa4ca948, event=0xbf874820) at kernel/qcoreapplication.cpp:819
#62 0xb4ee767d in QApplicationPrivate::notify_helper (this=0x9d9c008, receiver=0xa4ca948, e=0xbf874820) at kernel/qapplication.cpp:4238
#63 0xb4eee7b2 in QApplication::notify (this=0xbf8745b0, receiver=0xa4ca948, e=0xbf874820) at kernel/qapplication.cpp:3822
#64 0xb61950b1 in KApplication::notify () from /usr/lib/libkdeui.so.5
#65 0xb5b339ee in QCoreApplication::notifyInternal (this=0xbf875080, receiver=0xa4ca948, event=0xbf874820) at kernel/qcoreapplication.cpp:704
#66 0xb4eede14 in QApplicationPrivate::sendMouseEvent (receiver=0xa4ca948, event=0xbf874820, alienWidget=0xa376788, nativeWidget=0x9ef25c0, buttonDown=0xb5846040, lastMouseReceiver=@0xb5846044, 
    spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:218
#67 0xb4f7991a in QETWidget::translateMouseEvent (this=0x9ef25c0, event=0xbf874d2c) at kernel/qapplication_x11.cpp:4368
#68 0xb4f78ec4 in QApplication::x11ProcessEvent (this=0xbf875080, event=0xbf874d2c) at kernel/qapplication_x11.cpp:3379
#69 0xb4fa65f8 in x11EventSourceDispatch (s=0x9da72f8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#70 0xb3d46b52 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#71 0xb3d4a428 in ?? () from /usr/lib/libglib-2.0.so.0
#72 0xb3d4a54e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#73 0xb5b60651 in QEventDispatcherGlib::processEvents (this=0x9d9a190, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:407
#74 0xb4fa614a in QGuiEventDispatcherGlib::processEvents (this=0x9d9a190, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#75 0xb5b3204d in QEventLoop::processEvents (this=0xbf874fe4, flags=) at kernel/qeventloop.cpp:149
#76 0xb5b32499 in QEventLoop::exec (this=0xbf874fe4, flags={i = 0}) at kernel/qeventloop.cpp:201
#77 0xb5b36620 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#78 0xb4ee7754 in QApplication::exec () at kernel/qapplication.cpp:3570
#79 0x0804b21d in main (argc=1, argv=0xbf875264) at /home/niconico/rpm/BUILD/kdepim-4.3.80/kontact/src/main.cpp:221
Comment 4 Sergio Martins 2011-06-04 16:45:14 UTC
That code is gone from korganizer.