Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 101813

Summary: prelink 0.3.0-1 gives assertion failure
Product: [Retired] Red Hat Linux Beta Reporter: Michael Young <m.a.young>
Component: prelinkAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: beta1CC: chris.ricker
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 0.3.0-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-08-11 12:52:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 100644    
Attachments:
Description Flags
File prelink fails on. none

Description Michael Young 2003-08-07 09:37:13 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703

Description of problem:
I am testing prelink-0.3.0-1 (starting with a prelink -ua ; prelink -a to start
from a clean situation). However now when I run prelink -qa I get some probably
unimportant errors, then an assertion failure. See below for the errors. I can
attempt simple debugging if required.

prelink: /usr/lib/mozilla-1.4/mozilla-bin: Could not parse
`/usr/lib/mozilla-1.4/mozilla-bin: error while loading shared libraries:
libmozjs.so: cannot open shared object file: No such file or directory'
prelink: /usr/lib/mozilla-1.4/regchrome: Could not parse
`/usr/lib/mozilla-1.4/regchrome: error while loading shared libraries:
libxpcom.so: cannot open shared object file: No such file or directory'
prelink: /usr/lib/openoffice/program/pkgchk.bin: Could not parse
`/usr/lib/openoffice/program/pkgchk.bin: error while loading shared libraries:
libsal.so.3: cannot open shared object file: No such file or directory'
prelink: exec.c:890: prelink_exec: Assertion `dso->shdr[new_dynbss + 1].sh_type
!= 8 || data->d_buf == ((void *)0)' failed.
Aborted

Comment 1 Jakub Jelinek 2003-08-07 14:38:49 UTC
Can you please add -vvv to the prelink options and retry?
If the assertion failure happens again, I'm interested in what program
or library was it currently prelinking (and a copy of that binary resp. library
as attachement).

Comment 2 Michael Young 2003-08-07 15:00:19 UTC
Created attachment 93484 [details]
File prelink fails on.

The problem is in linking /usr/sbin/cpqarrayd which I have confirmed by running
									       

prelink -vvvq /usr/sbin/cpqarrayd
I am attaching this file.

Comment 3 Jakub Jelinek 2003-08-07 15:57:40 UTC
Can you please pack all the libraries it uses as well?
tar cjhf /tmp/libs.tar.bz2 `ldd /usr/sbin/cpqarrayd  | awk ' { print $3 } '`
should do the job.
I have hard time reproducing it so far.

Comment 4 Jakub Jelinek 2003-08-08 08:24:23 UTC
Please try ftp://people.redhat.com/jakub/prelink/0.3.0-2/

Comment 5 Michael Young 2003-08-08 09:43:54 UTC
0.3.0-2 no longer gives the assertion failure. rpm -vVa reports 3 "prelinked
file was modified" errors, but I have a previous open bug (bug 89953) about this
problem with an earlier prelink which I will update accordingly.