Bug 290572

Summary: kbookmareditor crash when dragging folders to rearrange them
Product: [Applications] keditbookmarks Reporter: Nick Leverton <nick>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nick Leverton 2012-01-04 09:37:05 UTC
Application: keditbookmarks (4.7.4 (4.7.4))
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-14-generic-pae i686
Distribution: Ubuntu 11.10

-- Information about the crash:
whilst rearranging my small number of bookmarks and folders, I tried to drag one to the end of the list, after the last existing folder.  It did not go there but popped up to the top of the list.  i dragged it back down to the end again and kbookmarkeditor crashed.

I tried to recreate but could not, but it seems anyway to be impossible to drag a folder to the end of the list, the insertion bar never gets there.  It stops at the end of the previous folder.  Presume this is something to do with why it crashed.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Bookmark Editor (keditbookmarks), signal: Segmentation fault
[Current thread is 1 (Thread 0xb4f56710 (LWP 13814))]

Thread 2 (Thread 0xb2c28b70 (LWP 13818)):
#0  0xb53cbd10 in __GI_clock_gettime (clock_id=1, tp=0xb2c28028) at ../sysdeps/unix/clock_gettime.c:116
#1  0xb5f787d5 in do_gettime (frac=0xb2c28020, sec=0xb2c28018) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb604b4b6 in QTimerInfoList::updateCurrentTime (this=0x932773c) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb604b80a in QTimerInfoList::timerWait (this=0x932773c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb604a053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb2c2812c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb604a0ed in timerSourcePrepare (source=0x9327708, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb55a188c in g_main_context_prepare (context=0x9327538, priority=0xb2c28188) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:2762
#8  0xb55a2637 in g_main_context_iterate (context=0x9327538, block=1, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3069
#9  0xb55a2c2a in g_main_context_iteration (context=0x9327538, may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#10 0xb604ab37 in QEventDispatcherGlib::processEvents (this=0x92e3980, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb601b1dd in QEventLoop::processEvents (this=0xb2c282b0, flags=...) at kernel/qeventloop.cpp:149
#12 0xb601b421 in QEventLoop::exec (this=0xb2c282b0, flags=...) at kernel/qeventloop.cpp:201
#13 0xb5f1e90b in QThread::exec (this=0x92d6a80) at thread/qthread.cpp:498
#14 0xb5ffbe2d in QInotifyFileSystemWatcherEngine::run (this=0x92d6a80) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb5f217b3 in QThreadPrivate::start (arg=0x92d6a80) at thread/qthread_unix.cpp:331
#16 0xb5678d31 in start_thread (arg=0xb2c28b70) at pthread_create.c:304
#17 0xb773d0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb4f56710 (LWP 13814)):
[KCrash Handler]
#7  end (this=0xb77e4400) at /usr/include/qt4/QtCore/qlist.h:258
#8  qDeleteAll<QList<TreeItem*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#9  TreeItem::~TreeItem (this=0xb77e4400, __in_chrg=<optimized out>) at ../../../keditbookmarks/kbookmarkmodel/treeitem.cpp:29
#10 0xb766440e in TreeItem::deleteChildren (this=0x970e7d0, first=5, last=5) at ../../../keditbookmarks/kbookmarkmodel/treeitem.cpp:80
#11 0xb7662884 in KBookmarkModel::removeBookmark (this=0x92847e0, bookmark=...) at ../../../keditbookmarks/kbookmarkmodel/model.cpp:450
#12 0xb765cbe6 in CreateCommand::undo (this=0x9683680) at ../../../keditbookmarks/kbookmarkmodel/commands.cpp:156
#13 0xb765fefb in DeleteCommand::redo (this=0x9683730) at ../../../keditbookmarks/kbookmarkmodel/commands.cpp:320
#14 0xb6c70fd3 in QUndoCommand::redo (this=0x9456208) at util/qundostack.cpp:208
#15 0xb7660216 in DeleteCommand::redo (this=0x9683418) at ../../../keditbookmarks/kbookmarkmodel/commands.cpp:311
#16 0xb6c70fd3 in QUndoCommand::redo (this=0x9679030) at util/qundostack.cpp:208
#17 0xb7660216 in DeleteCommand::redo (this=0x961ba88) at ../../../keditbookmarks/kbookmarkmodel/commands.cpp:311
#18 0xb765e7bd in MoveCommand::redo (this=0x9769eb0) at ../../../keditbookmarks/kbookmarkmodel/commands.cpp:377
#19 0xb6c70fd3 in QUndoCommand::redo (this=0x929cc08) at util/qundostack.cpp:208
#20 0xb6c72775 in QUndoStack::push (this=0x928361c, cmd=0x929cc08) at util/qundostack.cpp:541
#21 0xb765c878 in CommandHistory::addCommand (this=0x9283578, cmd=0x929cc08) at ../../../keditbookmarks/kbookmarkmodel/commandhistory.cpp:107
#22 0xb766319f in KBookmarkModel::dropMimeData (this=0x92847e0, data=0x96789e0, action=Qt::MoveAction, row=-1, column=-1, parent=...) at ../../../keditbookmarks/kbookmarkmodel/model.cpp:380
#23 0xb6b128e6 in QAbstractItemView::dropEvent (this=0x92cbd10, event=0xbfeb360c) at itemviews/qabstractitemview.cpp:1990
#24 0xb65d2737 in QWidget::event (this=0x92cbd10, event=0xbfeb360c) at kernel/qwidget.cpp:8485
#25 0xb69d7235 in QFrame::event (this=0x92cbd10, e=0xbfeb360c) at widgets/qframe.cpp:557
#26 0xb6a697d1 in QAbstractScrollArea::viewportEvent (this=0x92cbd10, e=0xbfeb360c) at widgets/qabstractscrollarea.cpp:1043
#27 0xb6b0bb6c in QAbstractItemView::viewportEvent (this=0x92cbd10, event=0xbfeb360c) at itemviews/qabstractitemview.cpp:1628
#28 0xb6b56326 in QTreeView::viewportEvent (this=0x92cbd10, event=0xbfeb360c) at itemviews/qtreeview.cpp:1256
#29 0xb6a6bee6 in viewportEvent (this=<optimized out>, event=0xbfeb360c) at widgets/qabstractscrollarea_p.h:100
#30 eventFilter (e=0xbfeb360c, this=<optimized out>, o=<optimized out>) at widgets/qabstractscrollarea_p.h:116
#31 QAbstractScrollAreaFilter::eventFilter (this=0x92cd9d0, o=0x92cc730, e=0xbfeb360c) at widgets/qabstractscrollarea_p.h:115
#32 0xb601c336 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9167560, receiver=0x92cc730, event=0xbfeb360c) at kernel/qcoreapplication.cpp:902
#33 0xb6577d22 in notify_helper (e=0xbfeb360c, receiver=0x92cc730, this=0x9167560) at kernel/qapplication.cpp:4482
#34 QApplicationPrivate::notify_helper (this=0x9167560, receiver=0x92cc730, e=0xbfeb360c) at kernel/qapplication.cpp:4458
#35 0xb657dabc in QApplication::notify (this=0x9167560, receiver=0x92cc730, e=0xbfeb360c) at kernel/qapplication.cpp:4290
#36 0xb70ce971 in KApplication::notify (this=0xbfeb5464, receiver=0x92cc730, event=0xbfeb360c) at ../../kdeui/kernel/kapplication.cpp:311
#37 0xb601c19e in QCoreApplication::notifyInternal (this=0xbfeb5464, receiver=0x92cc730, event=0xbfeb360c) at kernel/qcoreapplication.cpp:787
#38 0xb661086c in sendEvent (event=0xbfeb35fc, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#39 QX11Data::xdndHandleDrop (this=0x916a168, xe=0xbfeb36fc, passive=false) at kernel/qdnd_x11.cpp:1183
#40 0xb66119d4 in QDragManager::drop (this=0x966bc90) at kernel/qdnd_x11.cpp:1725
#41 0xb6614672 in QDragManager::eventFilter (this=0x966bc90, o=0x976b8e8, e=0xbfeb3afc) at kernel/qdnd_x11.cpp:1312
#42 0xb601c26b in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0x9167560, receiver=0x976b8e8, event=0xbfeb3afc) at kernel/qcoreapplication.cpp:883
#43 0xb6577cca in QApplicationPrivate::notify_helper (this=0x9167560, receiver=0x976b8e8, e=0xbfeb3afc) at kernel/qapplication.cpp:4461
#44 0xb657ddbb in QApplication::notify (this=0x9167560, receiver=0x976b8e8, e=0xbfeb3afc) at kernel/qapplication.cpp:4047
#45 0xb70ce971 in KApplication::notify (this=0xbfeb5464, receiver=0x976b8e8, event=0xbfeb3afc) at ../../kdeui/kernel/kapplication.cpp:311
#46 0xb601c19e in QCoreApplication::notifyInternal (this=0xbfeb5464, receiver=0x976b8e8, event=0xbfeb3afc) at kernel/qcoreapplication.cpp:787
#47 0xb6578d15 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#48 QApplicationPrivate::sendMouseEvent (receiver=0x976b8e8, event=0xbfeb3afc, alienWidget=0x0, nativeWidget=0x976b8e8, buttonDown=0xb6ee2eb4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#49 0xb66052c4 in QETWidget::translateMouseEvent (this=0x976b8e8, event=0xbfeb3f7c) at kernel/qapplication_x11.cpp:4568
#50 0xb6603e4d in QApplication::x11ProcessEvent (this=0xbfeb5464, event=0xbfeb3f7c) at kernel/qapplication_x11.cpp:3690
#51 0xb663024c in x11EventSourceDispatch (s=0x9169240, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#52 0xb55a225f in g_main_dispatch (context=0x91694c8) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:2441
#53 g_main_context_dispatch (context=0x91694c8) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3011
#54 0xb55a2990 in g_main_context_iterate (context=0x91694c8, block=-1252322528, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3089
#55 0xb55a2c2a in g_main_context_iteration (context=0x91694c8, may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#56 0xb604aada in QEventDispatcherGlib::processEvents (this=0x914b248, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#57 0xb662fe3a in QGuiEventDispatcherGlib::processEvents (this=0x914b248, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#58 0xb601b1dd in QEventLoop::processEvents (this=0x93ef9d8, flags=...) at kernel/qeventloop.cpp:149
#59 0xb601b421 in QEventLoop::exec (this=0x93ef9d8, flags=...) at kernel/qeventloop.cpp:201
#60 0xb6614368 in QDragManager::drag (this=0x966bc90, o=0x929b4f8) at kernel/qdnd_x11.cpp:1981
#61 0xb658b681 in QDrag::exec (this=0x929b4f8, supportedActions=..., defaultDropAction=Qt::MoveAction) at kernel/qdrag.cpp:284
#62 0xb6b16408 in QAbstractItemView::startDrag (this=0x92cbd10, supportedActions=...) at itemviews/qabstractitemview.cpp:3448
#63 0xb6b1509d in QAbstractItemView::mouseMoveEvent (this=0x92cbd10, event=0xbfeb4484) at itemviews/qabstractitemview.cpp:1709
#64 0xb6b561bc in QTreeView::mouseMoveEvent (this=0x92cbd10, event=0xbfeb4c3c) at itemviews/qtreeview.cpp:1902
#65 0xb65d1fd4 in QWidget::event (this=0x92cbd10, event=0xbfeb4c3c) at kernel/qwidget.cpp:8280
#66 0xb69d7235 in QFrame::event (this=0x92cbd10, e=0xbfeb4c3c) at widgets/qframe.cpp:557
#67 0xb6a697d1 in QAbstractScrollArea::viewportEvent (this=0x92cbd10, e=0xbfeb4c3c) at widgets/qabstractscrollarea.cpp:1043
#68 0xb6b0bb6c in QAbstractItemView::viewportEvent (this=0x92cbd10, event=0xbfeb4c3c) at itemviews/qabstractitemview.cpp:1628
#69 0xb6b56326 in QTreeView::viewportEvent (this=0x92cbd10, event=0xbfeb4c3c) at itemviews/qtreeview.cpp:1256
#70 0xb6a6bee6 in viewportEvent (this=<optimized out>, event=0xbfeb4c3c) at widgets/qabstractscrollarea_p.h:100
#71 eventFilter (e=0xbfeb4c3c, this=<optimized out>, o=<optimized out>) at widgets/qabstractscrollarea_p.h:116
#72 QAbstractScrollAreaFilter::eventFilter (this=0x92cd9d0, o=0x92cc730, e=0xbfeb4c3c) at widgets/qabstractscrollarea_p.h:115
#73 0xb601c336 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9167560, receiver=0x92cc730, event=0xbfeb4c3c) at kernel/qcoreapplication.cpp:902
#74 0xb6577d22 in notify_helper (e=0xbfeb4c3c, receiver=0x92cc730, this=0x9167560) at kernel/qapplication.cpp:4482
#75 QApplicationPrivate::notify_helper (this=0x9167560, receiver=0x92cc730, e=0xbfeb4c3c) at kernel/qapplication.cpp:4458
#76 0xb657ddbb in QApplication::notify (this=0x9167560, receiver=0x92cc730, e=0xbfeb4c3c) at kernel/qapplication.cpp:4047
#77 0xb70ce971 in KApplication::notify (this=0xbfeb5464, receiver=0x92cc730, event=0xbfeb4c3c) at ../../kdeui/kernel/kapplication.cpp:311
#78 0xb601c19e in QCoreApplication::notifyInternal (this=0xbfeb5464, receiver=0x92cc730, event=0xbfeb4c3c) at kernel/qcoreapplication.cpp:787
#79 0xb6578d15 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#80 QApplicationPrivate::sendMouseEvent (receiver=0x92cc730, event=0xbfeb4c3c, alienWidget=0x92cc730, nativeWidget=0x93ee990, buttonDown=0xb6ee2eb4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#81 0xb66052c4 in QETWidget::translateMouseEvent (this=0x93ee990, event=0xbfeb50bc) at kernel/qapplication_x11.cpp:4568
#82 0xb6603e4d in QApplication::x11ProcessEvent (this=0xbfeb5464, event=0xbfeb50bc) at kernel/qapplication_x11.cpp:3690
#83 0xb663024c in x11EventSourceDispatch (s=0x9169240, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#84 0xb55a225f in g_main_dispatch (context=0x91694c8) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:2441
#85 g_main_context_dispatch (context=0x91694c8) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3011
#86 0xb55a2990 in g_main_context_iterate (context=0x91694c8, block=-1252322528, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3089
#87 0xb55a2c2a in g_main_context_iteration (context=0x91694c8, may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#88 0xb604aada in QEventDispatcherGlib::processEvents (this=0x914b248, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#89 0xb662fe3a in QGuiEventDispatcherGlib::processEvents (this=0x914b248, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#90 0xb601b1dd in QEventLoop::processEvents (this=0xbfeb53c4, flags=...) at kernel/qeventloop.cpp:149
#91 0xb601b421 in QEventLoop::exec (this=0xbfeb53c4, flags=...) at kernel/qeventloop.cpp:201
#92 0xb602019d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#93 0xb65758f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#94 0xb78164e3 in kdemain (argc=6, argv=0xbfeb5724) at ../../keditbookmarks/main.cpp:212
#95 0x0804850b in main (argc=6, argv=0xbfeb5724) at keditbookmarks_dummy.cpp:3

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

Possible duplicates by query: bug 281978, bug 280293, bug 273307.

Reported using DrKonqi
Comment 1 Tommi Tervo 2012-01-04 10:17:26 UTC

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