Bug 160474 - Deleting a bookmark folder causes SIGABRT
Summary: Deleting a bookmark folder causes SIGABRT
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-06 16:54 UTC by Bogdan Bivolaru
Modified: 2008-06-28 12:30 UTC (History)
1 user (show)

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 Bogdan Bivolaru 2008-04-06 16:54:15 UTC
Version:           svn trunk r791376 (using Devel)
Installed from:    Compiled sources
Compiler:          GCC 4.1.3 20070929 (Ubuntu 4.1.2-16ubuntu2) Kubuntu 7.10
OS:                Linux

I created a new folder for holding bookmarks.
1) First I try to delete it, no effects shown, so it seems the command is ignored. I answer yes I want to delete the folder

2) Repeat step 1), and konqueror crashes with the following message:

Application: Konqueror (konqueror), signal SIGABRT
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1238440256 (LWP 12278)]
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb662a875 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb662c201 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb6623b6e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#10 0xb443e585 in KHTMLGlobal::finalCheck ()
    at /home/kde-devel/kdesvn/kdelibs/khtml/khtml_global.cpp:246
#11 0xb48d1ad3 in ~KHTMLFactory (this=0x833f6e0)
    at /home/kde-devel/kdesvn/kdelibs/khtml/khtml_factory.cpp:35
#12 0xb71d8c32 in QObjectCleanupHandler::clear (this=0x834ccf0)
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qobjectcleanuphandler.cpp:142
#13 0xb71d8c9d in ~QObjectCleanupHandler (this=0x834ccf0)
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qobjectcleanuphandler.cpp:88
#14 0xb7b2c5e5 in destroy ()
    at /home/kde-devel/kdesvn/kdelibs/kdecore/util/kpluginfactory.cpp:29
#15 0xb7b2c568 in __tcf_0 ()
    at /home/kde-devel/kdesvn/kdelibs/kdecore/kernel/kglobal.h:67
#16 0xb662d594 in exit () from /lib/tls/i686/cmov/libc.so.6
#17 0xb70ecefc in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbfd0e82c "ASSERT: \"item\" in file /home/kde-devel/kdesvn/kdebase/apps/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp, line 548")
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/global/qglobal.cpp:2049
#18 0xb70ecfa8 in qFatal (msg=0xb720c4b0 "ASSERT: \"%s\" in file %s, line %d")
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/global/qglobal.cpp:2249
#19 0xb70ed055 in qt_assert (assertion=0xb078fec5 "item", 
    file=0xb07901c4 "/home/kde-devel/kdesvn/kdebase/apps/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp", line=548)
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/global/qglobal.cpp:1821
#20 0xb077d4de in KonqSidebarBookmarkModule::findByAddress (this=0x86957f8, 
    address=@0x8b12dd8)
    at /home/kde-devel/kdesvn/kdebase/apps/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp:548
#21 0xb077da76 in KonqSidebarBookmarkModule::slotBookmarksChanged (
    this=0x86957f8, groupAddress=@0x8b12dd8)
    at /home/kde-devel/kdesvn/kdebase/apps/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp:483
#22 0xb077fed0 in KonqSidebarBookmarkModule::qt_metacall (this=0x86957f8, 
    _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfd109b8)
    at /home/kde-devel/kdesvn/build/kdebase/apps/konqueror/sidebar/trees/bookmark_module/bookmark_module.moc:86
#23 0xb71d2e5a in QMetaObject::activate (sender=0x817be00, 
    from_signal_index=<value optimized out>, to_signal_index=7, 
    argv=<value optimized out>)
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3001
#24 0xb71d3252 in QMetaObject::activate (sender=0x817be00, m=0xb7dcca0c, 
    local_signal_index=3, argv=0xbfd109b8)
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3074
#25 0xb7d05659 in KBookmarkManager::changed (this=0x817be00, _t1=@0x8b12dd8, 
    _t2=@0xbfd109fc)
    at /home/kde-devel/kdesvn/build/kdelibs/kio/kbookmarkmanager.moc:128
