Bug 34524 - RC2: JVM crashes when attempting to launch file browser
Summary: RC2: JVM crashes when attempting to launch file browser
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.1   Edit
Hardware: Power PC AIX Motif
: P1 critical (vote)
Target Milestone: ---   Edit
Assignee: Grant Gayed CLA Friend
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-10 17:34 EST by John Rose CLA Friend
Modified: 2008-06-03 14:29 EDT (History)
2 users (show)

See Also:


Attachments
javacore for JVM crash (258.21 KB, text/plain)
2003-03-11 15:40 EST, John Rose CLA Friend
no flags Details
Install notes/requirements for Eclipse on AIX (1.23 KB, text/plain)
2003-03-17 16:36 EST, John Rose CLA Friend
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Rose CLA Friend 2003-03-10 17:34:56 EST
Observed while testing RC2 on AIX 5.1 with IBM Java 1.3.0.  Eclipse consistently
crashes upon pressing buttons that would launch "file browser"-type windows.
(Not sure of the exact SWT name). Examples of buttons that produce the crash:

- Right click a java project, import->file system->browse button
- Java project properties, java build path->add external jars button
- Window->preferences->export button

JVM terminates with an exit code of 1.  Command shell displays error message:
Error: Object "" does not have windowed ancestor
Comment 1 Veronika Irvine CLA Friend 2003-03-11 07:21:08 EST
Can you attach the java core file?
Comment 2 John Rose CLA Friend 2003-03-11 11:23:53 EST
Veronika, Grant-

This crash produces no javacore file.  The dialog pops up reporting the JVM
arguments and return code, and the command line displays the msg described
above. The current directory has no javacore* files, and the
/tmp/javacore_locations does not show that a coredump occurred.  Let me know
what I can do to help resolve this.

Thanks-
John
Comment 3 John Rose CLA Friend 2003-03-11 15:40:45 EST
Created attachment 4016 [details]
javacore for JVM crash

Ok cancel the above comment :).  Got a javacore for the crash, appears to be in
FileDialog.open().
Comment 4 Grant Gayed CLA Friend 2003-03-12 10:19:32 EST
I cannot reproduce this here, using:

uname -a = AIX jimi 1 5 00063F3F4C00
java -version = J2RE 1.3.0 IBM build ca130-20020208

These sound similar to what you're running.  The only thing I can think of is 
maybe you don't have APAR 1Y27695 applied on your end?  (I don't know if this 
patch is relevant to this area, just guessing).

The steps to reproduce the problem are certainly simple enough, and they don't 
seem like they would be dependent upon the pre-existence of a bad workbench 
state.  Just to confirm, can you:
1. Verify that you have APAR 1Y27695 installed
2. Do the following:
   - delete your workspace directory (or temporarily rename it)
   - start Eclipse, should show "Completing installation" splash
   - go to Window -> Preferences
   - press Export to see it the problem still occurs

Comment 5 John Rose CLA Friend 2003-03-12 10:48:58 EST
Our AIX install does include the APAR you mentioned.  Since noone has observed
this on other platforms, and since we did not not observe this when testing AIX
5.2 on RC1, I am going to go about identifying this as an AIX 5.1-specific
problem.  Will update.  
Comment 6 John Rose CLA Friend 2003-03-14 11:18:30 EST
This is an AIX graphics bug that affects certain levels of AIX releases 43X,
51F, and 520.  The problem has been found and resolved, and a fix has been
dropped into all mentioned releases.  We will need to update the text file on
the downloads page for AIX to reflect necessary service updates. 
Comment 7 Grant Gayed CLA Friend 2003-03-14 16:02:53 EST
John, can you provide some words here that we can post (in particular, required 
AIX release & APAR versions)?  Thanks in advance.
Comment 8 John Rose CLA Friend 2003-03-17 16:36:22 EST
Created attachment 4185 [details]
Install notes/requirements for Eclipse on AIX

Here is an updated note to display from the AIX downloads page.
Comment 9 Grant Gayed CLA Friend 2008-06-03 14:28:25 EDT
.
Comment 10 Grant Gayed CLA Friend 2008-06-03 14:29:12 EDT
Re-closing as NOT_ECLIPSE.