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

Bug 79715

Summary: cricket's compile always produces a segmentation fault after emerge --sync
Product: Gentoo Linux Reporter: Harry <hmil>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: critical CC: gstag, znmeb
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Harry 2005-01-27 06:30:39 UTC
cricket ( http://cricket.sourceforge.net/ ) v1.0.5 was installed and running without any problem whatsoever.

a emerge --sync (which updated, among others, gcc and perl) resulted in ~cricket/cricket/compile always being terminated with a segmentation fault (without a core dump) 

~cricket/cricket/compile -logLevel debug indicated that the problem is occuring while within a loop at  ~cricket/cricket/lib/ConfigTree/Node.pm
....
....lines truncated...
....
[27-Jan-2005 15:22:59 ] [?] Setting name to /XXX/YYY
[27-Jan-2005 15:22:59 ] [?] Setting name to ZZZ/AAA
[27-Jan-2005 15:22:59 ] [?] Setting name to BBB/CCC
Segmentation fault
#
The cricket-config/* files were reviewed, but they were as expected and even removed the ones that were processed when the problem occurs (so as to eliminate any odd configuration) but the problem occurs every time compile runs.

cricket pre-requisitives (perl modules) where re-emerged (just in case, as the above might just indicate a call to a broken C library) but the problem remains.





Reproducible: Always
Steps to Reproduce:
1. su - cricket
2. cd cricket
3. ./compile

Actual Results:  
Possible precedence problem on bitwise | operator at
/usr/lib/perl5/vendor_perl/5.8.5/BER.pm line 611.
[27-Jan-2005 16:26:44 ] Log level changed from warn to info.
[27-Jan-2005 16:26:44 ] Starting compile: Cricket version 1.0.5 (2004-03-28)
[27-Jan-2005 16:26:44 ] Config directory is /home/cricket/cricket-config
Segmentation fault

~/cricket-config/config.db.lock remains




Expected Results:  
"compile" should have finished creating a new ~cricket/cricket-config/config.db
file:

 $ ./compile
Possible precedence problem on bitwise | operator at
/usr/lib/perl5/vendor_perl/5.8.4/BER.pm line 611.
[27-Jan-2005 16:27:51 ] Log level changed from warn to info.
[27-Jan-2005 16:27:51 ] Starting compile: Cricket version 1.0.5 (2004-03-28)
[27-Jan-2005 16:27:51 ] Config directory is
/home/cricket/cricket/cricket-config[27-Jan-2005 16:27:52 ] Processed 1040 nodes
(in 56 files) in 1 seconds.


Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.4.24 i686)
=================================================================
System uname: 2.4.24 i686 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4,dev-lang/python-2.2.3-r1 [2.3.4 (#1,
Jan 26 2005, 14:53:07)]
dev-lang/python:     2.3.4, 2.2.3-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r2, 1.4_p6, 1.5, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.4.3-r4
virtual/os-headers:  2.4.19-r1, 2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://files.gentoo.gr"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apm arts asterisk avi berkdb bitmap-fonts crypt encode esd f77
font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib innodb ipv6
java jpeg kde ldap libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls
odbc oggvorbis oss pam pdflib perl png postgres python qt quicktime readline sdl
slang speex spell sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts
xml2 xmms zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-01-27 07:31:38 UTC
not part of the official tree