Bug 331850 - Crash on sorting imported firefox-bookmarks
Summary: Crash on sorting imported firefox-bookmarks
Status: RESOLVED DUPLICATE of bug 258505
Alias: None
Product: keditbookmarks
Classification: Applications
Component: general (show other bugs)
Version: 4.12.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-03-07 12:52 UTC by Stefan Gies
Modified: 2014-04-06 06:55 UTC (History)
0 users

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 Stefan Gies 2014-03-07 12:52:40 UTC
Application: keditbookmarks (4.12.2)
KDE Platform Version: 4.12.2
Qt Version: 4.8.5
Operating System: Linux 3.13.5-202.fc20.x86_64 x86_64
Distribution: "Fedora release 20 (Heisenbug)"

-- Information about the crash:
- What I was doing when the application crashed:
After arranging the bookmarks, I sorted them by name. Then rekonq crashes
.

The crash can be reproduced every time.

-- Backtrace:
Application: Lesezeichen-Editor (keditbookmarks), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f7d762358c0 (LWP 2948))]

Thread 2 (Thread 0x7f7d67137700 (LWP 2949)):
#0  __GI___pthread_mutex_lock (mutex=0x7f7d60000a60) at ../nptl/pthread_mutex_lock.c:122
#1  0x0000003407a8a5a1 in g_mutex_lock (mutex=mutex@entry=0x7f7d600009a0) at gthread-posix.c:213
#2  0x0000003407a48bf9 in g_main_context_prepare (context=context@entry=0x7f7d600009a0, priority=priority@entry=0x7f7d67136b80) at gmain.c:3342
#3  0x0000003407a494bb in g_main_context_iterate (context=context@entry=0x7f7d600009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3693
#4  0x0000003407a496dc in g_main_context_iteration (context=0x7f7d600009a0, may_block=1) at gmain.c:3774
#5  0x000000340fbb2ec6 in QEventDispatcherGlib::processEvents (this=0x7f7d600008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x000000340fb82edf in QEventLoop::processEvents (this=this@entry=0x7f7d67136cc0, flags=...) at kernel/qeventloop.cpp:149
#7  0x000000340fb8322d in QEventLoop::exec (this=this@entry=0x7f7d67136cc0, flags=...) at kernel/qeventloop.cpp:204
#8  0x000000340fa79baf in QThread::exec (this=this@entry=0x1edaa80) at thread/qthread.cpp:536
#9  0x000000340fb63863 in QInotifyFileSystemWatcherEngine::run (this=0x1edaa80) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x000000340fa7c3af in QThreadPrivate::start (arg=0x1edaa80) at thread/qthread_unix.cpp:338
#11 0x0000003405607f33 in start_thread (arg=0x7f7d67137700) at pthread_create.c:309
#12 0x0000003404ef4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f7d762358c0 (LWP 2948)):
[KCrash Handler]
#6  0x00007f7d77752cd0 in end (this=0x1ef7ee0) at /usr/include/QtCore/qlist.h:102
#7  end (this=0x1ef7ee0) at /usr/include/QtCore/qlist.h:271
#8  qDeleteAll<QList<TreeItem*> > (c=...) at /usr/include/QtCore/qalgorithms.h:330
#9  TreeItem::~TreeItem (this=0x1ef7ee0, __in_chrg=<optimized out>) at /usr/src/debug/kde-baseapps-4.12.2/keditbookmarks/kbookmarkmodel/treeitem.cpp:29
#10 0x00007f7d77752db0 in TreeItem::deleteChildren (this=0x24fbaa0, first=<optimized out>, last=<optimized out>) at /usr/src/debug/kde-baseapps-4.12.2/keditbookmarks/kbookmarkmodel/treeitem.cpp:80
#11 0x00007f7d77750c22 in KBookmarkModel::removeBookmark (this=0x1a881d0, bookmark=...) at /usr/src/debug/kde-baseapps-4.12.2/keditbookmarks/kbookmarkmodel/model.cpp:451
#12 0x00007f7d7774bec1 in CreateCommand::undo (this=0x2410e30) at /usr/src/debug/kde-baseapps-4.12.2/keditbookmarks/kbookmarkmodel/commands.cpp:156
#13 0x00007f7d7774de01 in DeleteCommand::redo (this=0x241a5f0) at /usr/src/debug/kde-baseapps-4.12.2/keditbookmarks/kbookmarkmodel/commands.cpp:320
#14 0x00000034132317c0 in QUndoCommand::redo (this=0x2228590) at util/qundostack.cpp:208
#15 0x00007f7d7774e0d1 in DeleteCommand::redo (this=0x2962810) at /usr/src/debug/kde-baseapps-4.12.2/keditbookmarks/kbookmarkmodel/commands.cpp:311
#16 0x00000034132317c0 in QUndoCommand::redo (this=0x226b850) at util/qundostack.cpp:208
#17 0x00007f7d7774e0d1 in DeleteCommand::redo (this=0x2448d20) at /usr/src/debug/kde-baseapps-4.12.2/keditbookmarks/kbookmarkmodel/commands.cpp:311
#18 0x00007f7d7774ce2f in MoveCommand::redo (this=0x24d0760) at /usr/src/debug/kde-baseapps-4.12.2/keditbookmarks/kbookmarkmodel/commands.cpp:377
#19 0x00007f7d7774d2a7 in SortCommand::moveAfter (this=this@entry=0x1b38400, moveMe=..., afterMe=...) at /usr/src/debug/kde-baseapps-4.12.2/keditbookmarks/kbookmarkmodel/commands.cpp:465
#20 0x00007f7d7774d8c2 in kInsertionSort<SortItem, SortByName, QString, SortCommand> (sortHelper=..., firstChild=...) at /usr/src/debug/kde-baseapps-4.12.2/keditbookmarks/kbookmarkmodel/kinsertionsort_p.h:56
#21 SortCommand::redo (this=0x1b38400) at /usr/src/debug/kde-baseapps-4.12.2/keditbookmarks/kbookmarkmodel/commands.cpp:446
#22 0x00000034132330e3 in QUndoStack::push (this=0x1a5a988, cmd=cmd@entry=0x1b38400) at util/qundostack.cpp:583
#23 0x00007f7d7774bbee in CommandHistory::addCommand (this=0x1a30990, cmd=cmd@entry=0x1b38400) at /usr/src/debug/kde-baseapps-4.12.2/keditbookmarks/kbookmarkmodel/commandhistory.cpp:107
#24 0x00007f7d77983086 in ActionsImpl::slotSort (this=0x1a92ea0) at /usr/src/debug/kde-baseapps-4.12.2/keditbookmarks/actionsimpl.cpp:519
#25 0x000000340fb98cf8 in QMetaObject::activate (sender=sender@entry=0x1a9ce60, m=m@entry=0x341369dc40 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff786b2c30) at kernel/qobject.cpp:3547
#26 0x0000003412bc3782 in QAction::triggered (this=this@entry=0x1a9ce60, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#27 0x0000003412bc5337 in QAction::activate (this=this@entry=0x1a9ce60, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#28 0x000000341300e2bd in QMenuPrivate::activateCausedStack (this=this@entry=0x1ab5860, causedStack=..., action=action@entry=0x1a9ce60, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
#29 0x0000003413012b49 in QMenuPrivate::activateAction (this=0x1ab5860, action=0x1a9ce60, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1130
#30 0x00000034130166a5 in QMenu::mouseReleaseEvent (this=this@entry=0x1aa9d20, e=e@entry=0x7fff786b33e0) at widgets/qmenu.cpp:2372
#31 0x00007f7d7654395b in KMenu::mouseReleaseEvent (this=0x1aa9d20, e=0x7fff786b33e0) at /usr/src/debug/kdelibs-4.12.2/kdeui/widgets/kmenu.cpp:464
#32 0x0000003412c1cc58 in QWidget::event (this=this@entry=0x1aa9d20, event=event@entry=0x7fff786b33e0) at kernel/qwidget.cpp:8376
#33 0x0000003413016b0b in QMenu::event (this=0x1aa9d20, e=0x7fff786b33e0) at widgets/qmenu.cpp:2481
#34 0x0000003412bc9d8c in QApplicationPrivate::notify_helper (this=0x18ef610, receiver=0x1aa9d20, e=0x7fff786b33e0) at kernel/qapplication.cpp:4562
#35 0x0000003412bd0879 in QApplication::notify (this=this@entry=0x7fff786b3f00, receiver=receiver@entry=0x1aa9d20, e=e@entry=0x7fff786b33e0) at kernel/qapplication.cpp:4105
#36 0x00007f7d76482a1a in KApplication::notify (this=0x7fff786b3f00, receiver=0x1aa9d20, event=0x7fff786b33e0) at /usr/src/debug/kdelibs-4.12.2/kdeui/kernel/kapplication.cpp:311
#37 0x000000340fb8439d in QCoreApplication::notifyInternal (this=0x7fff786b3f00, receiver=0x1aa9d20, event=0x7fff786b33e0) at kernel/qcoreapplication.cpp:949
#38 0x0000003412bcffa7 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1aa9d20, event=event@entry=0x7fff786b33e0, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x1aa9d20, buttonDown=buttonDown@entry=0x34136d9258 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at ../../src/corelib/kernel/qcoreapplication.h:231
#39 0x0000003412c459dc in QETWidget::translateMouseEvent (this=this@entry=0x1aa9d20, event=event@entry=0x7fff786b3720) at kernel/qapplication_x11.cpp:4472
#40 0x0000003412c4411c in QApplication::x11ProcessEvent (this=0x7fff786b3f00, event=event@entry=0x7fff786b3720) at kernel/qapplication_x11.cpp:3661
#41 0x0000003412c6bb24 in x11EventSourceDispatch (s=s@entry=0x18f0230, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#42 0x0000003407a492a6 in g_main_dispatch (context=0x18f0170) at gmain.c:3066
#43 g_main_context_dispatch (context=context@entry=0x18f0170) at gmain.c:3642
#44 0x0000003407a49628 in g_main_context_iterate (context=context@entry=0x18f0170, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
#45 0x0000003407a496dc in g_main_context_iteration (context=0x18f0170, may_block=1) at gmain.c:3774
#46 0x000000340fbb2ea5 in QEventDispatcherGlib::processEvents (this=0x18c3e80, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#47 0x0000003412c6bca6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#48 0x000000340fb82edf in QEventLoop::processEvents (this=this@entry=0x7fff786b3b10, flags=...) at kernel/qeventloop.cpp:149
#49 0x000000340fb8322d in QEventLoop::exec (this=this@entry=0x7fff786b3b10, flags=...) at kernel/qeventloop.cpp:204
#50 0x000000340fb88749 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#51 0x0000003412bc83fc in QApplication::exec () at kernel/qapplication.cpp:3823
#52 0x00007f7d7797b867 in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kde-baseapps-4.12.2/keditbookmarks/main.cpp:212
#53 0x0000003404e21d65 in __libc_start_main (main=0x400820 <main(int, char**)>, argc=6, argv=0x7fff786b40c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff786b40b8) at libc-start.c:285
#54 0x0000000000400851 in _start ()

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

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-04-06 06:55:43 UTC

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