Bug 280293 - Bookmarks/Favorites in Konqueror crashes after a try to sort recursively
Summary: Bookmarks/Favorites in Konqueror crashes after a try to sort recursively
Status: RESOLVED DUPLICATE of bug 258505
Alias: None
Product: keditbookmarks
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-17 18:27 UTC by pourtouteslesclasses
Modified: 2012-06-23 15:19 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.79 KB, text/plain)
2011-12-02 04:27 UTC, Stefan Gies
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pourtouteslesclasses 2011-08-17 18:27:05 UTC
Application: keditbookmarks (4.6.5 (4.6.5))
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 2.6.40-4.fc15.x86_64 x86_64
Distribution: "Fedora release 15 (Lovelock)"

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

I was editing the bookmarks/favorites via Konqueror. After renaming and creating new folders, I went to click on the recursive sort menu item. At that point, it (the bookmark editing window) crashed and the bug-report assistent came up.

(I'm using Konqueror under Gnome 3.)

-- Backtrace:
Application: Editor de favoritos (keditbookmarks), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f31cf8e0840 (LWP 14137))]

Thread 2 (Thread 0x7f31c8675700 (LWP 14138)):
#0  __pthread_mutex_unlock_usercnt (mutex=0xadbb38, decr=<optimized out>) at pthread_mutex_unlock.c:297
#1  __pthread_mutex_unlock (mutex=0xadbb38) at pthread_mutex_unlock.c:298
#2  0x0000003255e42b39 in g_main_context_iterate (context=0xadbb30, block=1, dispatch=1, self=<optimized out>) at gmain.c:3033
#3  0x0000003255e4360d in g_main_loop_run (loop=0xadbb10) at gmain.c:3300
#4  0x00007f31c8bb2564 in gdbus_shared_thread_func (data=<optimized out>) at gdbusprivate.c:276
#5  0x0000003255e683a6 in g_thread_create_proxy (data=0xadbc20) at gthread.c:1955
#6  0x0000003253e07b31 in start_thread (arg=0x7f31c8675700) at pthread_create.c:305
#7  0x0000003253adfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f31cf8e0840 (LWP 14137)):
[KCrash Handler]
#6  0x000000325e012330 in end (this=0xe31690) at /usr/include/QtCore/qlist.h:98
#7  end (this=0xe31690) at /usr/include/QtCore/qlist.h:258
#8  qDeleteAll<QList<TreeItem*> > (c=...) at /usr/include/QtCore/qalgorithms.h:330
#9  TreeItem::~TreeItem (this=0xe31690, __in_chrg=<optimized out>) at /usr/src/debug/kdebase-4.6.5/keditbookmarks/kbookmarkmodel/treeitem.cpp:29
#10 0x000000325e012419 in TreeItem::deleteChildren (this=0xe2ea10, first=<optimized out>, last=<optimized out>) at /usr/src/debug/kdebase-4.6.5/keditbookmarks/kbookmarkmodel/treeitem.cpp:80
#11 0x000000325e010a82 in KBookmarkModel::removeBookmark (this=0xc98aa0, bookmark=...) at /usr/src/debug/kdebase-4.6.5/keditbookmarks/kbookmarkmodel/model.cpp:450
#12 0x000000325e00bafb in CreateCommand::undo (this=0xe37880) at /usr/src/debug/kdebase-4.6.5/keditbookmarks/kbookmarkmodel/commands.cpp:156
#13 0x000000325e00e77a in DeleteCommand::redo (this=0xe310e0) at /usr/src/debug/kdebase-4.6.5/keditbookmarks/kbookmarkmodel/commands.cpp:320
#14 0x00000032633ff003 in QUndoCommand::redo (this=0xcd0fb0) at util/qundostack.cpp:208
#15 0x000000325e00ea86 in DeleteCommand::redo (this=0xe36fd0) at /usr/src/debug/kdebase-4.6.5/keditbookmarks/kbookmarkmodel/commands.cpp:311
#16 0x00000032633ff003 in QUndoCommand::redo (this=0xcc57c0) at util/qundostack.cpp:208
#17 0x000000325e00ea86 in DeleteCommand::redo (this=0xe34160) at /usr/src/debug/kdebase-4.6.5/keditbookmarks/kbookmarkmodel/commands.cpp:311
#18 0x000000325e00d409 in MoveCommand::redo (this=0xe9c490) at /usr/src/debug/kdebase-4.6.5/keditbookmarks/kbookmarkmodel/commands.cpp:377
#19 0x000000325e00d7bd in SortCommand::moveAfter (this=0xe9b1b0, moveMe=<optimized out>, afterMe=...) at /usr/src/debug/kdebase-4.6.5/keditbookmarks/kbookmarkmodel/commands.cpp:465
#20 0x000000325e00dcb2 in kInsertionSort<SortItem, SortByName, QString, SortCommand> (sortHelper=..., firstChild=...) at /usr/src/debug/kdebase-4.6.5/keditbookmarks/kbookmarkmodel/kinsertionsort_p.h:56
#21 redo (this=0xe9b1b0) at /usr/src/debug/kdebase-4.6.5/keditbookmarks/kbookmarkmodel/commands.cpp:446
#22 SortCommand::redo (this=0xe9b1b0) at /usr/src/debug/kdebase-4.6.5/keditbookmarks/kbookmarkmodel/commands.cpp:437
#23 0x00000032633ff003 in QUndoCommand::redo (this=0xe31970) at util/qundostack.cpp:208
#24 0x0000003263400573 in QUndoStack::push (this=0xa85e08, cmd=0xe31970) at util/qundostack.cpp:541
#25 0x000000325e00b866 in CommandHistory::addCommand (this=0xc712d0, cmd=0xe31970) at /usr/src/debug/kdebase-4.6.5/keditbookmarks/kbookmarkmodel/commandhistory.cpp:107
#26 0x00000032624245f5 in ActionsImpl::slotRecursiveSort (this=0xcb2c60) at /usr/src/debug/kdebase-4.6.5/keditbookmarks/actionsimpl.cpp:511
#27 0x00000032624247df in ActionsImpl::qt_metacall (this=0xcb2c60, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdebase-4.6.5/x86_64-redhat-linux-gnu/keditbookmarks/actionsimpl.moc:137
#28 0x000000325db6ceba in QMetaObject::activate (sender=0xcd1eb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe6dac4a0) at kernel/qobject.cpp:3278
#29 0x0000003262db10f2 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#30 0x0000003262db12df in QAction::activate (this=0xcd1eb0, event=<optimized out>) at kernel/qaction.cpp:1257
#31 0x00000032631dfb59 in QMenuPrivate::activateCausedStack (this=0xd31c20, causedStack=..., action=0xcd1eb0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#32 0x00000032631e5792 in QMenuPrivate::activateAction (this=0xd31c20, action=0xcd1eb0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#33 0x000000326410917d in KMenu::mouseReleaseEvent (this=0xcf4b90, e=<optimized out>) at /usr/src/debug/kdelibs-4.6.5/kdeui/widgets/kmenu.cpp:458
#34 0x0000003262e07b04 in QWidget::event (this=0xcf4b90, event=0x7fffe6dad060) at kernel/qwidget.cpp:8259
#35 0x00000032631e6cfb in QMenu::event (this=0xcf4b90, e=0x7fffe6dad060) at widgets/qmenu.cpp:2415
#36 0x0000003262db7444 in notify_helper (e=0x7fffe6dad060, receiver=0xcf4b90, this=0xa8d550) at kernel/qapplication.cpp:4462
#37 QApplicationPrivate::notify_helper (this=0xa8d550, receiver=0xcf4b90, e=0x7fffe6dad060) at kernel/qapplication.cpp:4434
#38 0x0000003262dbcbcb in QApplication::notify (this=<optimized out>, receiver=0xcf4b90, e=0x7fffe6dad060) at kernel/qapplication.cpp:4023
#39 0x0000003264041d56 in KApplication::notify (this=0x7fffe6dadd80, receiver=0xcf4b90, event=0x7fffe6dad060) at /usr/src/debug/kdelibs-4.6.5/kdeui/kernel/kapplication.cpp:311
#40 0x000000325db5a1ac in QCoreApplication::notifyInternal (this=0x7fffe6dadd80, receiver=0xcf4b90, event=0x7fffe6dad060) at kernel/qcoreapplication.cpp:731
#41 0x0000003262db8412 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:215
#42 QApplicationPrivate::sendMouseEvent (receiver=0xcf4b90, event=0x7fffe6dad060, alienWidget=0x0, nativeWidget=0xcf4b90, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#43 0x0000003262e34741 in QETWidget::translateMouseEvent (this=0xcf4b90, event=<optimized out>) at kernel/qapplication_x11.cpp:4395
#44 0x0000003262e32f6a in QApplication::x11ProcessEvent (this=0x7fffe6dadd80, event=0x7fffe6dad920) at kernel/qapplication_x11.cpp:3587
#45 0x0000003262e5a2ec in x11EventSourceDispatch (s=0xa92130, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#46 0x0000003255e427ed in g_main_dispatch (context=0xa910e0) at gmain.c:2441
#47 g_main_context_dispatch (context=0xa910e0) at gmain.c:3014
#48 0x0000003255e42fc8 in g_main_context_iterate (context=0xa910e0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3092
#49 0x0000003255e4325c in g_main_context_iteration (context=0xa910e0, may_block=1) at gmain.c:3155
#50 0x000000325db84d0f in QEventDispatcherGlib::processEvents (this=0xa6d9f0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#51 0x0000003262e59fde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#52 0x000000325db596c2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#53 0x000000325db598bf in QEventLoop::exec (this=0x7fffe6dadcf0, flags=...) at kernel/qeventloop.cpp:201
#54 0x000000325db5da07 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#55 0x000000326241b5ae in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdebase-4.6.5/keditbookmarks/main.cpp:212
#56 0x0000003253a2139d in __libc_start_main (main=0x400750 <main(int, char**)>, argc=6, ubp_av=0x7fffe6dae628, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffe6dae618) at libc-start.c:226
#57 0x0000000000400781 in _start ()

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

Possible duplicates by query: bug 273307, bug 261642, bug 258505.

Reported using DrKonqi
Comment 1 Stefan Gies 2011-12-02 04:27:02 UTC
Created attachment 66286 [details]
New crash information added by DrKonqi

keditbookmarks (4.7.2 (4.7.2)) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

- What I was doing when the application crashed:

Trying to sort imported bookmarks recursively

-- Backtrace (Reduced):
#7  end (this=0x2d0072) 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=0x2d0072, __in_chrg=<optimized out>) at ../../../keditbookmarks/kbookmarkmodel/treeitem.cpp:29
#10 0x00afc40e in TreeItem::deleteChildren (this=0xa0d6220, first=16, last=16) at ../../../keditbookmarks/kbookmarkmodel/treeitem.cpp:80
#11 0x00afa884 in KBookmarkModel::removeBookmark (this=0x9ae88d8, bookmark=...) at ../../../keditbookmarks/kbookmarkmodel/model.cpp:450
Comment 2 Jekyll Wu 2012-06-23 15:19:59 UTC

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