Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21177 - Metaballs xscreensaver segfaults when used with "-root" argument
Summary: Metaballs xscreensaver segfaults when used with "-root" argument
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-17 23:33 UTC by Alexander Winston
Modified: 2003-06-19 15:20 UTC (History)
1 user (show)

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


Attachments
Stack trace of "metaballs -root". (metaballs,59.64 KB, text/plain)
2003-05-17 23:34 UTC, Alexander Winston
Details
Duplicate of above. (metaballs,59.64 KB, text/plain)
2003-05-17 23:35 UTC, Alexander Winston
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Winston 2003-05-17 23:33:52 UTC
The metaballs xscreensaver works fine when used without "-root", such as when it
is previewed inside a window, but segfaults when previewed outside of a window
or put into normal usage (aka used with -root command-line switch).

Reproducible: Always
Steps to Reproduce:
1.  Emerge x11-misc/xscreensaver.
2.  Run "/usr/lib/xscreensaver/metaballs -root".
Actual Results:  
It segfaulted.

Expected Results:  
Run in the root window as normal.

  Portage 2.0.48_pre6 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gaming-r3 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="oss 3dnow apm encode libg++ mikmod mmx ncurses nls pdflib quicktime gtkhtml
gdbm berkdb slang arts tetex aalib bonobo svga tcltk java guile sdl pam esd
imlib motif opengl cdr X alsa apache2 -avi crypt curl cups doc emacs gif -gnome
gphoto2 gpm gtk gtk2 ipv6 jpeg -kde libwww mozilla mpeg mysql perl oggvorbis png
postres python qt readline samba spell ssl tcpd threading tiff truetype usb xml
xml2 xmms xv zlib x86"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=pentium4 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-mcpu=pentium4 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage/"
FEATURES="sandbox ccache"
Comment 1 Alexander Winston 2003-05-17 23:34:38 UTC
Created attachment 12107 [details]
Stack trace of "metaballs -root".
Comment 2 Alexander Winston 2003-05-17 23:35:11 UTC
Created attachment 12108 [details]
Duplicate of above.
Comment 3 Alexander Winston 2003-05-17 23:41:52 UTC
Comment on attachment 12108 [details]
Duplicate of above.

I apologize for posting this twice.  Bugzilla reported that an error occurred
and the attachment wasn't POSTed.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2003-05-29 21:14:58 UTC
There's a comment in /etc/make.conf that says that pentium4 will produce invalid 
SSE2 instructions.

Can you try to reproduce the problem with -mcpu=pentium3 and report back
here please?  If that still fails, please try with -O2 instead of -O3.

Thanks.
Comment 5 Alexander Winston 2003-05-30 08:22:08 UTC
Yes, I tried "pentium3" as well as "-O2" to no avail.  I also tried commenting out my CFLAGS, but it still segfaults.
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-10 07:40:46 UTC
which version of xscreensaver?
Comment 7 Alastair Tse (RETIRED) gentoo-dev 2003-06-17 06:33:19 UTC
this should be fixed in xscreensaver 4.10, can you have a go and try that?
Comment 8 Alastair Tse (RETIRED) gentoo-dev 2003-06-19 15:20:00 UTC
4.10 is in stable now .. i'm pretty sure this is fixed now. if not, please reopen.