Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129690 - Konqueror-3.5.2 crashes generating tooltips of image files
Summary: Konqueror-3.5.2 crashes generating tooltips of image files
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-12 06:32 UTC by Robin Bankhead
Modified: 2006-04-12 14:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Bankhead 2006-04-12 06:32:35 UTC
Hi, this is happening when I mouseover any image (jpeg/gif/tiff/png) file icon on my system.  When attempting to generate the tooltip with thumbnail and details, Konqueror segfaults.

Running konq in gdb alters the behaviour in that the mouseover causes the window to hang, instead of dying.  Backtracing in this situation doesn't help much (see below).  Here's the debug [truncated]:

robin@pengi ~ $ gdb konqueror
GNU gdb 6.4
<--SNIP-->
(gdb) run
Starting program: /usr/kde/3.5/bin/konqueror
<--SNIP-->
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1501374800 (LWP 18377)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1501374800 (LWP 18377)]
0xa61d5760 in KGenericFactoryBase<KPngPlugin>::createInstance ()
   from /usr/kde/3.5/lib/kde3/kfile_png.so
(gdb) bt
#0  0xa61d5760 in KGenericFactoryBase<KPngPlugin>::createInstance ()
   from /usr/kde/3.5/lib/kde3/kfile_png.so
#1  0xa749dcb8 in ?? ()
#2  0xafb99da0 in ?? ()
#3  0xafb9a050 in ?? ()
#4  0x00009f80 in ?? ()
#5  0x00001f80 in ?? ()
#6  0x00000000 in ?? ()
(gdb) quit
The program is running.  Exit anyway? (y or n) y
[konq window dies at this point if not already manually killed]

My --info:
Portage 2.1_pre7-r5 (default-linux/x86/2005.0, gcc-4.1.0, glibc-2.4-r1, 2.6.16-gentoo-r1 i686)
=================================================================
System uname: 2.6.16-gentoo-r1 i686 Intel(R) Celeron(R) CPU 2.60GHz
Gentoo Base System version 1.12.0_pre17
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -w"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/make.conf /usr/NX/etc /usr/NX/home /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -w"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk/"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://brazil/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 apm arts asf avi berkdb bitmap-fonts bluetooth bzip2 cairo cdparanoia cdr crypt cups dbus dio dri dvd dvdread eds emboss encode ffmpeg flac flash foomaticdb fortran gdbm gif gpm gstreamer gtk2 hal i8x0 ieee1394 imagemagick imlib innodb isdnlog java javascript jpeg kde libg++ libwww mad matroska mikmod mmx motif mp3 mpeg msn mysql mysqli ncurses nls nptl nptlonly nsplugin odbc ogg oggvorbis opengl oss pam pcmcia pcre pdflib perl php png ppds pppd python qt quicktime readline samba sdl session sharedmem soap sockets spell sse sse2 ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb utf8 vcd vhosts vorbis wifi win32codecs xcomposite xine xml2 xmlrpc xmms xsl xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_en userland_GNU video_cards_i810 video_cards_fbdev video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS
Comment 1 Robin Bankhead 2006-04-12 13:41:45 UTC
Managed to resolve this by rebuilding gcc, Qt and all kde-base packages with more relaxed CFLAGS; namely the ones listed above. Prior to this, the ones I had installed were built with 

CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse ffast-math -fomit-frame-pointer -pipe -w"
CXXFLAGS="${CFLAGS}"

It seems gcc-4.1.x needs us to be a lot more conservative with C??FLAGS for good results with KDE and other apps (this has cured bugs with mozilla-launcher and openoffice-bin for me also).
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2006-04-12 14:06:16 UTC
It's not the gcc version. -ffast-math breaks a lot of code and is therefore not supported. Don't use it, unless you know the code you apply it on.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2006-04-12 14:06:48 UTC
Local issue, therefore not a bug.