Bug 178765

Summary: Konqueror crashes on start after modifying the toolbar (adding the "Location toolbar" elements to the main toolbar and deleting the "Location toolbar")
Product: [Applications] konqueror Reporter: Dario Andres <andresbajotierra>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aseigo, mdione
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: backtrace

Description Dario Andres 2008-12-25 21:29:41 UTC
Version:           KDE: 4.1.86 (KDE 4.1.86 (KDE 4.2 >= 20081221))  kdelibs svn rev. 901348 / kdebase svn rev. 901348 (using Devel)
Compiler:          gcc 
OS:                Linux
Installed from:    Compiled sources

Here using:

Qt: 4.4.3
KDE: 4.1.86 (KDE 4.1.86 (KDE 4.2 >= 20081221))
kdelibs svn rev. 901348 / kdebase svn rev. 901348
on ArchLinux x86_64 - Kernel 2.6.27.10

When trying to reproduce bug 177837
(This may be related to bug 172692, but as it's a different backtrace I'm creating a new report)

- Clear your Konqueror configuration (delete ~/.kde/share/apps/konqueror)
- Open Konqueror
- Go to Configure Toolbars
- Select Main Toolbar
- Add "Location Bar"
- Add "Go"
- Click OK
- Disable the "Location" toolbar (RMB on the toolbars, "Toolbars", disable "Location")
- Close Konqueror

Try to start Konqueror again. Crash! (you can't start Konqi again util you clean your Konqueror configuration)

Backtrace:

ASSERT: "id" in file kernel/qwidget_x11.cpp, line 751                        

Application: Konqueror (konqueror), signal SIGABRT
0x00007fa6a0bfbfd0 in __nanosleep_nocancel () from /lib/libc.so.6

Thread 1 (Thread 0x7fa6a5c77750 (LWP 5468)):
[KCrash Handler]
#5  0x00007fa6a0b8f0c5 in raise () from /lib/libc.so.6
#6  0x00007fa6a0b905e3 in abort () from /lib/libc.so.6
#7  0x00007fa6a32b8a25 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2102
#8  0x00007fa6a32b8b47 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2303
#9  0x00007fa6a27d26d0 in QWidgetPrivate::create_sys (this=0x20fa690, window=0, initializeWindow=true, destroyOldWindow=true) at kernel/qwidget_x11.cpp:751
#10 0x00007fa6a27a3152 in QWidget::create (this=0x2108ad0, window=0, initializeWindow=6, destroyOldWindow=255) at kernel/qwidget.cpp:1236
#11 0x00007fa6a279f9bd in QWidgetPrivate::createWinId (this=<value optimized out>, winid=0) at kernel/qwidget.cpp:2005
#12 0x00007fa6a27d30f6 in QWidgetPrivate::setParent_sys (this=0x20fa690, parent=0x23647f0, f={i = -1378119808}) at kernel/qwidget_x11.cpp:952
#13 0x00007fa6a27a6296 in QWidget::setParent (this=0x2108ad0, parent=0x23647f0, f={i = -1378119728}) at kernel/qwidget.cpp:8735
#14 0x00007fa6a27a6812 in QWidget::setParent (this=0x155c, parent=0x155c) at kernel/qwidget.cpp:8696
#15 0x00007fa6a5947871 in KonqMainWindow (this=0x2004a80, initialURL=@0x7fffaddb91b0, xmluiFile=@0x7fffaddb9250) at /home/kde-devel/kde/src/KDE/kdebase/apps/konqueror/src/konqmainwindow.cpp:274
#16 0x00007fa6a58fc9e5 in KonqMisc::createBrowserWindowFromProfile (_path=<value optimized out>, filename=@0x7fffaddb9770, url=@0x7fffaddb9640, args=<value optimized out>, 
    browserArgs=@0x7fffaddb94b0, forbidUseHTML=false, filesToSelect=@0x7fffaddb9860, tempFile=false, openUrl=true) at /home/kde-devel/kde/src/KDE/kdebase/apps/konqueror/src/konqmisc.cpp:150
#17 0x00007fa6a5971fe8 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /home/kde-devel/kde/src/KDE/kdebase/apps/konqueror/src/konqmain.cpp:205
#18 0x00007fa6a0b7b546 in __libc_start_main () from /lib/libc.so.6
#19 0x00000000004007c9 in _start ()
Comment 1 Marcos Dione 2008-12-26 21:41:56 UTC
reported twice. see #178766 for more info.
Comment 2 Dario Andres 2008-12-27 00:09:50 UTC
@Marcos: they are related, however the steps are sightly different and the crash is completely different in a different moment :)
Comment 3 Aaron J. Seigo 2009-04-25 02:48:54 UTC

*** This bug has been marked as a duplicate of bug 172692 ***
Comment 4 esigra 2009-11-20 15:28:26 UTC
Created attachment 38458 [details]
backtrace

I get this very similar backtrace with KDE 4.3.1 from Gentoo. If I move konqueror.rc away, it does not crash. If I move it back, it crashes again.