<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>84034</bug_id>
          
          <creation_ts>2005-03-03 20:26 0000</creation_ts>
          <short_desc>Spice exits with an internal error</short_desc>
          <delta_ts>2006-05-21 15:22:43 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>scotthathcock@comcast.net</reporter>
          <assigned_to>calchan@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>scotthathcock@comcast.net</who>
            <bug_when>2005-03-03 20:26:45 0000</bug_when>
            <thetext>The output is shown below. The spice deck does not matter. Spice appears to
read the first line of the input deck and then catch a seg fault.
scottha@phaedrus spbitcell $ spice test.sp
Program: Spice, version: 3f5
Date built: Thu Mar  3 21:13:27 MST 2005

Type &quot;help&quot; for more information, &quot;quit&quot; to leave.


Circuit: * This is a name


internal error -- segmentation violation


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1,dev-lang/python-2.2.3-r5 [2.3.4
(#1, Feb 12 2005, 15:17:51)]
dev-lang/python:     2.3.4-r1, 2.2.3-r5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS=&quot;amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=k8 -O2 -pipe&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/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/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-march=k8 -O2 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache distlocks sandbox&quot;
GENTOO_MIRRORS=&quot;http://mirror.datapipe.net/gentoo ftp://gentoo.ccccom.com
http://gentoo.ccccom.com&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;amd64 X acpi alsa arts berkdb bitmap-fonts bonobo cdr crypt cups curl esd
f77 fam font-server foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk
gtkhtml guile imagemagick imlib ipv6 java jp2 jpeg lzw lzw-tiff mad motif
mozilla multilib ncurses nls oggvorbis opengl oss pam perl png ppds python qt
readline scanner slang ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts
usb userlocales xml xml2 xpm xrandr xv zlib&quot;
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nickj@nerdshack.com</who>
            <bug_when>2005-04-09 21:32:36 0000</bug_when>
            <thetext>I had a similar problem on a p4 using C(XX)FLAGS of &quot;-O3 -march=pentium4 -fomit-frame-pointer -pipe&quot; but when I went to &quot;-O2 -march=pentium4 -pipe&quot; it no longer seg faults.

(I realize that these are different architectures but SPICE may be more picky about compile time flags than assumed.)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pvf@btlink.net</who>
            <bug_when>2005-12-26 16:38:26 0000</bug_when>
            <thetext>I got the same with my pentium4 and the following flags:
CFLAGS=&quot;-O3 -march=pentium4 -fomit-frame-pointer -pipe&quot;

Lowering them to &quot;-O2&quot; gives the same error.

removing &quot;-Ox&quot; at all corrects it.

Maybe a filter could be added to the ebuild in order to remove the &quot;-Ox&quot; flag
Sure it is not AMD64 specific, but, at least, x86.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>calchan@gentoo.org</who>
            <bug_when>2006-05-21 15:22:43 0000</bug_when>
            <thetext>Fixed in CVS, thanks for reporting.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>