Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95974 - ghostscript compile hangs system (reboot neccesary)
Summary: ghostscript compile hangs system (reboot neccesary)
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-13 06:56 UTC by Laurens Van Houtven
Modified: 2005-12-08 06:24 UTC (History)
1 user (show)

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 Laurens Van Houtven 2005-06-13 06:56:09 UTC
When trying to emerge ghostscript, the entire system hangs. Only solution is to
reboot.

The following is the last to be seen before said system hang:
/staolop.dev ./obj/t4693d2.dev ./obj/t4693d4.dev ./obj/t4693d8.dev ./obj/tek4696   
.det ./mbj/uniprint.dev ./obj/xes.dev
./o`j/eahogs -a ./obj/devs.tr -+
./o`j/eahogs -a ./obj/devs.tr -+ ./obj/ijs.dev
./o`j/eahogs -a ./obj/devs.tr -+ ./obj/omni.dev
./o`j/eahogs -a ./obj/devs.tr -+
./o`j/eahogs -a ./obj/devs.tr -+
./o`j/eahogs -a ./obj/devs.tr -+
./o`j/eahogs -a ./obj/devs.tr -+
./o`j/eahogs -a ./obj/devs.tr -+
./o`j/eahogs -a ./obj/devs.tr -+
./o`j/eahogs -a ./obj/devs.tr -+
./o`j/eahogs -a ./obj/devs.tr -+
./o`j/eahogs -a ./obj/devs.tr -+
./o`j/eahogs -a ./obj/devs.tr -+
./o`j/eahogs -a ./obj/devs.tr -+
./o`j/eahogs -a ./obj/devs.tr -+
./o`j/eahogs -a ./obj/devs.tr -+
./o`j/eahogs -a ./obj/devs.tr -+
./o`j/eahogs -a ./obj/devs.tr -+
./o`j/eahogs -a ./obj/devs.tr -+
./o`j/eahogs -a ./obj/devs.tr - ./obj/libcore
gcc -I.-src -o ./obj/genarch ./src/genarch.c
./o`j/genarch ./obj/arch.h 



Plenty of other people have this bug... Most clear description is given here:
http://forums.gentoo.org/viewtopic-t-310791-highlight-ghostscript+amd64.html

Other descriptions (less clear) of the same bug:
http://forums.gentoo.org/viewtopic-t-152448-highlight-ghostscript+amd64.html
http://forums.gentoo.org/viewtopic-t-204408-highlight-ghostscript+amd64.html

Reproducible: Always
Steps to Reproduce:
1. emerge ghostscript
Actual Results:  
System hung. No response anymore whatsoever. Only solution was a power cycle/reboot.

Expected Results:  
emerge ghostscript finishing.

This seems to break on a plethora of different make.conf settings (see forum topic).
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-06-13 07:44:44 UTC
with which version does this happen?  `emerge --info`, please
Comment 2 Laurens Van Houtven 2005-06-13 07:55:39 UTC
(In reply to comment #1)
> with which version does this happen?  `emerge --info`, please

I will be able to post more information soon, once I have a decent browser on
said box (unfotunately the laptop I'm typing this on at the moment isn't mine,
so I can't install software such as PuTTY on it)
Comment 3 Laurens Van Houtven 2005-06-13 09:07:33 UTC
The faulty package is "app-text/ghostscript-7.07.1-r9".

emerge --info:
Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.11-gentoo-r10 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r10 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5, 2.4.1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -march=athlon64 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-Os -march=athlon64 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo 
http://ftp.belnet.be/mirors/rsync.gentoo.org/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa berkdb bitmap-fonts crypt cups font-server fortran gif
gpm gtk2 ipv6 java jp2 jpeg lzw lzw-tiff mp3 ncurses offensive opengl oss pam
perl pic png python readline ssl tcpd tiff truetype truetype-fonts type1-fonts
usb userlocales xml2 xpm xrandr xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 4 Benjamin Hodgetts 2005-06-14 15:22:50 UTC
I have the same problem, but I get an immediate hard reboot rather than hang.
This is going to sound a little odd, but this problem still existed 7 months ago
(I remember having this exact same issue and the last time I logged in with this
system was December last year) at which point it would do exactly the same
thing. That was with the software up to date as it was 7 months ago. Now the
machine is totaly up to date now, but the problem still exists.

emerge --info below
---------------------------------------------------------
Portage 2.0.51.22-r1 (default-linux/amd64/2004.3, gcc-3.4.4, glibc-2.3.5-r0,
2.6.11.11 x86_64)
=================================================================
System uname: 2.6.11.11 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5, 2.4.1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sfperms strict"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 / X acpi alsa ati avi berkdb bitmap-fonts bmp cdr crypt cups dvd dvdr
esd exif fam flac font-server fortran gif gpm gtk imlib ipv6 jp2 jpeg lzw
lzw-tiff mad mikmod mp3 mpc mpeg multilib ncurses nls ogg oggvorbis opengl oss
pam pdf perl png psd psp python qt radeon readline samba ssl tcpd tiff truetype
truetype-fonts type1-fonts usb userlocales vorbis wmf x86-64 xml2 xmms xpm
xrandr xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS(In reply to
comment #0)
> When trying to emerge ghostscript, the entire system hangs. Only solution is to
> reboot.
> 
> The following is the last to be seen before said system hang:
> /staolop.dev ./obj/t4693d2.dev ./obj/t4693d4.dev ./obj/t4693d8.dev
./obj/tek4696   
> .det ./mbj/uniprint.dev ./obj/xes.dev
> ./o`j/eahogs -a ./obj/devs.tr -+
> ./o`j/eahogs -a ./obj/devs.tr -+ ./obj/ijs.dev
> ./o`j/eahogs -a ./obj/devs.tr -+ ./obj/omni.dev
> ./o`j/eahogs -a ./obj/devs.tr -+
> ./o`j/eahogs -a ./obj/devs.tr -+
> ./o`j/eahogs -a ./obj/devs.tr -+
> ./o`j/eahogs -a ./obj/devs.tr -+
> ./o`j/eahogs -a ./obj/devs.tr -+
> ./o`j/eahogs -a ./obj/devs.tr -+
> ./o`j/eahogs -a ./obj/devs.tr -+
> ./o`j/eahogs -a ./obj/devs.tr -+
> ./o`j/eahogs -a ./obj/devs.tr -+
> ./o`j/eahogs -a ./obj/devs.tr -+
> ./o`j/eahogs -a ./obj/devs.tr -+
> ./o`j/eahogs -a ./obj/devs.tr -+
> ./o`j/eahogs -a ./obj/devs.tr -+
> ./o`j/eahogs -a ./obj/devs.tr -+
> ./o`j/eahogs -a ./obj/devs.tr -+
> ./o`j/eahogs -a ./obj/devs.tr -+
> ./o`j/eahogs -a ./obj/devs.tr - ./obj/libcore
> gcc -I.-src -o ./obj/genarch ./src/genarch.c
> ./o`j/genarch ./obj/arch.h 
> 
> 
> 
> Plenty of other people have this bug... Most clear description is given here:
> http://forums.gentoo.org/viewtopic-t-310791-highlight-ghostscript+amd64.html
> 
> Other descriptions (less clear) of the same bug:
> http://forums.gentoo.org/viewtopic-t-152448-highlight-ghostscript+amd64.html
> http://forums.gentoo.org/viewtopic-t-204408-highlight-ghostscript+amd64.html
> 
> Reproducible: Always
> Steps to Reproduce:
> 1. emerge ghostscript
> Actual Results:  
> System hung. No response anymore whatsoever. Only solution was a power
cycle/reboot.
> 
> Expected Results:  
> emerge ghostscript finishing.
> 
> This seems to break on a plethora of different make.conf settings (see forum
topic).
Comment 5 Laurens Van Houtven 2005-06-14 22:27:56 UTC
So, this is obviously a real bug (too many people are having it) that happens on
a lot (all?) amd64 boxes. Any information I need to supply before you devs can
figure out what's happening?
Comment 6 Marcus D. Hanwell (RETIRED) gentoo-dev 2005-06-16 07:59:45 UTC
Testing here, but unable to reproduce on app-text/ghostscript-7.07.1-r8 or 
app-text/ghostscript-7.07.1-r9. Adding amd64 to CC, using an nforce3-250 
chipset board here and compiled it a few times. 
 
Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0, 
2.6.11-gentoo-r11 x86_64) 
================================================================= 
System uname: 2.6.11-gentoo-r11 x86_64 AMD Athlon(tm) 64 Processor 3200+ 
Gentoo Base System version 1.6.12 
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    1.2.9 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 
sys-devel/binutils:  2.15.92.0.2-r2, 2.16.1 
sys-devel/libtool:   1.5.18 
virtual/os-headers:  2.6.8.1-r4 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
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.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-march=k8 -O2 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig buildpkg ccache collision-protect cvs digest 
distlocks mutlilib-strict sandbox sfperms sign strict" 
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
LINGUAS="en_GB" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/mnt/gentoo/var/tmp/portage" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 X aalib acpi aim alsa apache2 arts audiofile avi bash-completion 
berkdb bitmap-fonts blas bootsplash bzlib cdparanoia cdr crypt cscope cups curl 
dbus directfb doc dvd dvdr dvdread encode esd ethereal evo fam fbcon fftw flac 
flash font-server foomaticdb fortran gb gd gdbm ggi gif gimpprint ginac gmp 
gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal icq imagemagick imap 
imlib innodb ipv6 jabber java jikes joystick jp2 jpeg jpeg2k junit kde 
kdeenablefinal kerberos lcms ldap libg++ libwww lm_sensors lzw lzw-tiff mad 
mcal motif mp3 mpeg mpi msn mysql ncurses netcdf nls nptl nvidia octave odbc 
offensive ogg oggvorbis openexr opengl oscar oss pam pcre pdflib perl plotutils 
png postgres povray ppds python qt quicktime readline rtc ruby samba sasl 
scanner sdl snmp spell sqlite ssl svg tcltk tcpd tetex theora tiff truetype 
truetype-fonts type1-fonts unicode usb vhosts videos vorbis wmf wxwindows xine 
xinerama xml2 xmms xpm xrandr xscreensaver xv xvid yahoo zeroconf zlib 
linguas_en_GB userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS 
Comment 7 Laurens Van Houtven 2005-06-17 07:37:03 UTC
I know this must sound far from credible... But all of a sudden it's working for
me :D