#26 0xb7d08b7a in KBookmarkManager::notifyChanged (this=0x817be00, 
    groupAddress=@0x8b12dd8, msg=@0x873863c)
    at /home/kde-devel/kdesvn/kdelibs/kio/bookmarks/kbookmarkmanager.cc:566
#27 0xb7d0c76e in KBookmarkManager::qt_metacall (this=0x817be00, 
    _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfd10b88)
    at /home/kde-devel/kdesvn/build/kdelibs/kio/kbookmarkmanager.moc:95
#28 0xb705bcc6 in QDBusConnectionPrivate::deliverCall (this=0x80ae160, 
    object=0x817be00, msg=@0x873863c, metaTypes=@0x8738640, slotIdx=12)
    at /home/kde-devel/kdesvn/qt-copy/src/dbus/qdbusintegrator.cpp:865
#29 0xb7062c47 in QDBusCallDeliveryEvent::placeMetaCall (this=0x8738610, 
    object=0x817be00)
    at /home/kde-devel/kdesvn/qt-copy/src/dbus/qdbusintegrator_p.h:136
#30 0xb71d1f45 in QObject::event (this=0x817be00, e=0x8738610)
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:1137
#31 0xb69f42cf in QApplicationPrivate::notify_helper (this=0x805d2d8, 
    receiver=0x817be00, e=0x8738610)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3735
#32 0xb69fabe9 in QApplication::notify (this=0xbfd1142c, receiver=0x817be00, 
    e=0x8738610)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3329
#33 0xb77bb42a in KApplication::notify (this=0xbfd1142c, receiver=0x817be00, 
    event=0x8738610)
    at /home/kde-devel/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:311
#34 0xb71c2979 in QCoreApplication::notifyInternal (this=0xbfd1142c, 
    receiver=0x817be00, event=0x8738610)
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:582
#35 0xb71c3abb in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x804b0e0)
    at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:215
#36 0xb71c3ced in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0)
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1084
#37 0xb71e890f in postEventSourceDispatch (s=0x805f1a0)
    at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:220
#38 0xb649611c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#39 0xb649955f in ?? () from /usr/lib/libglib-2.0.so.0
#40 0x0805f118 in ?? ()
#41 0x00000000 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()
Comment 1 Beat Wolf 2008-04-06 17:19:31 UTC
works for me in kubuntu hardy
Comment 2 Bogdan Bivolaru 2008-04-06 18:37:34 UTC
I forgot something: I enabled the bookmarks sidebar for Konqueror (shortcut F9) and I created and deleted the folders from there.
Creating & deleting folders in the bookmark editor does work though.
Comment 3 S. Burmeister 2008-04-06 21:31:16 UTC
For me, deleting the last item in the bookmarks sidebar crashes konqueror, even if it was a bookmark and no folder.

Another question: When you have one bookmark, right-click on "Bookmarks" and pick "Add folder". For me the folder is added below the bookmark, as if it was a folder.

Application: Konqueror (konqueror), signal SIGABRT
 [?1034hUsing host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb61056d0 (LWP 11764)]
[New Thread 0xb2c72b90 (LWP 11775)]
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb64608f5 in raise () from /lib/libc.so.6
#8  0xb64621e1 in abort () from /lib/libc.so.6
#9  0xb70c5961 in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbfb8d570 "ASSERT: \"false\" in file /home/kde-devel/kde/src/KDE/kdelibs/kio/bookmarks/kbookmark.cc, line 452") at global/qglobal.cpp:2058
#10 0xb70c59c5 in qFatal (msg=0xb721c2fc "ASSERT: \"%s\" in file %s, line %d")
    at global/qglobal.cpp:2260
#11 0xb70c5e0b in qt_assert (assertion=0xb7e3478a "false", 
    file=0xb7e345ac "/home/kde-devel/kde/src/KDE/kdelibs/kio/bookmarks/kbookmark.cc", line=452) at global/qglobal.cpp:1828
#12 0xb7d94289 in KBookmark::address (this=0xbfb8f650)
    at /home/kde-devel/kde/src/KDE/kdelibs/kio/bookmarks/kbookmark.cc:452
#13 0xb7d99655 in KBookmarkManager::emitChanged (this=0x810b6c8, 
    group=@0xbfb8f650)
    at /home/kde-devel/kde/src/KDE/kdelibs/kio/bookmarks/kbookmarkmanager.cc:519
