Bug 323934

Summary: Konqueror Bookmarks crashed on bulk move
Product: keditbookmarks Reporter: Adam Miller <maxamillion>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adawit, Andyclaxn
Priority: NOR Keywords: drkonqi
Version: 4.10.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi

Description Adam Miller 2013-08-23 17:00:46 UTC
Application: keditbookmarks (4.10.5)
KDE Platform Version: 4.10.5
Qt Version: 4.8.5
Operating System: Linux 3.10.9-200.fc19.x86_64 x86_64
Distribution: "Fedora release 19 (Schrödinger’s Cat)"

-- Information about the crash:
- What I was doing when the application crashed:

Select multiple bookmarks in the konqueror bookmark editor menu and attempt to drag and drop to another folder in the bookmark editor.

The crash can be reproduced every time.

-- Backtrace:
Application: Bookmark Editor (keditbookmarks), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#5  0x0000003537e13970 in QDomNode::QDomNode(QDomNode const&) () from /lib64/libQtXml.so.4
#6  0x0000003541011c9d in TreeItem::bookmark() const () from /lib64/libkbookmarkmodel_private.so.4
#7  0x000000354100fb15 in KBookmarkModel::bookmarkForIndex(QModelIndex const&) const () from /lib64/libkbookmarkmodel_private.so.4
#8  0x000000354100fb81 in KBookmarkModel::parent(QModelIndex const&) const () from /lib64/libkbookmarkmodel_private.so.4
#9  0x000000353bf37887 in QSortFilterProxyModelPrivate::can_create_mapping(QModelIndex const&) const () from /lib64/libQtGui.so.4
#10 0x000000353bf3a901 in QSortFilterProxyModelPrivate::_q_sourceRowsAboutToBeInserted(QModelIndex const&, int, int) () from /lib64/libQtGui.so.4
#11 0x000000353698df78 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#12 0x00000035369d7e84 in QAbstractItemModel::rowsAboutToBeInserted(QModelIndex const&, int, int) () from /lib64/libQtCore.so.4
#13 0x0000003536970ba5 in QAbstractItemModel::beginInsertRows(QModelIndex const&, int, int) () from /lib64/libQtCore.so.4
#14 0x00000035410102b4 in KBookmarkModel::beginInsert(KBookmarkGroup const&, int, int) () from /lib64/libkbookmarkmodel_private.so.4
#15 0x000000354100bff7 in CreateCommand::redo() () from /lib64/libkbookmarkmodel_private.so.4
#16 0x000000354100cb2c in MoveCommand::redo() () from /lib64/libkbookmarkmodel_private.so.4
#17 0x000000353bff5ff0 in QUndoCommand::redo() () from /lib64/libQtGui.so.4
#18 0x000000353bff77e3 in QUndoStack::push(QUndoCommand*) () from /lib64/libQtGui.so.4
#19 0x000000354100bbae in CommandHistory::addCommand(QUndoCommand*) () from /lib64/libkbookmarkmodel_private.so.4
#20 0x00000035410113dd in KBookmarkModel::dropMimeData(QMimeData const*, Qt::DropAction, int, int, QModelIndex const&) () from /lib64/libkbookmarkmodel_private.so.4
#21 0x0000003540c30843 in BookmarkFolderViewFilterModel::dropMimeData(QMimeData const*, Qt::DropAction, int, int, QModelIndex const&) () from /lib64/libkdeinit4_keditbookmarks.so
#22 0x000000353beb709e in QAbstractItemView::dropEvent(QDropEvent*) () from /lib64/libQtGui.so.4
#23 0x000000353ba1786e in QWidget::event(QEvent*) () from /lib64/libQtGui.so.4
#24 0x000000353bdb3cde in QFrame::event(QEvent*) () from /lib64/libQtGui.so.4
#25 0x000000353bec1b23 in QAbstractItemView::viewportEvent(QEvent*) () from /lib64/libQtGui.so.4
#26 0x000000353bf00a50 in QTreeView::viewportEvent(QEvent*) () from /lib64/libQtGui.so.4
#27 0x000000353697a3d6 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#28 0x000000353b9c84bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#29 0x000000353b9cf92e in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#30 0x000000353cc415ba in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#31 0x000000353697a26d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#32 0x000000353ba4d3d1 in QX11Data::xdndHandleDrop(QWidget*, _XEvent const*, bool) () from /lib64/libQtGui.so.4
#33 0x000000353ba4d765 in QDragManager::drop() () from /lib64/libQtGui.so.4
#34 0x000000353ba4e980 in QDragManager::eventFilter(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#35 0x000000353697a342 in QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#36 0x000000353b9c8468 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#37 0x000000353b9cebdd in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#38 0x000000353cc415ba in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#39 0x000000353697a26d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#40 0x000000353b9ce393 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /lib64/libQtGui.so.4
#41 0x000000353ba3f92b in QETWidget::translateMouseEvent(_XEvent const*) () from /lib64/libQtGui.so.4
#42 0x000000353ba3e39c in QApplication::x11ProcessEvent(_XEvent*) () from /lib64/libQtGui.so.4
#43 0x000000353ba64e54 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtGui.so.4
#44 0x0000003530047e06 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#45 0x0000003530048158 in g_main_context_iterate.isra.22 () from /lib64/libglib-2.0.so.0
#46 0x00000035300481fc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#47 0x00000035369a7145 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#48 0x000000353ba64fc6 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#49 0x0000003536978ecf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#50 0x00000035369791c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#51 0x000000353ba4ecad in QDragManager::drag(QDrag*) () from /lib64/libQtGui.so.4
#52 0x000000353b9d935a in QDrag::exec(QFlags<Qt::DropAction>, Qt::DropAction) () from /lib64/libQtGui.so.4
#53 0x000000353bec27de in QAbstractItemView::startDrag(QFlags<Qt::DropAction>) () from /lib64/libQtGui.so.4
#54 0x000000353bec1079 in QAbstractItemView::mouseMoveEvent(QMouseEvent*) () from /lib64/libQtGui.so.4
#55 0x000000353ba17c45 in QWidget::event(QEvent*) () from /lib64/libQtGui.so.4
#56 0x000000353bdb3cde in QFrame::event(QEvent*) () from /lib64/libQtGui.so.4
#57 0x000000353bec1b23 in QAbstractItemView::viewportEvent(QEvent*) () from /lib64/libQtGui.so.4
#58 0x000000353bf00a50 in QTreeView::viewportEvent(QEvent*) () from /lib64/libQtGui.so.4
#59 0x000000353697a3d6 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#60 0x000000353b9c84bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#61 0x000000353b9cebdd in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#62 0x000000353cc415ba in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#63 0x000000353697a26d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#64 0x000000353b9ce393 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /lib64/libQtGui.so.4
#65 0x000000353ba3f92b in QETWidget::translateMouseEvent(_XEvent const*) () from /lib64/libQtGui.so.4
#66 0x000000353ba3e39c in QApplication::x11ProcessEvent(_XEvent*) () from /lib64/libQtGui.so.4
#67 0x000000353ba64e54 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtGui.so.4
#68 0x0000003530047e06 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#69 0x0000003530048158 in g_main_context_iterate.isra.22 () from /lib64/libglib-2.0.so.0
#70 0x00000035300481fc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#71 0x00000035369a7145 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#72 0x000000353ba64fc6 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#73 0x0000003536978ecf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#74 0x00000035369791c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#75 0x000000353697e45b in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#76 0x0000003540c1b82f in kdemain () from /lib64/libkdeinit4_keditbookmarks.so
#77 0x000000352dc21b75 in __libc_start_main () from /lib64/libc.so.6
#78 0x0000000000400851 in _start ()

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

Possible duplicates by query: bug 317492, bug 313740.

Reported using DrKonqi
Comment 1 Andy Clarkson 2014-04-02 06:17:19 UTC
Created attachment 85897 [details]
New crash information added by DrKonqi

keditbookmarks (4.8.5 (4.8.5)) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:
Bulk move of bookmarks to another bookmarks folder by highlighting bookmarks to be moved and then drag and dropping them into the parent folder.

-- Backtrace (Reduced):
#6  QDomNode::QDomNode (this=0x7fff41e32530, n=...) at dom/qdom.cpp:2038
#7  0x00007f7a58514cfd in KBookmark (this=0x7fff41e32530) at /usr/include/kbookmark.h:34
#8  TreeItem::bookmark (this=<optimized out>) at ../../../keditbookmarks/kbookmarkmodel/treeitem.cpp:87
#9  0x00007f7a58512d65 in KBookmarkModel::bookmarkForIndex (this=<optimized out>, index=...) at ../../../keditbookmarks/kbookmarkmodel/model.cpp:396
#10 0x00007f7a58512dd0 in KBookmarkModel::parent (this=0x11d8be0, index=...) at ../../../keditbookmarks/kbookmarkmodel/model.cpp:263
Comment 2 Dawit Alemayehu 2014-04-02 12:31:15 UTC

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