Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13443 - prelink segfaults on specific directories
Summary: prelink segfaults on specific directories
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Stefan Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-07 14:58 UTC by Paper
Modified: 2003-04-14 05:27 UTC (History)
1 user (show)

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


Attachments
/usr/kde/3.1/lib (prelink-usr-bin.log,40.02 KB, text/x-log)
2003-01-07 15:00 UTC, Paper
Details
log with "-h /usr/kde/3.1/bin" (prelink-usr-kde-31-bin.log,16.02 KB, text/x-log)
2003-01-07 15:06 UTC, Paper
Details
successful prelink -afmRvn (prelink.log,69.05 KB, text/x-log)
2003-01-07 15:07 UTC, Paper
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paper 2003-01-07 14:58:32 UTC
If I include /usr/bin or /usr/kde/3.1/bin in /etc/prelink.conf, prelink successfully assigns 
memory addresses, but it segfaults while actually prelinking target files. Same 
behaviour using the -n flag. 
I followed the official howto, recompiled ebuils like ORBit, tcp-wrappers, gimp-1.3, lesstif 
and openmotif, which caused some warning (before the assignement of addresses) but 
nothing changed (well, of course every warning disappeared). 
 
I'm running 1.4rc1 with the ~x86 keyword enabled and just completely updated. 
I've got just a few ebuilds unmasked: kde3.1pre5, evolution-1.2.1, gtkhtml, gimp-1.3, 
gnumeric, and foser's unofficial gnome-2.1.5 packages. 
Also, I did an emerge -e world less than a month ago, just after upgrading to glibc-2.3.1 
 
Attached is the complete prelink output. 
 
prelink-usr-bin.log -> just "-l /usr/bin" in /etc/prelink.conf 
prelink-usr-kde-31-bin -> just "-h /usr/kde/3.1/bin" in /etc/prelink.conf 
prelink.log -> every other non problematic directiry in /etc/prelink.conf
Comment 1 Paper 2003-01-07 15:00:46 UTC
Created attachment 7063 [details]
/usr/kde/3.1/lib
Comment 2 Paper 2003-01-07 15:06:41 UTC
Created attachment 7064 [details]
log with "-h /usr/kde/3.1/bin"
Comment 3 Paper 2003-01-07 15:07:34 UTC
Created attachment 7065 [details]
successful prelink -afmRvn
Comment 4 Paper 2003-01-07 15:08:52 UTC
Ops ... the attachment with id=7063 is the log with "-l /usr/bin" ... sorry :( 
Comment 5 Stefan Jones (RETIRED) gentoo-dev 2003-01-10 08:01:10 UTC
If you can could you run strace and gdb on the prelink application to backtrace
the error,
ie. "strace prelink -afmRv"
and 
gdb prelink
gdb>set args -afmRv
gdb>run
<segfault>
gdb>bt
<backtrace, report this>
gdb>quit


I have no idea

Stefan
Comment 6 Raul Lluna 2003-01-10 16:31:55 UTC
Well, -n is the same as no prelinking... so that's no the solution...

See man pages:

 -n --dry-run
     Don't  actually  prelink  anything,  just  collect   the   bina-
     ries/libraries,  assign  them  addresses  and with -v print what
     would be prelinked.
Comment 7 Stefan Jones (RETIRED) gentoo-dev 2003-04-14 05:27:02 UTC
Try the new version, closing the bug as nothing has been reported for a while.