Bug 334605 - Sorting Using Recursive Sort
Summary: Sorting Using Recursive Sort
Status: RESOLVED DUPLICATE of bug 258505
Alias: None
Product: keditbookmarks
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-11 10:58 UTC by Rod Lockwood
Modified: 2014-05-12 00:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.55 KB, text/plain)
2014-05-11 11:07 UTC, Rod Lockwood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rod Lockwood 2014-05-11 10:58:42 UTC
Application: keditbookmarks (4.8.5 (4.8.5))
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-58-generic x86_64
Distribution: Linux Mint 13 Maya

-- Information about the crash:
- What I was doing when the application crashed: Sorting my bookmarks imported via Firefox and Opera.

- Custom settings of the application:
None, I just started with importing and organizing my bookmarks.

-- Backtrace:
Application: Bookmark Editor (keditbookmarks), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  end (this=0x20007300270074) at /usr/include/qt4/QtCore/qlist.h:102
#7  end (this=0x20007300270074) at /usr/include/qt4/QtCore/qlist.h:271
#8  qDeleteAll<QList<TreeItem*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#9  TreeItem::~TreeItem (this=0x20007300270074, __in_chrg=<optimized out>) at ../../../keditbookmarks/kbookmarkmodel/treeitem.cpp:29
#10 0x00007f4cdc51b3e9 in TreeItem::deleteChildren (this=0x176c0c0, first=<optimized out>, last=<optimized out>) at ../../../keditbookmarks/kbookmarkmodel/treeitem.cpp:80
#11 0x00007f4cdc519ae2 in KBookmarkModel::removeBookmark (this=0x1327980, bookmark=...) at ../../../keditbookmarks/kbookmarkmodel/model.cpp:450
#12 0x00007f4cdc51479b in CreateCommand::undo (this=0x23b3ee0) at ../../../keditbookmarks/kbookmarkmodel/commands.cpp:156
#13 0x00007f4cdc5176ca in DeleteCommand::redo (this=0x231f120) at ../../../keditbookmarks/kbookmarkmodel/commands.cpp:320
#14 0x00007f4cda49b573 in QUndoCommand::redo (this=0x1a21910) at util/qundostack.cpp:208
#15 0x00007f4cdc5179d6 in DeleteCommand::redo (this=0x231de50) at ../../../keditbookmarks/kbookmarkmodel/commands.cpp:311
#16 0x00007f4cdc5160e9 in MoveCommand::redo (this=0x231e110) at ../../../keditbookmarks/kbookmarkmodel/commands.cpp:377
#17 0x00007f4cdc516503 in SortCommand::moveAfter (this=0x1851260, moveMe=..., afterMe=...) at ../../../keditbookmarks/kbookmarkmodel/commands.cpp:465
#18 0x00007f4cdc516b92 in kInsertionSort<SortItem, SortByName, QString, SortCommand> (sortHelper=..., firstChild=...) at ../../../keditbookmarks/kbookmarkmodel/kinsertionsort_p.h:56
#19 redo (this=0x1851260) at ../../../keditbookmarks/kbookmarkmodel/commands.cpp:446
#20 SortCommand::redo (this=0x1851260) at ../../../keditbookmarks/kbookmarkmodel/commands.cpp:437
#21 0x00007f4cda49b573 in QUndoCommand::redo (this=0x1c1c1b0) at util/qundostack.cpp:208
#22 0x00007f4cda49ce23 in QUndoStack::push (this=<optimized out>, cmd=0x1c1c1b0) at util/qundostack.cpp:583
#23 0x00007f4cdc5144f6 in CommandHistory::addCommand (this=0x12e5a00, cmd=0x1c1c1b0) at ../../../keditbookmarks/kbookmarkmodel/commandhistory.cpp:107
#24 0x00007f4cdcb06085 in ActionsImpl::slotRecursiveSort (this=0x1306580) at ../../keditbookmarks/actionsimpl.cpp:511
#25 0x00007f4cdad35281 in QMetaObject::activate (sender=0x150e8e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8c9b6a80) at kernel/qobject.cpp:3547
#26 0x00007f4cd9e20132 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#27 0x00007f4cd9e2031f in QAction::activate (this=0x150e8e0, event=<optimized out>) at kernel/qaction.cpp:1257
#28 0x00007f4cda272159 in QMenuPrivate::activateCausedStack (this=0x1531290, causedStack=..., action=0x150e8e0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#29 0x00007f4cda2782b2 in QMenuPrivate::activateAction (this=0x1531290, action=0x150e8e0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#30 0x00007f4cdb847030 in KMenu::mouseReleaseEvent (this=0x1574230, e=0x7fff8c9b7650) at ../../kdeui/widgets/kmenu.cpp:464
#31 0x00007f4cd9e77144 in QWidget::event (this=0x1574230, event=0x7fff8c9b7650) at kernel/qwidget.cpp:8362
#32 0x00007f4cda27984b in QMenu::event (this=0x1574230, e=0x7fff8c9b7650) at widgets/qmenu.cpp:2469
#33 0x00007f4cd9e26894 in notify_helper (e=0x7fff8c9b7650, receiver=0x1574230, this=0x1092390) at kernel/qapplication.cpp:4559
#34 QApplicationPrivate::notify_helper (this=0x1092390, receiver=0x1574230, e=0x7fff8c9b7650) at kernel/qapplication.cpp:4531
#35 0x00007f4cd9e2c0bf in QApplication::notify (this=<optimized out>, receiver=0x1574230, e=0x7fff8c9b7650) at kernel/qapplication.cpp:4102
#36 0x00007f4cdb7863f6 in KApplication::notify (this=0x7fff8c9b8350, receiver=0x1574230, event=0x7fff8c9b7650) at ../../kdeui/kernel/kapplication.cpp:311
#37 0x00007f4cdad20e9c in QCoreApplication::notifyInternal (this=0x7fff8c9b8350, receiver=0x1574230, event=0x7fff8c9b7650) at kernel/qcoreapplication.cpp:876
#38 0x00007f4cd9e27862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#39 QApplicationPrivate::sendMouseEvent (receiver=0x1574230, event=0x7fff8c9b7650, alienWidget=0x0, nativeWidget=0x1574230, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#40 0x00007f4cd9ea7301 in QETWidget::translateMouseEvent (this=0x1574230, event=<optimized out>) at kernel/qapplication_x11.cpp:4553
#41 0x00007f4cd9ea5bee in QApplication::x11ProcessEvent (this=0x7fff8c9b8350, event=0x7fff8c9b7f20) at kernel/qapplication_x11.cpp:3734
#42 0x00007f4cd9ecf112 in x11EventSourceDispatch (s=0x1094d00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#43 0x00007f4cd606ad13 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f4cd606b060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007f4cd606b124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f4cdad503bf in QEventDispatcherGlib::processEvents (this=0x1069b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#47 0x00007f4cd9eced9e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007f4cdad1fc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#49 0x00007f4cdad1fed7 in QEventLoop::exec (this=0x7fff8c9b82c0, flags=...) at kernel/qeventloop.cpp:204
#50 0x00007f4cdad24f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#51 0x00007f4cdcafce4e in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../keditbookmarks/main.cpp:212
#52 0x00007f4cdc74276d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=6, ubp_av=0x7fff8c9b8bf8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff8c9b8be8) at libc-start.c:226
#53 0x0000000000400671 in _start ()

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

