Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 108853

Summary: jade segfaults while compiling docbook-sgml-utils-0.6.14 when emerging gnome 2.12
Product: Gentoo Linux Reporter: sven
Component: [OLD] LibraryAssignee: Text-Markup Team (OBSOLETE) <text-markup+disabled>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description sven 2005-10-11 05:09:29 UTC
While emerging gnome 2.12 jade segfaults when compiling
docbook-sgml-utils-0.6.14. This could be a compiler issue (I'm using gcc 4.0.2).

Thank in advance,
Sven



Reproducible: Always
Steps to Reproduce:
1.emerge gnome
2.docbook-sgml-utils-0.6.14 fails to compile


Actual Results:  
Error message:

make[2]: Entering directory
`/var/tmp/portage/docbook-sgml-utils-0.6.14/work/docbook-utils-0.6.14/doc/HTML'
SGML_CATALOG_FILES=/etc/sgml/catalog \
SGML_SEARCH_PATH=../..:../../doc:.. \
        jade -t sgml -i html -d ../../docbook-utils.dsl\#html \
                -V '%use-id-as-filename%' ../../doc/docbook-utils.sgml
make[2]: *** [api.html] Segmentation fault
make[2]: Leaving directory
`/var/tmp/portage/docbook-sgml-utils-0.6.14/work/docbook-utils-0.6.14/doc/HTML'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/docbook-sgml-utils-0.6.14/work/docbook-utils-0.6.14/doc'
make: *** [all-recursive] Error 1

!!! ERROR: app-text/docbook-sgml-utils-0.6.14 failed.


Portage 2.0.53_rc5 (default-linux/x86/2005.1, gcc-4.0.2,
glibc-2.3.5.20050421-r0, 2.6.14-rc3 i686)
=================================================================
System uname: 2.6.14-rc3 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
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
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp"
CHOST="i686-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="-O2 -march=athlon-xp -mtune=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac acpi alsa apm audiofile avi bash-completion berkdb
bitmap-fonts bzip2 cdparanoia cdr crypt cups dbus dga dio divx4linux dri dvd eds
emboss encode exif expat fam flac foomaticdb gdbm gif glut gmp gstreamer gtk
gtk2 hal imagemagick imlib ipv6 jpeg lcms lesstif libg++ libwww mad mikmod mime
mmx mng motif mp3 mpeg msn ncurses nls nptl nptlonly ogg oggvorbis opengl oss
pam pcre pdflib perl png python quicktime readline ruby sdl sharedmem sndfile
spell sse ssl svga tcpd theora threads tiff truetype truetype-fonts type1-fonts
usb vorbis win32codecs xine xml2 xmms xv xvid zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Leonardo Boshell (RETIRED) gentoo-dev 2005-10-21 05:18:22 UTC
Have you tried with a non-masked compiler?

In any case, what we need is an usable backtrace from the jade process that is
crashing. Please provide one, as this is not reproducible for us.
Comment 2 sven 2005-10-21 10:25:34 UTC
> Have you tried with a non-masked compiler?

No, I didn't. But I tried on another machine with similar configuration but 
less optimizations and there the error did not occur. :) I guess it is an 
optimization issue and will try to rebuild the machine where this bug happened 
next week with less optimizations (I think the ones from 'emerge info' are not 
accurate anymore).

Thanks,
Sven
Comment 3 sven 2005-10-27 10:27:30 UTC
Ok, I rebuilded the whole system with 
"-O2 -march=athlon-xp -mtune=athlon-xp -fomit-frame-pointer -funit-at-a-time
-funroll-loops -pipe" and it still segfaults.
I used gdb and found out that it crashes in an opensp-lib so I rebuilded opensp
again with only "-O2" and now it works...so opensp should be build without or
only with very few optimizations. I guess this "fixes" this bug.

Thanks,
Sven
Comment 4 Leonardo Boshell (RETIRED) gentoo-dev 2005-10-27 11:37:26 UTC
I tried to reproduce the problem with the flags you mention, but still no luck
:). This is most certainly a local problem.