From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040914 Firefox/0.10 Description of problem: As per bug 123656, Sun's JDK 1.4.2 segfaults when executed unless noexec=off is given as a boot parameter. I opened a new bug because the existing one refers only to AMD64, and was purportedly fixed in kernel-smp-2.4.21-20.EL. Note that the problem does not occur using the uniprocessor kernel, it's only triggered by the SMP version. Version-Release number of selected component (if applicable): kernel-smp-2.4.21-20.EL How reproducible: Always Steps to Reproduce: 1. Install RHEL3 update 3 on an SMP machine whose cpu flags include 'nx'. 2. Install Sun's 1.4.2 JDK. 3. Run java (or jar, or jdb, etc) without arguments. Actual Results: Segfaults and dumps core. Expected Results: A usage message should've been printed. Additional info: See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6178600
Nick, this looks like a dup of bug 137464. Could you please try a RHEL3 U4 beta kernel from the following URL to confirm that the problem you encountered is resolved? ftp://partners.redhat.com/a61d109e2483b0bf579b0b5f90a5ea8c/2.4.21-27.EL/ Thanks in advance.
Ah, I saw that bug referenced but didn't have permission to view it. This is a client machine though, and I'd rather not test this kernel there without at least being able to read the changelog and the bug report.
Nick, I've added you to the cc: list of bug 137464, so you should be able to view it now. I'll also attach the patch that was committed to U4 on 12/1 (in the last respin, for kernel version 2.4.21-27.EL).
Created attachment 108472 [details] work-around for supporting buggy apps that don't use PROT_EXEC
That did it. Thanks very much on all counts. Do you know when U4 is due out, or if a new release of the kernel including that patch is due out anytime soon? I mean, I can certainly build a patched 2.4.21-20.0.1 and use that, but obviously I'd be even happier with an official build.
Nick, by "that did it", do you mean that you've resolved that the problem you had reported is fixed by using the -27.EL kernel? RHEL3 U4 is scheduled for release in a week from today.
Ernie, that's correct, the -27.EL kernel does not exhibit the jdk segv problem on intel CPUs with the NX flag.
Thanks, Nick. So, this is a dup of bug 137464, but I won't close this as a dup since the other has access restrictions. The fix for this problem was committed to the RHEL3 U4 patch pool on 1-Dec-2004 (in kernel version 2.4.21-27.EL). Setting state to MODIFIED.
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. http://rhn.redhat.com/errata/RHBA-2004-550.html