Is this, like, the inverse of a schroedinbug?
Comment 8 Danny van Dyk (RETIRED) gentoo-dev 2005-06-19 11:19:18 UTC
WORKSFORREPORTER :-)
Comment 9 Uri Sivan 2005-06-23 11:08:38 UTC
Apparently this is called an Heisenbug:
http://catb.org/~esr/jargon/html/H/heisenbug.html
Comment 10 Benjamin Hodgetts 2005-12-08 06:24:48 UTC
Still doesn't work for me, machine hard resets when it reaches arch.h. Ignore
the LDflags and such (CXXFlags), tried without them and tried without the CFlags
and with different levels of O etc, nothing makes any difference.
Machine is an nForce3 for the record.
This is also a brand new installation from a 2005.0 liveCD with a 2005.1 Stage 1
package and I haven't had a single error or compile failure with any other package.

Severity is BLOCKER.

-------------------------------------------

Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-ck6 x86_64)=================================================================
System uname: 2.6.14-ck6 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre11
dev-lang/python:     2.3.5-r2, 2.4.2
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -mtune=athlon64 -msse -msse2 -pipe -Os
-fomit-frame-pointer -fno-ident -fforce-addr -ftracer -fweb -falign-functions=4"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -mtune=athlon64 -msse -msse2 -pipe -Os
-fomit-frame-pointer -fno-ident -fforce-addr -ftracer -fweb -falign-functions=4
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://mirror.pudas.net/gentoo http://194.117.143.71 http://194.117.143.72
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ htt
p://194.117.143.70 http://pandemonium.tiscali.de/pub/gentoo/
http://gentoo.inode.at/ http://ftp.heanet.ie/pub/gentoo/
http://212.219.56.162/sites/www.ibiblio.org/gentoo/ http://194.117.143.69
http://gentoo.mirror.icd.hu/ http://ftp.snt.utwente.nl/pub/os/linux/
gentoo http://212.219.56.131/sites/www.ibiblio.org/gentoo/
http://gentoo.zie.pg.gda.pl http://212.219.56.152/sites/www.ibiblio.org/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://linuv.uv.es/mirror/gentoo/
http://gd.tuwien.ac.at/opsys/linux/gentoo
/ http://ftp.citkit.ru/pub/Linux/gentoo http://mirror.datapipe.net/gentoo
http://mirror.datapipe.net/gentoo http://gentoo.mirrors.tds.net/gentoo
http://gentoo.inf.elte.hu/ http://gentoo.ITDNet.net/gentoo
http://ftp.du.se/pub/os/gentoo http://gentoo.seren.com/g
entoo http://ftp.rhnet.is/pub/gentoo/ http://130.59.10.34/ftp/mirror/gentoo/
http://mirror.aiya.ru/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/
http://trumpetti.atm.tut.fi/gentoo/
http://gentoo.mirrors.easynews.com/linux/gentoo/ http://mir.zyrianes.net/gent
oo/ http://gentoo.netnitco.net
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://adelie.polymtl.ca/
http://open-systems.ufl.edu/mirrors/gentoo http://src.gentoo.pl
http://gentoo.ccccom.com http://mirror.phy.olemiss.edu/mirror/gentoo
http://212.219.56
.146/sites/www.ibiblio.org/gentoo/ http://ftp.ankara.edu.tr/gentoo/
http://ftp.isu.edu.tw/pub/Linux/Gentoo http://mirror.gentoo.gr.jp
http://ftp.gentoo.or.kr/ http://ftp.ntua.gr/pub/linux/gentoo/
http://mymirror.asiaosc.org/gentoo/ http://ftp.linux.ee/pub/gent
oo/distfiles/"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="/ 7zip X a52 aac acl acpi alsa amd64 apm ati atm avi berkdb bitmap-fonts
bluetooth browserplugin bz2 bzip2 cddb cdparanoia cdr cjk clamav crypt cups
custom-cflags dio directfb divx4linux dpms drm dts dv dvb dvd dvdr dvdread
eap-tls emboss emerge encode exif expat ext2 ext3 fat ffmpeg flac foomaticdb
fortran gcc gif glibc-omitfp gpm gps gstreamer gtk gtk+ gtk2 gz gzip hfs
ieee1394 imagemagick imlib intel ipv6 irda jack java jbig jfs jikes jpeg jpeg2k
lha libcaca libclamav libedit lzw lzw-tiff lzx matroska mjpeg mng mp3 mpeg mpi
mplayer multicall musepack mythtv nas ncurses nis nls nptl nptlonly nsplugin
ntfs ogg oggvorbis opengl pam pcre pdflib pentium perl pic png python qt
quicktime radeon rar readline reiser4 reiserfs rtc scanner sdl slp smartcard sox
speex spell ssl szip szip7 tar tcpd tga theora tiff truetype truetype-fonts
type1-fonts udev unicode usb userlocales v4l v4l2 vcd vorbis wifi wmf x86_64
xanim xfce xfs xine xinerama xml xml2 xpm xprint xv xvid zip zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS