Red Hat Bugzilla – Bug 137138
[Patch] java crashes because of execute disable mapping of data
Last modified: 2007-11-30 17:07:04 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Description of problem:
For a legacy binary(which doesn't have PT_GNU_STACK program header
and assumes READ implies EXEC behaviour), kernel is mapping data
segment as not executable. Because of this issue java doesn't run on
a processor which supports 'execute disable' feature
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Boot the x86 kernel on a processor which supports exec disable
2.Run java. It hangs with recursive seg faults.
Created attachment 105764 [details]
Proposal for a fix
2.6 kernels have solved this issue by using READ_IMPLIES_EXEC personality.
This problem was resolved in the RHEL3 U4 kernel on 1-Dec-2004
(in kernel version 2.4.21-27.EL).
*** This bug has been marked as a duplicate of 137464 ***
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.