When I right-click inside the starfield in Kstars, the application immediately freezes. Only way to kill it is to do so manually. While it's frozen, it consumes 90+% of CPU-cycles. Sometimes the contex-menu does appear few times, but after few times (at most, 90% of the time it freezes immediately) the app freezes. This error appeared both in KDE 3.3.1 and 3.3.2. I'm not sure about 3.3.0. KDE is compiled with these CFLAGS:CFLAGS="-O2 -march=athlon64 -frename-registers -ffast-math -pipe", although I'm not sure that does KDE override the default CFLAGS. GCC is version 3.4.3. This is a 64bit AMD64-system. Reproducible: Always Steps to Reproduce: 1. Right-click inside the starfield in Kstars 2. 3. Actual Results: The application freezes Expected Results: A context-menu should appear gothmog janne # emerge info Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-rc3 x86_64) ================================================================= System uname: 2.6.10-rc3 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.7 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 2 2004, 20:18:41)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon64 -frename-registers -ffast-math -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon64 -frename-registers -ffast-math -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa amd64 arts avi berkdb bitmap-fonts cdr crypt dvd dvdr encode esd f77 fam fbcon flac fortran gdbm gif gphoto gpm gstreamer imagemagick imlib ipv6 java jp2 jpeg junit kde libwww lzw lzw-tiff mad mikmod motif mozilla mpeg multilib ncurses nls nptl oggvorbis opengl oss pam perl png python qt quicktime readline sdl slang spell ssl tcpd tetex theora tiff truetype usb userlocales xine xml2 xmms xpm xrandr xv xvid zlib"
-ffast-math Sets -fno-math-errno, -funsafe-math-optimizations, -fno-trapping-math, -ffinite-math-only, -fno-rounding-math and -fno-signaling-nans. This option causes the preprocessor macro __FAST_MATH__ to be defined. This option should never be turned on by any -O option since it can result in incorrect output for programs which depend on an exact implementation of IEEE or ISO rules/specifications for math functions.
I'm aware that -ffast-math can be somewhat risky, but I haven't had any problems with any other apps. And Kstars DID work back in KDE3.2-days, and my CFLAGS were identical back then.
While you can do a lot, -ffast-math is enough to close the bug report as WONTFIX. Please recompile KDE without this flag and tell us, if you still have the same problem.
Well crap. Recompiling KDE and other relevant packages would take quite alot of time. I need to look in to that.
You can try just recompiling kdeedu (I think that's where kstars comes from) and see if that doesn't fix that problem.
I just ran it and i dont have a problem. i also have --ffast-math in my use and there is no problem. and --ffast-math as i understand it isn't *that* risky unless you'd be running programs compiled with and without ffast-math
#6: are you running a 64bit system?
... until package is recompiled as requested.
As it happens, I recompiled kdeedu without fast-math just yesterday, and Kstars seems to be working now.