FS#23392 - [eclipse] isn't compatible with xulrunner 2.0
Attached to Project:
Arch Linux
Opened by XazZ (XazZ) - Tuesday, 22 March 2011, 22:29 GMT
Last edited by Paul Mattal (paul) - Sunday, 26 June 2011, 11:21 GMT
Opened by XazZ (XazZ) - Tuesday, 22 March 2011, 22:29 GMT
Last edited by Paul Mattal (paul) - Sunday, 26 June 2011, 11:21 GMT
|
Details
Description:
Eclipse crashes for me whenever I try to use it's code completion feature. I believe it's due to the xulrunner update. Maybe eclipse needs a rebuild? Additional info: * package version(s) Eclipse 3.6.2-1 * config and/or log files etc. Updated packages: upgraded cairo (1.10.2-1 -> 1.10.2-2) installed libnotify (0.7.1-1.1) upgraded xulrunner (1.9.2.15-2 -> 2.0-1) upgraded firefox (3.6.15-1 -> 4.0-1) upgraded flashplugin (10.2.152.27-2 -> 10.2.153.1-1) installed libsoup (2.32.2-1) installed libwebkit (1.2.7-1) upgraded libproxy (0.4.6-3 -> 0.4.6-4) upgraded linux-firmware (20110201-1 -> 20110227-1) upgraded openal (1.12.854-2 -> 1.13-1) upgraded vlc (1.1.7-5 -> 1.1.7-6) Eclipse's crash log says: -snip- # Problematic frame: # C [libxul.so+0xc395a5] -snip- I attached a part of the crash log. Steps to reproduce: Try to use Eclipse's code completion (in a Java project type "System." and press CTRL+Space). PS: I won't have access to my computer until Sunday, so if you need more information you may have to wait until then (sorry for that). |
This task depends upon
Closed by Paul Mattal (paul)
Sunday, 26 June 2011, 11:21 GMT
Reason for closing: Fixed
Additional comments about closing: Resolved with eclipse 3.7-1.
Sunday, 26 June 2011, 11:21 GMT
Reason for closing: Fixed
Additional comments about closing: Resolved with eclipse 3.7-1.
http://changelogs.ubuntu.com/changelogs/pool/universe/e/eclipse/eclipse_3.5.2-8ubuntu3/changelog
in /usr/share/eclipse/eclipse.ini add this following line
-Dorg.eclipse.swt.browser.UseWebKitGTK=true
[user@archer_pc ~]$ eclipse
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x625be5a5, pid=1623, tid=3077576384
#
# JRE version: 6.0_22-b22
# Java VM: OpenJDK Client VM (19.0-b09 mixed mode linux-x86 )
# Derivative: IcedTea6 1.10
# Distribution: Custom build (Wed Mar 2 23:13:58 UTC 2011)
# Problematic frame:
# C [libxul.so+0xc395a5]
#
# An error report file with more information is saved as:
# /home/user/hs_err_pid1623.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# http://icedtea.classpath.org/bugzilla
#
/usr/bin/eclipse: line 4: 1623 Aborted ${ECLIPSE_HOME}/eclipse "$@"
eclipse.ini (0.3 KiB)
-Dorg.eclipse.swt.browser.XULRunnerPath==/usr/lib/xulrunner-2.0/
Save, and the crashes will go away.
(Source: http://cmh-blog.blogspot.com/2010/04/eclipse-ubuntu-1004-crash-on-auto.html)
The right solution (for me) is using : -Dorg.eclipse.swt.browser.UseWebKitGTK=true
If I use -Dorg.eclipse.swt.browser.XULRunnerPath==/usr/lib/xulrunner-2.0/ it doesn't crash, but the documentation looks ugly.
Just updated yesterday, went from xulrunner-1.9.2 to xulrunner-2.0, FireFox became FireFox 4.
I use Eclipse Helios 3.6.2-1.
Symptoms : hovering over a Class name should produce a yellow-ish popup with package info. Eclipse crashes there.
Tried
- running from the console with "-debug" as parameter but there is nothing right after the crash, a lot before, nothing after. (cannot find eclipse.log - did a system seek)
- forcing eclipse to use the old xulrunner with "- Dorg.eclipse.swt.browser.XULRunnerPath==/usr/lib/xulrunner-1.9.2/" (tnx ayr0) but that failed, as well as the original setting -Dorg.eclipse.swt.browser.XULRunnerPath==/usr/lib/xulrunner-2.0/
- tried this line too : -Dorg.eclipse.swt.browser.UseWebKitGTK=true without any luck...
Occasiolnally this is what I do get:
[CODE]** (bug-buddy:9290): CRITICAL **: Failed to parse arguments: Cannot open display:[/CODE]
Sorry I cannot give any feedback, dont know where these logs are...not where they _should_ be anyway.
Hoping for a solution
Thor
PS : this is my first bug report, I hope to have followed the guidelines somewhat...
EDIT : @ Benjamin Robin : I read the bug report you entered and applied the command line that worked for you, where you force elcipse to use the "proper" xulrunner - this workaround seems to work for me too, thanks for this invaluable help!
Then start eclipse this way: eclipse -vmargs -Dorg.eclipse.swt.browser.UseWebKitGTK=true
Or just add: -Dorg.eclipse.swt.browser.UseWebKitGTK=true at the end of this file: /usr/share/eclipse/eclipse.ini
Source: https://wiki.archlinux.org/index.php/Talk:Eclipse
Eclipse is not compatiible with xulrunner 2 and libwebkit > 1.3
The workaround for now is to install old libwebkit (1.2.7)
I use a workaround solution with xulrunner 1.9.x and firefox4 with static libraries.But it is not a good solution like all above posts over here.
I personnaly use an other solution : Copy the lib of libwebkit 1.2.7 into /usr/lib/ but I will upgrade to 3.7 soon.