Bug 433240 - Eclipse crashed on the Appearance Pref page
Summary: Eclipse crashed on the Appearance Pref page
Status: CLOSED DUPLICATE of bug 428347
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.4   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-22 13:25 EDT by Paul Webster CLA
Modified: 2014-05-26 07:30 EDT (History)
2 users (show)

See Also:


Attachments
hs_err_pid file (112.04 KB, text/plain)
2014-04-22 13:25 EDT, Paul Webster CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Webster CLA 2014-04-22 13:25:49 EDT
Created attachment 242207 [details]
hs_err_pid file

I was running an inner eclipse, and went to the Appearance pref page.  It had a embedded browser widget in it.


It crashed the eclipse (log attached).
Comment 1 Paul Webster CLA 2014-04-22 13:27:35 EDT
I had my GTK2 set to the High Contrast theme in the Themes preference tab.

PW
Comment 2 Sravan Kumar Lakkimsetti CLA 2014-04-22 14:52:39 EDT
Hi Paul,

Can you please let us know the OS version you are using?

Just wanted to confirm these (I extracted these from the log)

eclipse build id I20140422-0800
gtk version 2.20
webkitgtk version 1.2

Thanks
Sravan
Comment 3 Sravan Kumar Lakkimsetti CLA 2014-04-23 01:33:16 EDT
Does running inner eclipse means running another instance of eclipse using the run configuration command?
Comment 4 Sravan Kumar Lakkimsetti CLA 2014-04-23 05:30:44 EDT
Hi Paul,

I tried the following steps. I am using RHEL6.4 with GTK 2.20 and webkitgtk 1.2.6

1. Change the gtk theme in the OS to High contrast
2. Launch Eclipse I20140422-0800
3. Launch eclipse runtime configuration from the same (I am using open jdk6)
4. open the window->preferences->general->appearance

Here are my observations

I didnot find a embedded browser widget in appearance page.
I checked the libraries loaded using lsof and webkitgtk library is not loaded. 

I did the above test using the dark eclipse themes as well but I did not get the crash.

Can you please provide me the exact steps for this?

Thanks
Sravan
Comment 5 Paul Webster CLA 2014-04-23 09:13:00 EDT
I have
gtk2-2.20.1-4.el6.x86_64
webkitgtk-1.2.6-5.el6.x86_64
4.4.0.I20140422-0800

Steps to reproduce:

1. install the orion pref editor from http://download.eclipse.org/e4/updates/0.16-I-builds/

  E4 Orion CSS Preference editor (Incubation)
  E4 Orion CSS Preference editor (Incubation) (source)

2. restart your eclipse

3. switch the display theme to high contrast (not inverted)

4. Launch an inner eclipse with the oracle jvm:
bash-4.1$ java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

5. Go to the Preference page and try and switch to High Contrast theme.  There should be an embedded web editor in the page.

PW
Comment 6 Sravan Kumar Lakkimsetti CLA 2014-04-24 08:09:51 EDT
This is a problem in the webkitgtk 1.2.6-5(default on RHEL6.5). This is specific to this version ony. this problem cannot be reproduced in the prior version or the later versions.

Fedora 19 and RHEL 7 comes with WebkitGtk 2.0.2 This problem is not reproduced in this platform.

As a workaround is it possible for you to try with xulrunner? The following commandline options are needed. I tried with these the c=rash is not reproduced

-Dorg.eclipse.swt.browser.DefaultType=mozilla -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib64/firefox

Thanks
Sravan
Comment 7 Paul Webster CLA 2014-04-29 08:16:42 EDT
Thanks for the work around.

PW
Comment 8 Arun Thondapu CLA 2014-05-26 07:30:48 EDT

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