Bug 179556

Summary: Internal Error: Segmentation Fault
Product: Red Hat Enterprise Linux 2.1 Reporter: Ashish <ashishs>
Component: java-1.4.2-gcj-compatAssignee: Thomas Fitzsimmons <fitzsim>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: yacine
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-06-30 20:09:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
java.lang.Object none

Description Ashish 2006-02-01 12:59:02 UTC
Description of problem:
src/com/sun/cldc/io/ConsoleOutputStream.java:133: warning: Discouraged form of 
returned type specification.
   <<file too short - unexpected EOF>>
                                             ^
src/java/lang/Object.java: In class `java.lang.Object':
src/java/lang/Object.java: In constructor `()':
src/java/lang/Object.java:1: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
It is an error occured during compiling j2me for arm linux.
1. At first we calls a Makefile
2. Makefile compiles the java file using javac and stores in a folder called 
classes
3. Call makefile directly at DIR/built/linux/
DIR=location of j2me installation. (Here it is /root/j2me_cldc/)
  

Actual Results:  makefile executes successfully hence creating the kvm for arm 
processor...

Expected Results:  The makefile is generating the following errors...


--- cut ---

src/com/sun/cldc/io/ConsoleOutputStream.java:133: warning: Discouraged form of 
returned type specification.
   <<file too short - unexpected EOF>>
                                             ^
src/java/lang/Object.java: In class `java.lang.Object':
src/java/lang/Object.java: In constructor `()':
src/java/lang/Object.java:1: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.

--- cut ---

Additional info:

I noticed that it is an issue due to gcj.
When "gcj -C -Wall Object.java" is called the following error is generated.

--- cut ---
public boolean equals(Object obj) {
        return (this == obj);
}
--- cut ---

Comment 1 Ashish 2006-02-01 12:59:02 UTC
Created attachment 123956 [details]
java.lang.Object

Comment 2 Rich Megginson 2006-02-06 22:48:07 UTC
*** Bug 179957 has been marked as a duplicate of this bug. ***

Comment 3 Thomas Fitzsimmons 2006-06-30 20:09:23 UTC

*** This bug has been marked as a duplicate of 179532 ***