Bug 173634

Summary: Crash in KBookmarkMenu
Product: [Frameworks and Libraries] kdelibs Reporter: andreaswuest
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: alexandre.sidorenko, amarok-bugs-dist, cs, Regnaron, unnamedrambler
Priority: NOR    
Version: 4.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description andreaswuest 2008-10-26 21:39:07 UTC
Version:           1.92.2 (using 4.1.2 (KDE 4.1.2), Kubuntu packages)
Compiler:          gcc
OS:                Linux (i686) release 2.6.24-21-generic

hello,

here is the backtrace for the beta 2 version:

Application: Amarok (amarok), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb498c6c0 (LWP 12627)]
[New Thread 0xa871fb90 (LWP 12703)]
[New Thread 0xa8f20b90 (LWP 12702)]
[New Thread 0xa98eeb90 (LWP 12701)]
[New Thread 0xaa4fab90 (LWP 12700)]
[New Thread 0xacbfdb90 (LWP 12651)]
[New Thread 0xad3feb90 (LWP 12650)]
[New Thread 0xadbffb90 (LWP 12649)]
[New Thread 0xae704b90 (LWP 12648)]
[New Thread 0xb033eb90 (LWP 12643)]
[New Thread 0xb104fb90 (LWP 12633)]
[New Thread 0xb1850b90 (LWP 12632)]
[New Thread 0xb2093b90 (LWP 12631)]
[New Thread 0xb2902b90 (LWP 12628)]
[KCrash handler]
#6  0x00000028 in ?? ()
#7  0xb629d325 in qDeleteAll<QList<QAction*> > (c=@0x8a2bc08)
    at /usr/include/qt4/QtCore/qalgorithms.h:360
#8  0xb62987e1 in ~KBookmarkMenu (this=0x8a2bbf8)
    at /build/buildd/kde4libs-4.1.2/kio/bookmarks/kbookmarkmenu.cc:123
#9  0xb7e81457 in ~KBookmarkHandler (this=0x8a33890)
    at /build/buildd/amarok-kde4-1.92.2/src/browsers/filebrowser/kbookmarkhandler.cpp:65
#10 0xb765ad5c in QObjectPrivate::deleteChildren (this=0x89e5e28)
    at kernel/qobject.cpp:1869
#11 0xb6d5f0ee in ~QWidget (this=0x8a51ee8) at kernel/qwidget.cpp:1341
#12 0xb70a3b11 in ~QFrame (this=0x8a51ee8) at widgets/qframe.cpp:244
#13 0xb7b85b21 in ~KHBox (this=0x8a51ee8)
    at /build/buildd/kde4libs-4.1.2/kdeui/widgets/khbox.cpp:51
#14 0xb7bd0231 in ~KVBox (this=0x8a51ee8)
    at /build/buildd/kde4libs-4.1.2/kdeui/widgets/kvbox.cpp:29
#15 0xb7e7de33 in ~Widget (this=0x8a51ee8)
    at /build/buildd/amarok-kde4-1.92.2/src/browsers/filebrowser/FileBrowser.cpp:199
#16 0xb7e2a7f7 in SideBar::deleteBrowsers (this=0x83cddd0)
    at /build/buildd/amarok-kde4-1.92.2/src/Sidebar.h:87
#17 0xb7e17c6f in ~App (this=0xbfaede4c)
    at /build/buildd/amarok-kde4-1.92.2/src/App.cpp:230
#18 0x0804b3d4 in main (argc=1, argv=0xbfaee334)
    at /build/buildd/amarok-kde4-1.92.2/src/main.cpp:127
#0  0xb7f09410 in __kernel_vsyscall ()
Comment 1 Mark Kretschmann 2008-10-26 22:59:53 UTC
The crash appears to be in KDElibs. Reassigning.
Comment 2 Oliver Putz 2008-10-27 21:44:00 UTC
Similar backtrace as in bug #165940. Related?
Comment 3 andreaswuest 2008-11-15 11:32:18 UTC
i still get this crash with beta 3 and kde 4.1.3. the crash happened when i wanted to quit amarok. here is the new backtrace:

