Bug 219314

Summary: Konqueror (file browsing mode) crashes when pressing BACK [DolphinCategoryDrawer::~DolphinCategoryDrawer, DolphinIconsView::~DolphinIconsView, QObjectPrivate::deleteChildren]
Product: [Applications] konqueror Reporter: Aron Fyodor M. Asor <aronasorman>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, bugzilla, elisatendress, j.r.hudson, praganelli
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Aron Fyodor M. Asor 2009-12-19 15:24:36 UTC
Application: konqueror (4.3.4 (KDE 4.3.4))
KDE Platform Version: 4.3.82 (KDE 4.3.82 (KDE 4.4 >= 20091211)) (Compiled from sources)
Qt Version: 4.7.0
Operating System: Linux 2.6.31-ARCH i686
Distribution (Platform): Archlinux Packages

-- Information about the crash:
I go to a folder in $HOME, then I press back. Only that it's not the back, it's the crash button. har har.

The crash can be reproduced everytime.

 -- Backtrace:
Application: Konqueror (kdeinit4), signal: Aborted
[KCrash Handler]
#6  0xb7796424 in __kernel_vsyscall ()
#7  0xb5db3571 in raise () from /lib/libc.so.6
#8  0xb5db4d72 in abort () from /lib/libc.so.6
#9  0xb5deed95 in __libc_message () from /lib/libc.so.6
#10 0xb5df4c31 in malloc_printerr () from /lib/libc.so.6
#11 0xb5df95a6 in free () from /lib/libc.so.6
#12 0xb5f89681 in operator delete(void*) () from /usr/lib/libstdc++.so.6
#13 0xaf0fcda5 in DolphinCategoryDrawer::~DolphinCategoryDrawer() () from /usr/lib/libdolphinprivate.so.4
#14 0xaf0f2a0c in DolphinIconsView::~DolphinIconsView() () from /usr/lib/libdolphinprivate.so.4
#15 0xb766ca4f in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
#16 0xb615d9f7 in QWidget::~QWidget() () from /usr/lib/libQtGui.so.4
#17 0xaf1015db in DolphinView::~DolphinView() () from /usr/lib/libdolphinprivate.so.4
#18 0xb7214923 in ~Part (this=0x904e990, __vtt_parm=0xaffc21e8, __in_chrg=<value optimized out>) at /home/build/build-i686/kdelibs/src/kdelibs/kparts/part.cpp:208
#19 0xb72150ca in ~ReadOnlyPart (this=0x904e990, __vtt_parm=0xaffc21e4, __in_chrg=<value optimized out>) at /home/build/build-i686/kdelibs/src/kdelibs/kparts/part.cpp:459
#20 0xaffbccbc in DolphinPart::~DolphinPart() () from /usr/lib/kde4/dolphinpart.so
#21 0xb374adb2 in KonqView::switchView(KonqViewFactory&) () from /usr/lib/libkdeinit4_konqueror.so
#22 0xb374d63d in KonqView::changePart(QString const&, QString const&, bool) () from /usr/lib/libkdeinit4_konqueror.so
#23 0xb374d984 in KonqView::restoreHistory() () from /usr/lib/libkdeinit4_konqueror.so
#24 0xb37a2cf8 in KonqMainWindow::slotGoHistoryDelayed() () from /usr/lib/libkdeinit4_konqueror.so
#25 0xb37ab910 in KonqMainWindow::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeinit4_konqueror.so
#26 0xb76621da in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#27 0xb7670cf7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#28 0xb76788c7 in ?? () from /usr/lib/libQtCore.so.4
#29 0xb76789dc in ?? () from /usr/lib/libQtCore.so.4
#30 0xb766dae4 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#31 0xb60f878c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#32 0xb60ff367 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#33 0xb6c097ea in KApplication::notify (this=0xbffeec8c, receiver=0x90efb58, event=0xbffee890) at /home/build/build-i686/kdelibs/src/kdelibs/kdeui/kernel/kapplication.cpp:302
#34 0xb765cfcb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#35 0xb768c576 in ?? () from /usr/lib/libQtCore.so.4
#36 0xb7689287 in ?? () from /usr/lib/libQtCore.so.4
#37 0xb5ce7378 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#38 0xb5ceabf0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#39 0xb5cead23 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#40 0xb7688f45 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#41 0xb61b3e25 in ?? () from /usr/lib/libQtGui.so.4
#42 0xb765b609 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#43 0xb765ba5a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#44 0xb765fbcf in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#45 0xb60f8827 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#46 0xb37ddf09 in kdemain () from /usr/lib/libkdeinit4_konqueror.so
#47 0x0804e032 in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=0, envs=0x8c20415 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x8051173 "0") at /home/build/build-i686/kdelibs/src/kdelibs/kinit/kinit.cpp:705
#48 0x0804eb6d in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at /home/build/build-i686/kdelibs/src/kdelibs/kinit/kinit.cpp:1197
#49 0x0804f004 in handle_requests (waitForPid=<value optimized out>) at /home/build/build-i686/kdelibs/src/kdelibs/kinit/kinit.cpp:1390
#50 0x0804f897 in main (argc=4, argv=0xbffef994, envp=0xbffef9a8) at /home/build/build-i686/kdelibs/src/kdelibs/kinit/kinit.cpp:1825

Reported using DrKonqi
Comment 1 Dario Andres 2009-12-19 15:42:32 UTC
Mh, this looks like the glibc bug: bug 196207. Bug 203553 and bug 219297 are probaably the same.

As you can always reproduce the crash, can you check the following: 
- Close all the Konqueror/Dolphin instances
- Start Konqueror from Konsole as "MALLOC_CHECK=  konqueror" (note the separation between the envvar (which we are setting to "" null) and the app name)

If Konqueror doesn't crash now, then this is the glibc bug. (which should be fixed with glibc 2.11.1)

Thanks
Comment 2 Aron Fyodor M. Asor 2009-12-19 15:51:40 UTC
Seems you're right, konq doesn't crash anymore. So I should set this bug to RESOLVED, UPSTREAM?
Comment 3 Dario Andres 2009-12-19 15:52:42 UTC
I will mark it as duplicate of the glibc one. Thanks

*** This bug has been marked as a duplicate of bug 196207 ***
Comment 4 Dario Andres 2009-12-19 15:53:10 UTC
*** Bug 219297 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2009-12-19 15:53:14 UTC
*** Bug 203553 has been marked as a duplicate of this bug. ***
Comment 6 Nicolas L. 2010-06-10 02:06:05 UTC
*** Bug 240869 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2011-05-01 14:38:45 UTC
*** Bug 272050 has been marked as a duplicate of this bug. ***