Bug 317005

Summary: KEditBooksmarks crashed when moving a single bookmark folder
Product: [Applications] keditbookmarks Reporter: kdebugs.anon134
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description kdebugs.anon134 2013-03-19 04:58:15 UTC
Application: keditbookmarks (4.10.1 "release 545")
KDE Platform Version: 4.10.1 "release 545"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.1-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
KEditBooksmarks crashed when I moved a single bookmark folder from the right pane and dropped it on the left pane's top item labeled "Bookmarks".

This bug is years old.  PLEASE fix it.  KEditBooksmarks is the blemish that keeps Konqueror from being a great web browser, instead of a great web browser.

My entire system was installed using official openSUSE packages from openSUSE repositories.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Bookmark Editor (keditbookmarks), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc982eeb780 (LWP 2326))]

Thread 2 (Thread 0x7fc972395700 (LWP 2423)):
#0  0x00007fc97dbece25 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007fc97bac9a71 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fc97ba8c1f3 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fc97ba8c9cb in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fc97ba8cbc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fc980d6a1f6 in QEventDispatcherGlib::processEvents (this=0x7fc96c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fc980d3a9ef in QEventLoop::processEvents (this=this@entry=0x7fc972394dd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fc980d3ac78 in QEventLoop::exec (this=0x7fc972394dd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fc980c3d0f0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007fc980d1b1af in QInotifyFileSystemWatcherEngine::run (this=0xe451c0) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007fc980c400cc in QThreadPrivate::start (arg=0xe451c0) at thread/qthread_unix.cpp:338
#11 0x00007fc97dbeae0f in start_thread () from /lib64/libpthread.so.0
#12 0x00007fc9827ff7dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fc982eeb780 (LWP 2326)):
[KCrash Handler]
#6  detach (this=0x0) at /usr/include/QtCore/qlist.h:139
#7  begin (this=0x0) at /usr/include/QtCore/qlist.h:267
#8  TreeItem::deleteChildren (this=0x0, first=4, last=4) at /usr/src/debug/kde-baseapps-4.10.1/keditbookmarks/kbookmarkmodel/treeitem.cpp:76
#9  0x00007fc9825100fd in KBookmarkModel::removeBookmark (this=0xee07d0, bookmark=...) at /usr/src/debug/kde-baseapps-4.10.1/keditbookmarks/kbookmarkmodel/model.cpp:450
#10 0x00007fc98250b3cb in CreateCommand::undo (this=0x156dfd0) at /usr/src/debug/kde-baseapps-4.10.1/keditbookmarks/kbookmarkmodel/commands.cpp:156
#11 0x00007fc98250deda in DeleteCommand::redo (this=0x156ec00) at /usr/src/debug/kde-baseapps-4.10.1/keditbookmarks/kbookmarkmodel/commands.cpp:320
#12 0x00007fc9804b3d20 in QUndoCommand::redo (this=0x147cd00) at util/qundostack.cpp:208
#13 0x00007fc98250e1d6 in DeleteCommand::redo (this=0x156e310) at /usr/src/debug/kde-baseapps-4.10.1/keditbookmarks/kbookmarkmodel/commands.cpp:311
#14 0x00007fc9804b3d20 in QUndoCommand::redo (this=0x13a1fd0) at util/qundostack.cpp:208
#15 0x00007fc98250e1d6 in DeleteCommand::redo (this=0x14ffef0) at /usr/src/debug/kde-baseapps-4.10.1/keditbookmarks/kbookmarkmodel/commands.cpp:311
#16 0x00007fc9804b3d20 in QUndoCommand::redo (this=0xe92750) at util/qundostack.cpp:208
#17 0x00007fc98250e1d6 in DeleteCommand::redo (this=0x15323b0) at /usr/src/debug/kde-baseapps-4.10.1/keditbookmarks/kbookmarkmodel/commands.cpp:311
#18 0x00007fc98250ca59 in MoveCommand::redo (this=0x15c8c70) at /usr/src/debug/kde-baseapps-4.10.1/keditbookmarks/kbookmarkmodel/commands.cpp:377
#19 0x00007fc98250ce77 in SortCommand::moveAfter (this=this@entry=0x13f2290, moveMe=..., afterMe=...) at /usr/src/debug/kde-baseapps-4.10.1/keditbookmarks/kbookmarkmodel/commands.cpp:465
#20 0x00007fc98250d524 in kInsertionSort<SortItem, SortByName, QString, SortCommand> (sortHelper=..., firstChild=...) at /usr/src/debug/kde-baseapps-4.10.1/keditbookmarks/kbookmarkmodel/kinsertionsort_p.h:56
#21 redo (this=0x13f2290) at /usr/src/debug/kde-baseapps-4.10.1/keditbookmarks/kbookmarkmodel/commands.cpp:446
#22 SortCommand::redo (this=0x13f2290) at /usr/src/debug/kde-baseapps-4.10.1/keditbookmarks/kbookmarkmodel/commands.cpp:437
#23 0x00007fc9804b55d3 in QUndoStack::push (this=0xec0218, cmd=0x13f2290) at util/qundostack.cpp:583
#24 0x00007fc98250b0f6 in CommandHistory::addCommand (this=0xe2d4a0, cmd=0x13f2290) at /usr/src/debug/kde-baseapps-4.10.1/keditbookmarks/kbookmarkmodel/commandhistory.cpp:107
#25 0x00007fc982ae8410 in ActionsImpl::slotSort (this=0xedf760) at /usr/src/debug/kde-baseapps-4.10.1/keditbookmarks/actionsimpl.cpp:519
#26 0x00007fc980d511af in QMetaObject::activate (sender=0xf3a4d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff063b6f10) at kernel/qobject.cpp:3548
#27 0x00007fc97fe62662 in QAction::triggered (this=this@entry=0xf3a4d0, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#28 0x00007fc97fe62850 in QAction::activate (this=0xf3a4d0, event=<optimized out>) at kernel/qaction.cpp:1257
#29 0x00007fc98022283f in QAbstractButtonPrivate::click (this=this@entry=0xe832e0) at widgets/qabstractbutton.cpp:530
#30 0x00007fc980222aec in QAbstractButton::mouseReleaseEvent (this=0xe868b0, e=0x7fff063b77c0) at widgets/qabstractbutton.cpp:1123
#31 0x00007fc9802dce1a in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:718
#32 0x00007fc97feb8149 in QWidget::event (this=0xe868b0, event=0x7fff063b77c0) at kernel/qwidget.cpp:8375
#33 0x00007fc97fe6886c in QApplicationPrivate::notify_helper (this=this@entry=0xd7d980, receiver=receiver@entry=0xe868b0, e=e@entry=0x7fff063b77c0) at kernel/qapplication.cpp:4562
#34 0x00007fc97fe6d54b in QApplication::notify (this=<optimized out>, receiver=0xe868b0, e=0x7fff063b77c0) at kernel/qapplication.cpp:4105
#35 0x00007fc9817a1146 in KApplication::notify (this=0x7fff063b87e0, receiver=0xe868b0, event=0x7fff063b77c0) at /usr/src/debug/kdelibs-4.10.1/kdeui/kernel/kapplication.cpp:311
#36 0x00007fc980d3bc9e in QCoreApplication::notifyInternal (this=0x7fff063b87e0, receiver=0xe868b0, event=0x7fff063b77c0) at kernel/qcoreapplication.cpp:946
#37 0x00007fc97fe696ab in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#38 QApplicationPrivate::sendMouseEvent (receiver=0xe868b0, event=0x7fff063b77c0, alienWidget=0xe868b0, nativeWidget=0xe1d090, buttonDown=0x7fc98093d268 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#39 0x00007fc97fee3e94 in QETWidget::translateMouseEvent (this=this@entry=0xe1d090, event=event@entry=0x7fff063b7f30) at kernel/qapplication_x11.cpp:4527
#40 0x00007fc97fee2c21 in QApplication::x11ProcessEvent (this=0x7fff063b87e0, event=0x7fff063b7f30) at kernel/qapplication_x11.cpp:3650
#41 0x00007fc97ff08fa2 in x11EventSourceDispatch (s=0xd7ccf0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#42 0x00007fc97ba8c7d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#43 0x00007fc97ba8cb08 in ?? () from /usr/lib64/libglib-2.0.so.0
#44 0x00007fc97ba8cbc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#45 0x00007fc980d6a1d6 in QEventDispatcherGlib::processEvents (this=0xd57ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#46 0x00007fc97ff08c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007fc980d3a9ef in QEventLoop::processEvents (this=this@entry=0x7fff063b8300, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007fc980d3ac78 in QEventLoop::exec (this=0x7fff063b8300, flags=...) at kernel/qeventloop.cpp:204
#49 0x00007fc980d3f918 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#50 0x00007fc982ae0a1c in kdemain (argc=<optimized out>, argv=0x7fff00000001) at /usr/src/debug/kde-baseapps-4.10.1/keditbookmarks/main.cpp:212
#51 0x00007fc982738a15 in __libc_start_main () from /lib64/libc.so.6
#52 0x0000000000400761 in _start () at ../sysdeps/x86_64/start.S:123

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

Possible duplicates by query: bug 273307.

Reported using DrKonqi
Comment 1 Tommi Tervo 2013-03-23 17:15:13 UTC

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