Bug 103415

Summary: Konqueror 3.4.0 crashes at start
Product: [Applications] konqueror Reporter: Ernst de Haan <ernst.dehaan>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED NOT A BUG    
Severity: crash CC: l.lunak
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Backtrace 1
Backtrace 2
Backtrace 3

Description Ernst de Haan 2005-04-07 11:07:30 UTC
Version:           3.4.0 (using KDE 3.4.0, Gentoo)
Compiler:          gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)
OS:                Linux (i686) release 2.6.11-gentoo-r4

Sometimes when I start Konqueror, it crashes immediately. This happens both when run directly from Kicker and when run from within Kontact (in Akregator).

Context:
- KDE 3.4.0 compiled from sources (Gentoo portage ebuild)
- Konqueror 3.4.0
- Linux 2.6.11

Reproducibility:
This does not happen each time, but it now happened 3 times in one day.

Steps to reproduce:
- Click on the (standard) Konqueror icon in the bottom bar.

Backtrace:
- I've got 3 partial backtraces. If I remember correctly, I did compile KDE with debug enabled, so hopefully theyre useful. I'll attach them separately.
Comment 1 Ernst de Haan 2005-04-07 11:09:37 UTC
Created attachment 10537 [details]
Backtrace 1

Konqueror run from Kontact.
Comment 2 Ernst de Haan 2005-04-07 11:10:12 UTC
Created attachment 10538 [details]
Backtrace 2

Konqueror run from Kontact (again).
Comment 3 Ernst de Haan 2005-04-07 11:11:02 UTC
Created attachment 10539 [details]
Backtrace 3

Konqueror run directly from the bottom bar (Kicker).
Comment 4 Ernst de Haan 2005-04-07 11:12:18 UTC
Here's some additional system information, as returned by 'emerge info' on my Gentoo Linux system:

Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 24 2005, 13:52:41)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.9.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl directfb divx4linux dvd dvdr emboss encode esd fam fbdev flac font-server foomaticdb fortran gdbm gif gphoto2 gpm gtk2 imagemagick imlib ipv6 java javamail jpeg junit kde libg++ libwww live mad mikmod mmx motif mozilla moznocompose moznoirc moznomail mp3 mpeg nas ncurses network nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline rtc slang speex spell sse ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts usb xinerama xml xml2 xmms xv zlib linguas_en linguas_nl"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 5 Lubos Lunak 2005-04-07 11:17:00 UTC
The backtraces are useless, gcc cannot generate usable backtraces with -fomit-frame-pointer. Which means this bugreport only says "konqueror sometimes crashes", which in turn means this bugreport doesn't provide any useful information and is useless, sorry.
Comment 6 Ernst de Haan 2005-04-07 11:21:50 UTC
So what do I do? I will change the CFLAGS setting.

And then: Recompile gcc or recompile KDE? Or both?
Comment 7 Allan Sandfeld 2005-04-07 11:38:14 UTC
Recompile KDE and Qt. Preferably even with -g
Comment 8 Ernst de Haan 2005-04-08 00:15:29 UTC
I've recompiled Qt and KDE, but now the problem is gone... Cannot reproduce it anymore.
Comment 9 Thiago Macieira 2005-04-08 03:30:24 UTC
> I've recompiled Qt and KDE, but now the problem is gone... Cannot reproduce
> it anymore.

Great! Don't you just love when that happens?

BTW, I saw you used -O4. Try less aggressive optimisations and see if it stabilises for you.
Comment 10 Ernst de Haan 2005-04-08 23:45:01 UTC
Indeed I love it when I see that :)

But where do you get the -O4 from? My CFLAGS says -O2...
Comment 11 Thiago Macieira 2005-04-09 05:18:10 UTC
Uh... It's there... it's just that there's an "2 -march=pentium" between the O and the 4.

Sorry, my bad. No more bug hunting before morning coffee.