Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16463 - emerge prelink segfaults in testsuites
Summary: emerge prelink segfaults in testsuites
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-27 06:03 UTC by Gábor Farkas
Modified: 2003-11-19 06:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
strace output (prelink.strace,16.88 KB, text/plain)
2003-02-27 06:05 UTC, Gábor Farkas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gábor Farkas 2003-02-27 06:03:04 UTC
when emerging prelink on a ~x86 up-to-date computer, it segfault when doing the test in the 
testsuite subdir. 
i went into the compile folder , and looked into 1 of the tests ( all tests fail with segfault ): 
"../src/prelink -c ./prelink.conf -C ./prelink.cache --ld-library-path=. --dynamic-linker=./ld-linux.so.2 
-vm ./reloc1" 
this segfaults. 
 
i manually unpacked the prelink package and did a configure --enable-debug=3(i don't know how to 
do that with emerge), make, make check, 
which fails of course with segfault 
 
gdb outputs: 
---------------------- 
(gdb) run 
Starting program: /home/gabor/src/prelink/src/prelink -c ./prelink.conf -C ./prelink.cache 
--ld-library-path=. --dynamic-linker=./ld-linux.so.2 -vm ./reloc1 
Laying out 5 libraries in virtual address space 41000000-50000000 
Assigned virtual address space slots for libraries: 
./ld-linux.so.2                                              41000000-4101376c 
./libc.so.6                                                  41016000-4113dfe4 
/lib/libpam.so                                               41140000-41147294 
./libdl.so.2                                                 4114a000-4114cc84 
./reloc1lib1.so                                              4114f000-411508c8 
./reloc1lib2.so                                              41153000-411547b8 
 
Program received signal SIGSEGV, Segmentation fault. 
prelink_ent (ent=0x80fd9b0) at doit.c:56 
56        size_t movelen = 0; 
--------------------------------- 
i'll attach the strace output 
 

Reproducible: Always
Steps to Reproduce:
1.emerge prelink 
 
Actual Results:  
make[2]: Entering directory 
`/gentoo-tmp/portage/portage/prelink-20021213/work/prelink/testsuite' 
./reloc1.sh: line 12:  7580 Segmentation fault      $PRELINK -vm ./reloc1 >>reloc1.log 2>&1 
FAIL: reloc1.sh 
 


root@wintermute testsuite # emerge info 
Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2_pre1-r0) 
================================================================= 
System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(tm) Processor 
GENTOO_MIRRORS="ftp.gentoo.no http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/ /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/gentoo-tmp/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg kde libg++ mikmod mmx mpeg ncurses 
nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline 
arts tetex bonobo guile sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis qt motif 
opengl mozilla -svga X gtk gtk2 gnome -alsa -java moznoirc moznomail moznocompose tcltk 
samba" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=athlon-tbird -O3 -pipe" 
CXXFLAGS="-march=athlon-tbird -O3 -pipe" 
ACCEPT_KEYWORDS="x86 ~x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache"
Comment 1 Gábor Farkas 2003-02-27 06:05:20 UTC
Created attachment 8770 [details]
strace output
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-12 10:22:36 UTC
still valid with latest prelink version=
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2003-11-19 06:23:16 UTC
= should be ? ;)

if this is still valid reopen