Bug 471169
| Summary: | [ biarch ] format fcntl64() system calls for 32 bit application incorrect. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Wade Mealing <wmealing> | ||||||
| Component: | strace | Assignee: | Roland McGrath <roland> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | BaseOS QE <qe-baseos-auto> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 5.2 | CC: | dvlasenk, ebachalo, mnowak, pmuller, rlerch, tao | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | |||||||||
| : | 527223 661790 1483940 (view as bug list) | Environment: | |||||||
| Last Closed: | 2009-09-02 10:02: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: | 527223, 661790, 1483940 | ||||||||
| Attachments: |
|
||||||||
|
Description
Wade Mealing
2008-11-12 05:15:31 UTC
Created attachment 323297 [details]
Testcase to exercise problem
% strace -e trace=fcntl,fcntl64 ./testfnct32
[ Process PID=6710 runs in 32 bit mode. ]
File exists
fcntl64(3, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=3352103089833246720, len=13027512328}) = 0
Lock worked
% strace -e trace=fcntl,fcntl64 ./testfnct64
File exists
fcntl(3, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
Lock worked
Created attachment 324600 [details]
Fix
Test run with patch applied:
# strace.t1/strace -e trace=fcntl,fcntl64 ./a32.out
[ Process PID=14216 runs in 32 bit mode. ]
File exists
fcntl(4, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
Lock worked
(btw your testcase tarball is gzipped twice over. how did you do that? :)
Sent patch upstream to strace-devel.net Subject line: [PATCH] fix fcntl(F_SETLK) display for 32-bit apps on x86_64 Re: double gzipped.. no idea.. I think i must have been distracted or something. Committed to upstream strace cvs. Tested on my end, works.. An advisory 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 therefore 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-2009-1317.html strace-4.5.19-1.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/strace-4.5.19-1.fc10 strace-4.5.19-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/strace-4.5.19-1.fc11 strace-4.5.19-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. strace-4.5.19-1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report. |