JDK-4484289 : javac segs fault on a file with a lot of public static final int ...
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2001-07-25
  • Updated: 2001-08-02
  • Resolved: 2001-08-02
Related Reports
Duplicate :  
Description

Name: rmT116609			Date: 07/25/2001


java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b65)
Java HotSpot(TM) Client VM (build 1.4.0-beta-b65, mixed mode)


$ javac GLEnum.java
Segmentation fault
$

/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!!

   DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!!
*/


/**
 * @(#) GLEnum.java
 */


package gl4java;

/**
 * The base interface for OpenGL enumerates,
 * which provides you all the C-API style enumerates
 *
 * @version 	2.01, 15. November 1999
 * @author      Sven Goethel
 */
public interface GLEnum
{
    
	public static final boolean GL_FALSE	= false;
	public static final boolean GL_TRUE	= true;
    
/**
 * C2J Parser Version 2.2
 * Jausoft - Sven Goethel Software Development
 * Reading from file: gl-enum-auto.orig.h . . .
 * Destination-Class: gl4java_GLEnum !
 */

	public static final int GL_1PASS_ARB	= 0x80A1;
	public static final int GL_1PASS_SGIS	= 0x80A1;
	public static final int GL_2D	= 0x0600;
	public static final int GL_2PASS_0_ARB	= 0x80A2;
	/* a lot of static final....*/
	public static final int GL_ZOOM_X	= 0x0D16;
	public static final int GL_ZOOM_Y	= 0x0D17;
    
/* C2J Parser Version 2.2:  Java program parsed successfully. */


}

The version and the distribution of Linux using:
    
     linux 2..4.4
    debian "woody"

System Configuration.
-----------------
bi-pentium 1Ghz, 512 mo ram

Additional information
----------------
 It works with blackdown jdk 1.3.1...

Please see the attachments for a complete test case.

(Review ID: 128238) 
======================================================================

Comments
WORK AROUND limit stacksize 2048
11-06-2004

EVALUATION Reassigned to runtime: javac is a pure java program, so any seg fault must be a problem in the VM. neal.gafter@Eng 2001-07-25 ---------------------------- glibc bug, see 4466587. glibc team has fixed it for glibc-2.2.4. VM workaround is in 1.4 beta-refresh. hui.huang@Eng 2001-08-02
25-07-2001