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.
Created attachment 10537 [details] Backtrace 1 Konqueror run from Kontact.
Created attachment 10538 [details] Backtrace 2 Konqueror run from Kontact (again).
Created attachment 10539 [details] Backtrace 3 Konqueror run directly from the bottom bar (Kicker).
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
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.
So what do I do? I will change the CFLAGS setting. And then: Recompile gcc or recompile KDE? Or both?
Recompile KDE and Qt. Preferably even with -g
I've recompiled Qt and KDE, but now the problem is gone... Cannot reproduce it anymore.
> 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.
Indeed I love it when I see that :) But where do you get the -O4 from? My CFLAGS says -O2...
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.