Bug 38388 - eclipse crash on redhat 9/ ja_JP
Summary: eclipse crash on redhat 9/ ja_JP
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: 2.1.1   Edit
Assignee: Felipe Heidrich CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-03 17:00 EDT by Felipe Heidrich CLA
Modified: 2003-06-04 19:10 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felipe Heidrich CLA 2003-06-03 17:00:50 EDT
build 2.1.1 (20030602), running on RedHat 8.0.
Locale ja_JP.

steps:
Select a java file (which has a main method), Click on run, run as->java 
application, eclipse crashes.

We should consider to fix this for 2.1.1.
Comment 1 Felipe Heidrich CLA 2003-06-03 18:24:56 EDT
I was wasting my time, SWT has already decide that redhat 8.0 is not support 
for DBCS locale due problem in gtk 2.0.6.

The point is: eclipse 2.1.1 crashes on redhat 9.0. 
steps: open java editor, start the input method, close the editor, crash.

Due a problem with mnemonic (31009) SWT needs to unrealize (getting rid of the 
window) a widget when visible is set to false. If this same widget has a im 
handle it crashes eventually because the im still reference the window.

The fix is to hook the unrealize callback from GTK and disconnect the im from 
the window. And hook the realize callback from GTK to reconnect the im to new 
window.

The fix for this problem was realased in HEAD a couple weeks ago.

Comment 2 Jeff McAffer CLA 2003-06-04 17:21:04 EDT
Approved for fixing in 2.1.1.  Move code from Head and test.
Comment 3 Felipe Heidrich CLA 2003-06-04 19:10:25 EDT
Fixed in 2.1.1.