Bug 118226

Summary: prelink abort()s
Product: [Fedora] Fedora Reporter: Nicholas Miell <nmiell>
Component: prelinkAssignee: Jakub Jelinek <jakub>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 0.3.1-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-03-17 12:49:21 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: 114963    
Attachments:
Description Flags
core dump
none
debug log none

Description Nicholas Miell 2004-03-13 22:53:22 UTC
Core was generated by `/usr/sbin/prelink -av -mR -q'.
Program terminated with signal 6, Aborted.
#0  0x000000000045aa79 in kill ()
(gdb) bt
#0  0x000000000045aa79 in kill ()
#1  0x0000000000435d2a in abort ()
#2  0x000000000040b18c in layout_libs () at layout.c:618
#3  0x000000000040b848 in main (argc=4, argv=0x7fbffff9e8) at main.c:386
(gdb) frame 2
#2  0x000000000040b18c in layout_libs () at layout.c:618
618                   abort ();
(gdb) list
613               for (j = 1; j < l.binlibs[i]->ndepends; ++j)
614                 if (deps[j]->base
615                     < ((deps[j - 1]->end + max_page_size - 1)
616                        & ~(max_page_size - 1))
617                     && (deps[j]->type == ET_DYN || deps[j -
1]->type == ET_DYN))
618                   abort ();
619             }
620     #endif
621         }
622
(gdb)

Comment 1 Nicholas Miell 2004-03-13 22:54:39 UTC
Created attachment 98518 [details]
core dump

Comment 2 Jakub Jelinek 2004-03-15 13:16:32 UTC
Coredump doesn't help much.  Can you instead try to reproduce it
and if it is reproduceable, run gdb /usr/sbin/prelink
set args -av -mR -q
b layout_libs
run
p prelink_entry_dump (prelink_filename_htab, "/tmp/prelink.debug.log")
and attach here /tmp/prelink.debug.log it creates?
Thanks.

Comment 3 Nicholas Miell 2004-03-16 00:57:12 UTC
Created attachment 98557 [details]
debug log

Comment 4 Jakub Jelinek 2004-03-17 12:49:21 UTC
Should be fixed in prelink-0.3.1-2.

Comment 5 Jay Turner 2004-09-02 05:19:46 UTC
An errata has been issued which should help the problem 
described in this bug report. This report is therefore being 
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, 
please follow the link below. You may reopen this bug report 
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2004-386.html