Bug 179556 - Internal Error: Segmentation Fault
Summary: Internal Error: Segmentation Fault
Keywords:
Status: CLOSED DUPLICATE of bug 179532
Alias: None
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: java-1.4.2-gcj-compat
Version: 2.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Thomas Fitzsimmons
QA Contact:
URL:
Whiteboard:
: 179957 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-02-01 12:59 UTC by Ashish
Modified: 2007-11-30 22:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-06-30 20:09:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
java.lang.Object (16.75 KB, text/plain)
2006-02-01 12:59 UTC, Ashish
no flags Details

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 ***


Note You need to log in before you can comment on or make changes to this bug.