Bug 9948 - gcj run into segmentation fault when compiling JAR files
Summary: gcj run into segmentation fault when compiling JAR files
Status: RESOLVED DUPLICATE of bug 9947
Alias: None
Product: gcc
Classification: Unclassified
Component: java (show other bugs)
Version: 3.2.2
: P2 critical
Target Milestone: ---
Assignee: Tom Tromey
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-04 21:06 UTC by jfey
Modified: 2003-06-02 21:18 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
ccUNvDrrjx.s.gz (1007.84 KB, application/x-gzip )
2003-05-21 15:17 UTC, jfey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jfey 2003-03-04 21:06:01 UTC
We are developping Java code.  And like to gain/measure
performance by using native code instead of byte code.

When executing the following command line, gcj generates 
segmentation fault:
gcj -o TestGetInap --main=TestGetInap asn.jar asn1rt.jar JainInapApi1.0.jar inap.jar sinap.jar libsinap_jni.so
com/objsys/asn1j/runtime/Asn18BitCharString.java:0: internal error: Segmentation Fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

The asn1rt.jar file is a 3rd party JAR come with ASN1 compiler. Some of the logging class (Logger) are not implemented.

The gcj comes together with gcc is downloaded from http://www.sunfreeware.com/

Release:
gcc version 3.2.2

Environment:
Solaris SunOS 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-80.

How-To-Repeat:
execute the command line:
gcj -o TestGetInap --main=TestGetInap asn.jar asn1rt.jar JainInapApi1.0.jar inap.jar sinap.jar libsinap_jni.so

If needed, all the above source files can be sent.
Comment 1 Tom Tromey 2003-03-10 10:59:53 UTC
Responsible-Changed-From-To: unassigned->tromey
Responsible-Changed-Why: I'm handling this.
Comment 2 Tom Tromey 2003-03-10 10:59:58 UTC
*** This bug has been marked as a duplicate of 9947 ***
Comment 3 GCC Commits 2004-09-23 15:50:05 UTC
Subject: Bug 9948

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	java-gui-branch
Changes by:	mark@gcc.gnu.org	2004-09-23 15:49:59

Modified files:
	libjava        : ChangeLog 
	libjava/javax/swing: JDesktopPane.java 
	libjava/javax/swing/plaf/basic: BasicSplitPaneUI.java 

Log message:
	2004-09-23  Tom Tromey  <tromey@redhat.com>
	
	Bug 9948.
	* javax/swing/JDesktopPane.java (LIVE_DRAG_MODE): Now final.
	(OUTLINE_DRAG_MODE): LIVE_DRAG_MODE.
	* javax/swing/plaf/basic/BasicSplitPaneUI.java
	(NON_CONTINUOUS_DIVIDER): Now final.  Initialize.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.2660.2.408&r2=1.2660.2.409
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/JDesktopPane.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.3.8.3&r2=1.3.8.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/plaf/basic/BasicSplitPaneUI.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.1.26.3&r2=1.1.26.4