Bug 132339 - (IT_49077) x86 compatibility mode apps using signals crash under EM64T
x86 compatibility mode apps using signals crash under EM64T
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kernel (Show other bugs)
3.0
ia32e Linux
medium Severity high
: ---
: ---
Assigned To: Jim Paradis
Brian Brock
:
Depends On:
Blocks: 132991
  Show dependency treegraph
 
Reported: 2004-09-10 20:57 EDT by Suresh Siddha
Modified: 2013-08-05 21:08 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-05-18 09:28:05 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Failing test case (583 bytes, text/plain)
2004-09-10 20:59 EDT, Suresh Siddha
no flags Details
Failing test case (583 bytes, text/plain)
2004-09-10 21:00 EDT, Suresh Siddha
no flags Details
Patch fixing the issue (1.28 KB, patch)
2004-09-10 21:02 EDT, Suresh Siddha
no flags Details | Diff

  None (edit)
Description Suresh Siddha 2004-09-10 20:57:30 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

Description of problem:
Attached test case using signals crashes when run in compatibility 
mode under EM64T. Same application in native mode runs fine.

Version-Release number of selected component (if applicable):
kernel-2.4.21-20.EL

How reproducible:
Always

Steps to Reproduce:
1. compile the program sig32_test.c using -m32 flag
2. Run the program
3. 
    

Actual Results:  Either the testcase crashes with SIGSEGV or it just 
hangs.


Expected Results:  Same test case when compiled with "-m64" passes 
fine.

Additional info:
Comment 1 Suresh Siddha 2004-09-10 20:59:25 EDT
Created attachment 103709 [details]
Failing test case

# gcc -m32 sig32_test.c 
# ./a.out 
Segmentation fault
# gcc  sig32_test.c 
# ./a.out 
#
Comment 2 Suresh Siddha 2004-09-10 21:00:39 EDT
Created attachment 103710 [details]
Failing test case

# gcc -m32 sig32_test.c 
# ./a.out 
Segmentation fault
# gcc  sig32_test.c 
# ./a.out 
#
Comment 3 Suresh Siddha 2004-09-10 21:02:21 EDT
Created attachment 103711 [details]
Patch fixing the issue
Comment 8 Suresh Siddha 2004-10-21 13:54:03 EDT
Our partners product a Java Virtual Machine, does not run on RH EL 3 
(64-bit) on the EM64T platform. This is important for us to have a 32-
bit JVM run on the 64-bit OS on our EM64T enabled platforms. It runs 
without changes on the RHEL 4 (beta) on EM64T.

Sample testcase was representative of what the virtual machine uses.
Comment 10 Ernie Petrides 2004-11-22 21:19:55 EST
Geoff Gustafson posted the patch in comment #3 on 11/10 for consideration in U5.
Comment 11 Ernie Petrides 2005-01-11 18:39:36 EST
A fix for this problem has just been committed to the RHEL3 U5
patch pool this evening (in kernel version 2.4.21-27.7.EL).
Comment 12 Tim Powers 2005-05-18 09:28:05 EDT
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 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/RHSA-2005-294.html

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