#14 0xb1d8b743 in KonqSidebarBookmarkModule::slotDelete (this=0x83f3ec0)
    at /home/kde-devel/kde/src/KDE/kdebase/apps/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp:351
#15 0xb1d8c30c in KonqSidebarBookmarkModule::qt_metacall (this=0x83f3ec0, 
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfb8f7ac)
    at /home/kde-devel/kde/build/KDE/kdebase/apps/konqueror/sidebar/trees/bookmark_module/bookmark_module.moc:90
#16 0xb71d963f in QMetaObject::activate (sender=0x83f6f00, 
    from_signal_index=5, to_signal_index=6, argv=0xbfb8f7ac)
    at kernel/qobject.cpp:3007
#17 0xb71d9848 in QMetaObject::activate (sender=0x83f6f00, m=0xb6f6e998, 
    from_local_signal_index=1, to_local_signal_index=2, argv=0xbfb8f7ac)
    at kernel/qobject.cpp:3100
#18 0xb687212a in QAction::triggered (this=0x83f6f00, _t1=false)
    at .moc/debug-shared/moc_qaction.cpp:216
#19 0xb6873ce6 in QAction::activate (this=0x83f6f00, event=QAction::Trigger)
    at kernel/qaction.cpp:1119
#20 0xb6c924dc in QMenuPrivate::activateAction (this=0x8377b40, 
    action=0x83f6f00, action_e=QAction::Trigger, self=true)
    at widgets/qmenu.cpp:1005
#21 0xb6c94e55 in QMenu::mouseReleaseEvent (this=0x8bcc138, e=0xbfb8ff14)
    at widgets/qmenu.cpp:2160
#22 0xb68d7edf in QWidget::event (this=0x8bcc138, event=0xbfb8ff14)
    at kernel/qwidget.cpp:6920
#23 0xb6c90114 in QMenu::event (this=0x8bcc138, e=0xbfb8ff14)
    at widgets/qmenu.cpp:2256
#24 0xb6879efd in QApplicationPrivate::notify_helper (this=0x805a8f0, 
    receiver=0x8bcc138, e=0xbfb8ff14) at kernel/qapplication.cpp:3766
#25 0xb687aa7f in QApplication::notify (this=0xbfb91ad8, receiver=0x8bcc138, 
    e=0xbfb8ff14) at kernel/qapplication.cpp:3495
#26 0xb78c683f in KApplication::notify (this=0xbfb91ad8, receiver=0x8bcc138, 
    event=0xbfb8ff14)
    at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#27 0xb71c4896 in QCoreApplication::notifyInternal (this=0xbfb91ad8, 
    receiver=0x8bcc138, event=0xbfb8ff14) at kernel/qcoreapplication.cpp:583
#28 0xb6885f33 in QCoreApplication::sendSpontaneousEvent (receiver=0x8bcc138, 
    event=0xbfb8ff14)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#29 0xb687e88a in QApplicationPrivate::sendMouseEvent (receiver=0x8bcc138, 
    event=0xbfb8ff14, alienWidget=0x0, nativeWidget=0x8bcc138, 
    buttonDown=0xb6f8edc0, lastMouseReceiver=@0xb6f8edc4)
    at kernel/qapplication.cpp:2760
#30 0xb68f81ff in QETWidget::translateMouseEvent (this=0x8bcc138, 
    event=0xbfb904b0) at kernel/qapplication_x11.cpp:4046
#31 0xb68f5f15 in QApplication::x11ProcessEvent (this=0xbfb91ad8, 
    event=0xbfb904b0) at kernel/qapplication_x11.cpp:3112
#32 0xb69214ec in x11EventSourceDispatch (s=0x805d860, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#33 0xb62e55d6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0xb62e8972 in ?? () from /usr/lib/libglib-2.0.so.0
#35 0x0805cc90 in ?? ()
#36 0x00000000 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()
Comment 4 Philip Rodrigues 2008-06-28 12:30:05 UTC
Should be fixed by r825278:

http://websvn.kde.org/?view=rev&revision=825278