Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 84034
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Denis Dupeyron <calchan@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Scott Hathcock <scotthathcock@comcast.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 84034 depends on: Show dependency tree
Bug 84034 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-03-03 20:26 0000
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 "help" for more information, "quit" 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="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-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/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="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://gentoo.ccccom.com
http://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="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"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

------- Comment #1 From Nick Jones 2005-04-09 21:32:36 0000 -------
I had a similar problem on a p4 using C(XX)FLAGS of "-O3 -march=pentium4
-fomit-frame-pointer -pipe" but when I went to "-O2 -march=pentium4 -pipe" it
no longer seg faults.

(I realize that these are different architectures but SPICE may be more picky
about compile time flags than assumed.)

------- Comment #2 From Pedro Velasco 2005-12-26 16:38:26 0000 -------
I got the same with my pentium4 and the following flags:
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"

Lowering them to "-O2" gives the same error.

removing "-Ox" at all corrects it.

Maybe a filter could be added to the ebuild in order to remove the "-Ox" flag
Sure it is not AMD64 specific, but, at least, x86.

------- Comment #3 From Denis Dupeyron 2006-05-21 15:22:43 0000 -------
Fixed in CVS, thanks for reporting.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug