Bug 195606 - Kjots crashes when drag and drop book on itself
Summary: Kjots crashes when drag and drop book on itself
Status: RESOLVED FIXED
Alias: None
Product: kjots
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Stephen Kelly
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-07 23:34 UTC by Sergei Andreev
Modified: 2010-02-16 10:57 UTC (History)
1 user (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 Sergei Andreev 2009-06-07 23:34:04 UTC
Version:           4.2.4 (KDE 4.2.4) (using 4.2.4 (KDE 4.2.4), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.28-12-generic

http://pic.ipicture.ru/uploads/090608/876/gxoSWAO3ah.png

Приложение: KJots (kjots), сигнал SIGSEGV
0x00007f4588226cf0 in __nanosleep_nocancel () from /lib/libc.so.6
Current language:  auto; currently c

Thread 1 (Thread 0x7f458ce04750 (LWP 8574)):
[KCrash Handler]
#5  QVector<QTreeWidgetItem*>::realloc (this=0x7fff94e3be30, asize=268435455, aalloc=-268435455) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:87
#6  0x00007f4589ee09a8 in QTreeWidgetItemPrivate::propagateDisabled (this=<value optimized out>, item=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvector.h:525
#7  0x00007f4589ee0ddc in QTreeWidgetItem::insertChild (this=0x33205d0, index=6, child=0x33205d0) at itemviews/qtreewidget.cpp:1922
#8  0x0000000000428c25 in Bookshelf::dropMimeData (this=0x2199c60, parent=0x33205d0, index=6, data=<value optimized out>, action=<value optimized out>)
    at /build/buildd/kdepim-4.2.4/kjots/bookshelf.cpp:462
#9  0x00007f4589e6522d in QAbstractItemView::dropEvent (this=0x2199c60, event=0x7fff94e3ce60) at itemviews/qabstractitemview.cpp:1844
#10 0x00007f4589ee4b47 in QTreeWidget::dropEvent (this=0x2199c60, event=0x7fff94e3ce60) at itemviews/qtreewidget.cpp:3409
#11 0x00007f458999e8c9 in QWidget::event (this=0x2199c60, event=0x7fff94e3ce60) at kernel/qwidget.cpp:7703
#12 0x00007f4589d3c45b in QFrame::event (this=0x2199c60, e=0x7fff94e3ce60) at widgets/qframe.cpp:559
#13 0x00007f4589e7161d in QAbstractItemView::viewportEvent (this=0x2199c60, event=0x7fff94e3ce60) at itemviews/qabstractitemview.cpp:1471
#14 0x00007f4589ea8379 in QTreeView::viewportEvent (this=0x2199c60, event=0x7fff94e3ce60) at itemviews/qtreeview.cpp:1264
#15 0x00007f4588de2108 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2197390, event=0x7fff94e3ce60) at kernel/qcoreapplication.cpp:726
#16 0x00007f458994db6c in QApplicationPrivate::notify_helper (this=0x20f22f0, receiver=0x2197390, e=0x7fff94e3ce60) at kernel/qapplication.cpp:4053
#17 0x00007f4589956330 in QApplication::notify (this=<value optimized out>, receiver=0x2197390, e=0x7fff94e3ce60) at kernel/qapplication.cpp:4010
#18 0x00007f458ad7a84b in KApplication::notify (this=0x7fff94e424c0, receiver=0x2197390, event=0x7fff94e3ce60) at /build/buildd/kde4libs-4.2.4/kdeui/kernel/kapplication.cpp:307
#19 0x00007f4588de2dfc in QCoreApplication::notifyInternal (this=0x7fff94e424c0, receiver=0x2197390, event=0x7fff94e3ce60) at kernel/qcoreapplication.cpp:610
#20 0x00007f45899cc2a5 in QX11Data::xdndHandleDrop (this=<value optimized out>, xe=<value optimized out>, passive=<value optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#21 0x00007f45899d0b57 in QDragManager::drop (this=0x2339b90) at kernel/qdnd_x11.cpp:1709
#22 0x00007f45899d0cec in QDragManager::eventFilter (this=0x2339b90, o=<value optimized out>, e=<value optimized out>) at kernel/qdnd_x11.cpp:1302
#23 0x00007f4588de21cc in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0x20f22f0, receiver=0x297a870, event=0x7fff94e3d6a0) at kernel/qcoreapplication.cpp:707
#24 0x00007f458994db06 in QApplicationPrivate::notify_helper (this=0xffffffff80000060, receiver=0x20750, e=0x0) at kernel/qapplication.cpp:4032
#25 0x00007f458995654a in QApplication::notify (this=<value optimized out>, receiver=0x297a870, e=0x7fff94e3d6a0) at kernel/qapplication.cpp:3759
#26 0x00007f458ad7a84b in KApplication::notify (this=0x7fff94e424c0, receiver=0x297a870, event=0x7fff94e3d6a0) at /build/buildd/kde4libs-4.2.4/kdeui/kernel/kapplication.cpp:307
#27 0x00007f4588de2dfc in QCoreApplication::notifyInternal (this=0x7fff94e424c0, receiver=0x297a870, event=0x7fff94e3d6a0) at kernel/qcoreapplication.cpp:610
#28 0x00007f4589955798 in QApplicationPrivate::sendMouseEvent (receiver=0x297a870, event=0x7fff94e3d6a0, alienWidget=0x0, nativeWidget=0x297a870, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f458a3af010) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#29 0x00007f45899bf789 in QETWidget::translateMouseEvent (this=0x297a870, event=<value optimized out>) at kernel/qapplication_x11.cpp:4448
#30 0x00007f45899be7f5 in QApplication::x11ProcessEvent (this=0x7fff94e424c0, event=0x7fff94e3f220) at kernel/qapplication_x11.cpp:3566
#31 0x00007f45899e6f84 in x11EventSourceDispatch (s=0x20fba90, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x00007f45830f120a in IA__g_main_context_dispatch (context=0x20faca0) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#33 0x00007f45830f48e0 in g_main_context_iterate (context=0x20faca0, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#34 0x00007f45830f4a7c in IA__g_main_context_iteration (context=0x20faca0, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#35 0x00007f4588e0c52f in QEventDispatcherGlib::processEvents (this=0x20d1820, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#36 0x00007f45899e670f in QGuiEventDispatcherGlib::processEvents (this=0xffffffff80000060, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#37 0x00007f4588de16a2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1796999920}) at kernel/qeventloop.cpp:149
#38 0x00007f4588de1a6d in QEventLoop::exec (this=0x2c13c80, flags={i = -1796999776}) at kernel/qeventloop.cpp:200
#39 0x00007f45899d04a7 in QDragManager::drag (this=0x2339b90, o=<value optimized out>) at kernel/qdnd_x11.cpp:1969
#40 0x00007f4589960618 in QDrag::exec (this=0x3261800, supportedActions={i = -1796999312}, defaultDropAction=Qt::CopyAction) at kernel/qdrag.cpp:282
#41 0x00007f4589e6f94e in QAbstractItemView::startDrag (this=0x2199c60, supportedActions={i = -1796998864}) at itemviews/qabstractitemview.cpp:3196
#42 0x00007f4589e6cbe7 in QAbstractItemView::mouseMoveEvent (this=0x2199c60, event=0x7fff94e405c0) at itemviews/qabstractitemview.cpp:1547
#43 0x00007f458999ec88 in QWidget::event (this=0x2199c60, event=0x7fff94e405c0) at kernel/qwidget.cpp:7506
#44 0x00007f4589d3c45b in QFrame::event (this=0x2199c60, e=0x7fff94e405c0) at widgets/qframe.cpp:559
#45 0x00007f4589e7161d in QAbstractItemView::viewportEvent (this=0x2199c60, event=0x7fff94e405c0) at itemviews/qabstractitemview.cpp:1471
#46 0x00007f4589ea8379 in QTreeView::viewportEvent (this=0x2199c60, event=0x7fff94e405c0) at itemviews/qtreeview.cpp:1264
#47 0x00007f4588de2108 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2197390, event=0x7fff94e405c0) at kernel/qcoreapplication.cpp:726
#48 0x00007f458994db6c in QApplicationPrivate::notify_helper (this=0x20f22f0, receiver=0x2197390, e=0x7fff94e405c0) at kernel/qapplication.cpp:4053
#49 0x00007f458995654a in QApplication::notify (this=<value optimized out>, receiver=0x2197390, e=0x7fff94e405c0) at kernel/qapplication.cpp:3759
#50 0x00007f458ad7a84b in KApplication::notify (this=0x7fff94e424c0, receiver=0x2197390, event=0x7fff94e405c0) at /build/buildd/kde4libs-4.2.4/kdeui/kernel/kapplication.cpp:307
#51 0x00007f4588de2dfc in QCoreApplication::notifyInternal (this=0x7fff94e424c0, receiver=0x2197390, event=0x7fff94e405c0) at kernel/qcoreapplication.cpp:610
#52 0x00007f4589955798 in QApplicationPrivate::sendMouseEvent (receiver=0x2197390, event=0x7fff94e405c0, alienWidget=0x2197390, nativeWidget=0x21922e0, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f458a3af010) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#53 0x00007f45899bf789 in QETWidget::translateMouseEvent (this=0x21922e0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4448
#54 0x00007f45899be7f5 in QApplication::x11ProcessEvent (this=0x7fff94e424c0, event=0x7fff94e42140) at kernel/qapplication_x11.cpp:3566
#55 0x00007f45899e6f84 in x11EventSourceDispatch (s=0x20fba90, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#56 0x00007f45830f120a in IA__g_main_context_dispatch (context=0x20faca0) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#57 0x00007f45830f48e0 in g_main_context_iterate (context=0x20faca0, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#58 0x00007f45830f4a7c in IA__g_main_context_iteration (context=0x20faca0, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#59 0x00007f4588e0c52f in QEventDispatcherGlib::processEvents (this=0x20d1820, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#60 0x00007f45899e670f in QGuiEventDispatcherGlib::processEvents (this=0xffffffff80000060, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#61 0x00007f4588de16a2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1796987856}) at kernel/qeventloop.cpp:149
#62 0x00007f4588de1a6d in QEventLoop::exec (this=0x7fff94e42470, flags={i = -1796987776}) at kernel/qeventloop.cpp:200
#63 0x00007f4588de3d34 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#64 0x000000000041cb1f in main (argc=3, argv=<value optimized out>) at /build/buildd/kdepim-4.2.4/kjots/main.cpp:79
Comment 1 Joseph Neal 2009-06-23 22:07:59 UTC
I can confirm this bug, having experienced it in KDE 4.2.2 in debian squeeze. I can provide additional information if needed.
Comment 2 Stephen Kelly 2010-02-16 10:57:34 UTC
SVN commit 1090867 by skelly:

Merge KJots application and plasmoid from akonadi-ports into trunk where development will continue.

This is still very much a work in progress.

CCMAIL: kde-pim@kde.org
BUG: 162268
BUG: 175073
BUG: 183576
BUG: 195606



 M  +6 -1      CMakeLists.txt  
 A             cmake/modules/FindGrantlee.cmake   branches/work/akonadi-ports/kdepim/cmake/modules/FindGrantlee.cmake#1035244
 M  +44 -11    kjots/CMakeLists.txt  
 M  +6 -7      kjots/KJotsMain.cpp  
 M  +2 -2      kjots/KJotsMain.h  
 D             kjots/flatcollectionproxymodel.cpp  
 D             kjots/flatcollectionproxymodel.h  
 M  +27 -10    kjots/kjotsbookmarks.cpp  
 M  +5 -5      kjots/kjotsbookmarks.h  
 M  +4 -38     kjots/kjotsbrowser.cpp  
 M  +1 -10     kjots/kjotsbrowser.h  
 M  +89 -19    kjots/kjotsedit.cpp  
 M  +11 -9     kjots/kjotsedit.h  
 M  +20 -18    kjots/kjotslinkdialog.cpp  
 M  +2 -5      kjots/kjotslinkdialog.h  
 A             kjots/kjotsmodel.cpp   branches/work/akonadi-ports/kdepim/kjots/kjotsmodel.cpp#1035208 [License: LGPL (v2+)]
 A             kjots/kjotsmodel.h   branches/work/akonadi-ports/kdepim/kjots/kjotsmodel.h#1035208 [License: LGPL (v2+)]
 M  +3 -2      kjots/kjotspart.cpp  
 M  +2 -2      kjots/kjotspart.h  
 A             kjots/kjotstreeview.cpp   branches/work/akonadi-ports/kdepim/kjots/kjotstreeview.cpp#1041745 [License: LGPL (v2+)]
 A             kjots/kjotstreeview.h   branches/work/akonadi-ports/kdepim/kjots/kjotstreeview.h#1041745 [License: LGPL (v2+)]
 A             kjots/kjotswidget.cpp   branches/work/akonadi-ports/kdepim/kjots/kjotswidget.cpp#1035259 [License: LGPL (v2+)]
 A             kjots/kjotswidget.h   branches/work/akonadi-ports/kdepim/kjots/kjotswidget.h#1035259 [License: LGPL (v2+)]
 M  +4 -1      kjots/knowitimporter.cpp  
 M  +1 -3      kjots/knowitimporter.h  
 A             kjots/note.cpp   branches/work/akonadi-ports/kdepim/kjots/note.cpp#1045747 [License: LGPL (v2+)]
 A             kjots/note.h   branches/work/akonadi-ports/kdepim/kjots/note.h#1045747 [License: LGPL (v2+)]
 A             kjots/plasmoid (directory)   branches/work/akonadi-ports/kdepim/kjots/plasmoid#1040650
 M  +11 -1     kjots/plasmoid/CMakeLists.txt  
 A             kjots/plasmoid/akonotes_applet.ui   branches/work/akonadi-ports/kdepim/kjots/plasmoid/akonotes_applet.ui#1041125
 A             kjots/plasmoid/akonotes_list.desktop   branches/work/akonadi-ports/kdepim/kjots/plasmoid/akonotes_list.desktop#1045747
 A             kjots/plasmoid/akonotes_note.desktop   branches/work/akonadi-ports/kdepim/kjots/plasmoid/akonotes_note.desktop#1045747
 A             kjots/plasmoid/akonotes_noteapplet.cpp   branches/work/akonadi-ports/kdepim/kjots/plasmoid/akonotes_noteapplet.cpp#1045747 [License: LGPL (v2+)]
 A             kjots/plasmoid/akonotes_noteapplet.h   branches/work/akonadi-ports/kdepim/kjots/plasmoid/akonotes_noteapplet.h#1045747 [License: LGPL (v2+)]
 A             kjots/plasmoid/akonotes_noteslistapplet.cpp   branches/work/akonadi-ports/kdepim/kjots/plasmoid/akonotes_noteslistapplet.cpp#1045747 [License: LGPL (v2+)]
 A             kjots/plasmoid/akonotes_noteslistapplet.h   branches/work/akonadi-ports/kdepim/kjots/plasmoid/akonotes_noteslistapplet.h#1045747 [License: LGPL (v2+)]
 A             kjots/plasmoid/plasmatreeview.cpp   branches/work/akonadi-ports/kdepim/kjots/plasmoid/plasmatreeview.cpp#1045747 [License: LGPL (v2+)]
 A             kjots/plasmoid/plasmatreeview.h   branches/work/akonadi-ports/kdepim/kjots/plasmoid/plasmatreeview.h#1045747 [License: LGPL (v2+)]
 A             kjots/plasmoid/stickynote.svgz   branches/work/akonadi-ports/kdepim/kjots/plasmoid/stickynote.svgz#1045747
 A             kjots/themes (directory)   branches/work/akonadi-ports/kdepim/kjots/themes#1040526


WebSVN link: http://websvn.kde.org/?view=rev&revision=1090867