Anwendung: Amarok (amarok), Signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0x7fd4dce47700 (LWP 6385)]
[New Thread 0x46f06950 (LWP 6419)]
[New Thread 0x46705950 (LWP 6418)]
[New Thread 0x45f04950 (LWP 6417)]
[New Thread 0x45703950 (LWP 6416)]
[New Thread 0x44f02950 (LWP 6398)]
[New Thread 0x44701950 (LWP 6397)]
[New Thread 0x43f00950 (LWP 6394)]
[New Thread 0x436ff950 (LWP 6393)]
[New Thread 0x42efe950 (LWP 6391)]
[New Thread 0x426fd950 (LWP 6390)]
[New Thread 0x40f2b950 (LWP 6389)]
[New Thread 0x41efc950 (LWP 6386)]
[KCrash handler]
#5  0x0000000000000020 in ?? ()
#6  0x00007fd4d95d120e in ~KBookmarkMenu (this=0x1e5af70)
    at /usr/include/qt4/QtCore/qalgorithms.h:346
#7  0x00007fd4dc96a478 in ~KBookmarkHandler (this=0x1a449a0)
    at /build/buildd/amarok-kde4-1.94/src/browsers/filebrowser/kbookmarkhandler.cpp:65
#8  0x00007fd4db92e601 in QObjectPrivate::deleteChildren ()
   from /usr/lib/libQtCore.so.4
#9  0x00007fd4dae958fd in QWidget::~QWidget () from /usr/lib/libQtGui.so.4
#10 0x00007fd4dc963874 in ~Widget (this=0x1b42430)
    at /build/buildd/amarok-kde4-1.94/src/browsers/filebrowser/FileBrowser.cpp:194
#11 0x00007fd4dc8de085 in MainWindow::deleteBrowsers (
    this=<value optimized out>)
    at /build/buildd/amarok-kde4-1.94/src/Sidebar.h:87
#12 0x00007fd4dc8ce34a in ~App (this=0x7fffe4e7c080)
    at /build/buildd/amarok-kde4-1.94/src/App.cpp:239
#13 0x000000000040403b in main (argc=1, argv=0x7fffe4e7d258)
    at /build/buildd/amarok-kde4-1.94/src/main.cpp:128
#0  0x00007fd4da9ae621 in nanosleep () from /lib/libc.so.6
Comment 4 Seb Ruiz 2008-11-18 02:43:07 UTC
Confirmed.
Comment 5 Seb Ruiz 2008-12-03 23:05:13 UTC
*** Bug 176829 has been marked as a duplicate of this bug. ***
Comment 6 Casey Link 2008-12-04 06:32:55 UTC
SVN commit 892336 by link:

Disables the KBookmarks menu in the filebrowser, because of unresolved crashes. We can't have an obviously broken feature (one that produces a crash no less) like this when 2.0 is released.

CCBUG: 173634

 M  +2 -0      ChangeLog  
 M  +1 -1      src/browsers/filebrowser/FileBrowser.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=892336
Comment 7 CS Wagner 2008-12-21 20:36:45 UTC
I'm getting similar crash when closing Kate.  The important part of the Backtrace is:
 #6  0x05102d2b in KBookmarkMenu::~KBookmarkMenu () from /usr/lib/libkio.so.5
 #7  0x01fb31d7 in ?? () from /usr/lib/kde4/katefilebrowserplugin.so
 #8  0x009ba48f in QObjectPrivate::deleteChildren ()
   from /usr/lib/libQtCore.so.4
 #9  0x061db658 in QWidget::~QWidget () from

I'm using Fedora 10 (fresh install from F10 KDE Live disk) and Kate installed with "yum install kdesdk".  This crash will not happen if you remove ALL of the Kate plugins.  If you enable ANY plugins, Kate crashes when closing it.
Comment 8 Casey Link 2009-02-15 18:31:52 UTC
SVN commit 926563 by link:

Re-enable the Bookmark Action in the file browser.. the bug that was
causing this seems to have been fixed (I no longer get crashes).
CCBUG: 173634

 M  +1 -1      FileBrowser.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=926563
Comment 9 CS Wagner 2009-02-15 20:03:23 UTC
With latest F10 update, I am able to close Kate without having it crash.
Comment 10 Casey Link 2009-02-19 20:14:58 UTC
Closing this bug as WORKSFORME. I think this was fixed in KDE 4.2.

Please re-open if issue persists.