Bug 204729

Summary: Konqueror bookmark editor crashes when moving bookmarks between bookmark folders.
Product: [Applications] keditbookmarks Reporter: dibdublin
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: billly123, daniel.rocher, faure, kfebert, stefan.gruendel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description dibdublin 2009-08-22 05:18:48 UTC
Application that crashed: keditbookmarks
Version of the application: 4.3.00 (KDE 4.3.0)
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.28-14-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
I was dragging/dropping bookmarks between a bookmark toolbar folder and a bookmark folder in Konqueror's Bookmark Editor.  Copying/pasting will also cause the same segfault.  A temporary workaround is to open Bookmark Editor, drag/drop only ONE bookmark, then close Bookmark Editor. Then open Bookmark Editor again, drag/drop ONE bookmark, then close Bookmark Editor.  Repeat for each bookmark.  This doesn't work all the time, however.   

 -- Backtrace:
Application: Bookmark Editor (keditbookmarks), signal: Segmentation fault
[KCrash Handler]
#5  _int_malloc (av=0x7f8aba3eea00, bytes=20) at malloc.c:4202
#6  0x00007f8aba0fd828 in *__GI___libc_malloc (bytes=20) at malloc.c:3551
#7  0x00007f8aba9579bd in operator new () from /usr/lib/libstdc++.so.6
#8  0x00007f8abb7e3c0e in QDateTime (this=0x1dd1130) at tools/qdatetime.cpp:2204
#9  0x00007f8abb85b4b8 in Data (this=0x1dd1100) at io/qfileinfo.cpp:78
#10 0x00007f8abb85a105 in QFileInfoPrivate (this=0x1fd1d30, copy=<value optimized out>) at io/qfileinfo.cpp:124
#11 0x00007f8abb85ad50 in QFileInfo (this=0x7fffc661b960, file=@0x7fffc661bb90) at io/qfileinfo.cpp:388
#12 0x00007f8abb849839 in QDir::isRelativePath (path=<value optimized out>) at io/qdir.cpp:2180
#13 0x00007f8abbf05eaf in KSaveFile::setFileName (this=0x7fffc661ba30, filename=@0x7fffc661bb90) at /build/buildd/kde4libs-4.3.0/kdecore/io/ksavefile.cpp:148
#14 0x00007f8abd227539 in KBookmarkManager::saveAs (this=0x1c86990, filename=@0x1c95790, toolbarCache=<value optimized out>) at /build/buildd/kde4libs-4.3.0/kio/bookmarks/kbookmarkmanager.cc:380
#15 0x00007f8abd2278e3 in KBookmarkManager::emitChanged (this=0x7f8aba3eea00, group=@0x7fffc661bc80) at /build/buildd/kde4libs-4.3.0/kio/bookmarks/kbookmarkmanager.cc:516
#16 0x00007f8abe1d4b89 in ?? () from /usr/lib/libkdeinit4_keditbookmarks.so
#17 0x00007f8abe1f1700 in ?? () from /usr/lib/libkdeinit4_keditbookmarks.so
#18 0x00007f8abe1f3208 in ?? () from /usr/lib/libkdeinit4_keditbookmarks.so
#19 0x00007f8abb22b78d in QAbstractItemView::dropEvent (this=0x1babbb0, event=0x7fffc661caf0) at itemviews/qabstractitemview.cpp:1849
#20 0x00007f8abad8eb99 in QWidget::event (this=0x1babbb0, event=0x7fffc661caf0) at kernel/qwidget.cpp:7731
#21 0x00007f8abb101f0b in QFrame::event (this=0x1babbb0, e=0x7fffc661caf0) at widgets/qframe.cpp:559
#22 0x00007f8abb237c0d in QAbstractItemView::viewportEvent (this=0x1babbb0, event=0x7fffc661caf0) at itemviews/qabstractitemview.cpp:1476
#23 0x00007f8abb26f2d9 in QTreeView::viewportEvent (this=0x1babbb0, event=0x7fffc661caf0) at itemviews/qtreeview.cpp:1266
#24 0x00007f8abb8bf9b8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1babea0, event=0x7fffc661caf0) at kernel/qcoreapplication.cpp:726
#25 0x00007f8abad3df1c in QApplicationPrivate::notify_helper (this=0x1b60800, receiver=0x1babea0, e=0x7fffc661caf0) at kernel/qapplication.cpp:4052
#26 0x00007f8abad466d0 in QApplication::notify (this=<value optimized out>, receiver=0x1babea0, e=0x7fffc661caf0) at kernel/qapplication.cpp:4009
#27 0x00007f8abc70271b in KApplication::notify (this=0x7fffc6622350, receiver=0x1babea0, event=0x7fffc661caf0) at /build/buildd/kde4libs-4.3.0/kdeui/kernel/kapplication.cpp:302
#28 0x00007f8abb8c06ac in QCoreApplication::notifyInternal (this=0x7fffc6622350, receiver=0x1babea0, event=0x7fffc661caf0) at kernel/qcoreapplication.cpp:610
#29 0x00007f8abadbc775 in QX11Data::xdndHandleDrop (this=<value optimized out>, xe=<value optimized out>, passive=<value optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#30 0x00007f8abadc1027 in QDragManager::drop (this=0x20af250) at kernel/qdnd_x11.cpp:1709
#31 0x00007f8abadc11bc in QDragManager::eventFilter (this=0x20af250, o=<value optimized out>, e=<value optimized out>) at kernel/qdnd_x11.cpp:1302
#32 0x00007f8abb8bfa7c in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0x1b60800, receiver=0x1d985b0, event=0x7fffc661d330) at kernel/qcoreapplication.cpp:707
#33 0x00007f8abad3deb6 in QApplicationPrivate::notify_helper (this=0x7f8aba3eea00, receiver=0x14, e=0x2015325) at kernel/qapplication.cpp:4031
#34 0x00007f8abad468ea in QApplication::notify (this=<value optimized out>, receiver=0x1d985b0, e=0x7fffc661d330) at kernel/qapplication.cpp:3758
#35 0x00007f8abc70271b in KApplication::notify (this=0x7fffc6622350, receiver=0x1d985b0, event=0x7fffc661d330) at /build/buildd/kde4libs-4.3.0/kdeui/kernel/kapplication.cpp:302
#36 0x00007f8abb8c06ac in QCoreApplication::notifyInternal (this=0x7fffc6622350, receiver=0x1d985b0, event=0x7fffc661d330) at kernel/qcoreapplication.cpp:610
#37 0x00007f8abad45b38 in QApplicationPrivate::sendMouseEvent (receiver=0x1d985b0, event=0x7fffc661d330, alienWidget=0x0, nativeWidget=0x1d985b0, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f8abb775010) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#38 0x00007f8abadafb19 in QETWidget::translateMouseEvent (this=0x1d985b0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4409
#39 0x00007f8abadaeb53 in QApplication::x11ProcessEvent (this=0x7fffc6622350, event=0x7fffc661eeb0) at kernel/qapplication_x11.cpp:3550
#40 0x00007f8abadd7454 in x11EventSourceDispatch (s=0x1b64340, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#41 0x00007f8ab65de20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#42 0x00007f8ab65e18e0 in ?? () from /usr/lib/libglib-2.0.so.0
#43 0x00007f8ab65e1a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#44 0x00007f8abb8e9a8f in QEventDispatcherGlib::processEvents (this=0x1b46b50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#45 0x00007f8abadd6bdf in QGuiEventDispatcherGlib::processEvents (this=0x7f8aba3eea00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#46 0x00007f8abb8bef42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -966659680}) at kernel/qeventloop.cpp:149
#47 0x00007f8abb8bf314 in QEventLoop::exec (this=0x2012750, flags={i = -966659536}) at kernel/qeventloop.cpp:201
#48 0x00007f8abadc0977 in QDragManager::drag (this=0x20af250, o=<value optimized out>) at kernel/qdnd_x11.cpp:1969
#49 0x00007f8abad509c8 in QDrag::exec (this=0x1c09830, supportedActions={i = -966659072}, defaultDropAction=Qt::CopyAction) at kernel/qdrag.cpp:282
#50 0x00007f8abb235f3e in QAbstractItemView::startDrag (this=0x1c87a10, supportedActions={i = -966658624}) at itemviews/qabstractitemview.cpp:3205
#51 0x00007f8abb2331c7 in QAbstractItemView::mouseMoveEvent (this=0x1c87a10, event=0x7fffc6620250) at itemviews/qabstractitemview.cpp:1552
#52 0x00007f8abad8ef58 in QWidget::event (this=0x1c87a10, event=0x7fffc6620250) at kernel/qwidget.cpp:7534
#53 0x00007f8abb101f0b in QFrame::event (this=0x1c87a10, e=0x7fffc6620250) at widgets/qframe.cpp:559
#54 0x00007f8abb237c0d in QAbstractItemView::viewportEvent (this=0x1c87a10, event=0x7fffc6620250) at itemviews/qabstractitemview.cpp:1476
#55 0x00007f8abb26f2d9 in QTreeView::viewportEvent (this=0x1c87a10, event=0x7fffc6620250) at itemviews/qtreeview.cpp:1266
#56 0x00007f8abb8bf9b8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1c87000, event=0x7fffc6620250) at kernel/qcoreapplication.cpp:726
#57 0x00007f8abad3df1c in QApplicationPrivate::notify_helper (this=0x1b60800, receiver=0x1c87000, e=0x7fffc6620250) at kernel/qapplication.cpp:4052
#58 0x00007f8abad468ea in QApplication::notify (this=<value optimized out>, receiver=0x1c87000, e=0x7fffc6620250) at kernel/qapplication.cpp:3758
#59 0x00007f8abc70271b in KApplication::notify (this=0x7fffc6622350, receiver=0x1c87000, event=0x7fffc6620250) at /build/buildd/kde4libs-4.3.0/kdeui/kernel/kapplication.cpp:302
#60 0x00007f8abb8c06ac in QCoreApplication::notifyInternal (this=0x7fffc6622350, receiver=0x1c87000, event=0x7fffc6620250) at kernel/qcoreapplication.cpp:610
#61 0x00007f8abad45b38 in QApplicationPrivate::sendMouseEvent (receiver=0x1c87000, event=0x7fffc6620250, alienWidget=0x1c87000, nativeWidget=0x1bd2610, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f8abb775010) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#62 0x00007f8abadafb19 in QETWidget::translateMouseEvent (this=0x1bd2610, event=<value optimized out>) at kernel/qapplication_x11.cpp:4409
#63 0x00007f8abadaeb53 in QApplication::x11ProcessEvent (this=0x7fffc6622350, event=0x7fffc6621dd0) at kernel/qapplication_x11.cpp:3550
#64 0x00007f8abadd7454 in x11EventSourceDispatch (s=0x1b64340, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#65 0x00007f8ab65de20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#66 0x00007f8ab65e18e0 in ?? () from /usr/lib/libglib-2.0.so.0
#67 0x00007f8ab65e1a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#68 0x00007f8abb8e9a8f in QEventDispatcherGlib::processEvents (this=0x1b46b50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#69 0x00007f8abadd6bdf in QGuiEventDispatcherGlib::processEvents (this=0x7f8aba3eea00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#70 0x00007f8abb8bef42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -966647616}) at kernel/qeventloop.cpp:149
#71 0x00007f8abb8bf314 in QEventLoop::exec (this=0x7fffc6622100, flags={i = -966647536}) at kernel/qeventloop.cpp:201
#72 0x00007f8abb8c15e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#73 0x00007f8abe1d0d60 in kdemain () from /usr/lib/libkdeinit4_keditbookmarks.so
#74 0x00007f8aba09f5a6 in __libc_start_main (main=0x400820 <_start+240>, argc=6, ubp_av=0x7fffc6622ed8, init=0x400850 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fffc6622ec8) at libc-start.c:220
#75 0x0000000000400759 in _start ()

This bug may be a duplicate of or related to bug 202287

Reported using DrKonqi
Comment 1 Daniel Rocher 2009-08-26 19:56:54 UTC
*** Bug 205224 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Feck 2009-09-04 00:32:30 UTC
*** Bug 206152 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2009-09-04 00:36:44 UTC
*** Bug 201075 has been marked as a duplicate of this bug. ***
Comment 4 Billy 2009-09-23 11:14:06 UTC
I can confirm similar behaviour on Arch Linux 2009.08 running KDE 4.3.1.
Comment 5 David Faure 2009-10-01 13:33:05 UTC

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