Bug 438614 - utrace: syscall-reset: syscall number change: biarch run FAILs
Summary: utrace: syscall-reset: syscall number change: biarch run FAILs
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: Roland McGrath
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-22 21:50 UTC by Jan Kratochvil
Modified: 2008-03-23 12:52 UTC (History)
1 user (show)

Fixed In Version: kernel-2.6.25-0.139.rc6.git5.fc9.x86_64
Clone Of:
Environment:
Last Closed: 2008-03-23 12:52:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jan Kratochvil 2008-03-22 21:50:41 UTC
Description of problem:
Tracking a `syscall-reset' testcase bug for i386-debugger-on-x86_64-kernel.

Version-Release number of selected component (if applicable):
kernel-2.6.24.3-34.fc8.x86_64 (biarch: -m32)
Working for native variants:
kernel-2.6.24.3-34.fc8.i686 (-m32)
kernel-2.6.24.3-34.fc8.x86_64 (-m64)

How reproducible:
Always.

Steps to Reproduce:
1. wget -O syscall-reset.c
'http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/tests/ptrace-tests/tests/syscall-reset.c?cvsroot=systemtap'
2. gcc -o syscall-reset syscall-reset.c -Wall -ggdb2 -D_GNU_SOURCE -m32
3. ./syscall-reset; echo $?

Actual results:
1

Expected results:
0

Additional info:
non-biarch (native arch size) runs work fine.

Rawhide kernel-2.6.25-0.121.rc5.git4.fc9.x86_64 - non-utrace one, based on
2.6.25-rc5-git4 - fails both natively (-m64) and biarch (-m32).

Comment 1 Roland McGrath 2008-03-22 22:05:10 UTC
No upstream kernel did this right for 32-bit ptrace callers on x86_64 in the past.
We probably won't worry about it for any pre-2.6.25 kernel in Fedora.
So this bug should be for rawhide/f9 if those kernels have a problem.
F8 update kernels will probably be 2.6.25 eventually after F9 kernels are stable.

Comment 2 Jan Kratochvil 2008-03-22 22:25:43 UTC
Waiting till a new rawhide utrace lands - rawhide ptrace is broken (Comment 0
kernel-2.6.25-0.121.rc5.git4.fc9.x86_64).



Note You need to log in before you can comment on or make changes to this bug.