Possible duplicates by query: bug 331850.

Reported using DrKonqi
Comment 1 Rod Lockwood 2014-05-11 11:07:07 UTC
Created attachment 86570 [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: Selected “Recursive Sort” from menu to sort bookmarks imported from Firefox and Opera. This happened immediately after I submitted the last report. Therefore, I beleive it will happen every time.

-- Backtrace (Reduced):
#6  end (this=0x200079) at /usr/include/qt4/QtCore/qlist.h:102
#7  end (this=0x200079) at /usr/include/qt4/QtCore/qlist.h:271
#8  qDeleteAll<QList<TreeItem*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#9  TreeItem::~TreeItem (this=0x200079, __in_chrg=<optimized out>) at ../../../keditbookmarks/kbookmarkmodel/treeitem.cpp:29
#10 0x00007f4edf2703e9 in TreeItem::deleteChildren (this=0xe98ee0, first=<optimized out>, last=<optimized out>) at ../../../keditbookmarks/kbookmarkmodel/treeitem.cpp:80
Comment 2 Rod Lockwood 2014-05-11 11:27:54 UTC
It occurred to me that it may be useful for you to know I was trying to sort _all_ of the bookmarks starting in the top level Bookmarks folder. I have a lot of bookmarks in many sub-folders.
Comment 3 Jekyll Wu 2014-05-12 00:54:38 UTC

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