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 116745

Summary: PIE binaries seem very broken on x86-64
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: kernelAssignee: Arjan van de Ven <arjanv>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: drepper, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 2.6.3-1.108 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-02-25 16:17:01 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: 114961    
Attachments:
Description Flags
eu-elflint run on the binary in question
none
Oops, take 2 none

Description Bill Nottingham 2004-02-24 21:08:36 UTC
[root@apone root]# strace /usr/bin/newaliases
execve("/usr/bin/newaliases", ["/usr/bin/newaliases"], [/* 29 vars
*/]) = 0
uname({sys="Linux", node="apone.devel.redhat.com", ...}) = 0
brk(0)                                  = 0x2a95732000
fcntl(0, F_GETFD)                       = 0
fcntl(1, F_GETFD)                       = 0
fcntl(2, F_GETFD)                       = 0
access("/etc/suid-debug", F_OK)         = -1 ENOENT (No such file or
directory)
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a95617000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
directory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


[root@apone root]# LD_DEBUG=all /usr/bin/newaliases
      4955:
      4955:     relocation processing: /usr/bin/newaliases (lazy)
Segmentation fault


syslogd and klogd segfault as well.

Comment 1 Bill Nottingham 2004-02-24 21:14:55 UTC
Created attachment 98011 [details]
eu-elflint run on the binary in question

eu-elflint does not seem to think that the binary is valid.

Comment 2 Bill Nottingham 2004-02-24 21:16:41 UTC
Created attachment 98013 [details]
Oops, take 2

Erm, try this eu-elflint dump.

Comment 3 Bill Nottingham 2004-02-24 22:26:22 UTC
Works with Arjan's .204 kernel. 

Comment 4 Dave Jones 2004-02-25 14:54:21 UTC
todays rawhide should also work now ?


Comment 5 Bill Nottingham 2004-02-25 16:17:01 UTC
Yup, 1.108 is fine.