Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 442630

Summary: [GTK/Linux] crash opening WOComponent after upgrading: ubuntu 14.02 to 14.04
Product: [Eclipse Project] Platform Reporter: Ray Kiddy <ray>
Component: IDEAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Ray Kiddy CLA 2014-08-26 17:29:56 EDT
I use WOLips (https://github.com/wocommunity/wolips) to work with WebObjects WOComponents. When I first upgraded, I was getting a crash. (Details below) Through much random searching, I found a solution for that was to add this to my eclipse.ini file:

     -Dorg.eclipse.swt.browser.DefaultType=mozilla

Now I can at least edit java files.

A WOComponent still gives an exception:

     Unhandled event loop exception
     No more handles [Could not detect registered XULRunner to use]

I have tried using both eclipse 4.2 and 4.4 and WOLips has different issues with both of them. Not your fault, I know, but there it is.

I was upgrading from one LTS to another LTS. I am really surprised I am having this many problems. I have filed a bug with the ubuntu people and asked a question on askubuntu.com. We will see. I will report any suggestions I receive.

I can post a lot of information related to this, but I do not know what would be valuable. Ask and ye shall receive.

thanx - ray

console output from first error:

$ /opt/eclipse_3.7/eclipse 
No bp log location saved, using default.
[000:000] Cpu: 6.60.3, x8, 2401Mhz, 15932MB
[000:000] Computer model: Not available
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:000] Using Gtk2 toolkit
No bp log location saved, using default.
[000:000] Cpu: 6.60.3, x8, 2401Mhz, 15932MB
[000:000] Computer model: Not available
[000:007] Warning(optionsfile.cc:47): Load: Could not open file, err=2
[000:007] No bp log location saved, using default.
[000:008] Cpu: 6.60.3, x8, 2401Mhz, 15932MB
[000:008] Computer model: Not available
[000:008] Browser XEmbed support present: 1
[000:008] Browser toolkit is Gtk2.
[000:008] Using Gtk2 toolkit
[000:007] Warning(optionsfile.cc:47): Load: Could not open file, err=2
[000:007] No bp log location saved, using default.
[000:008] Cpu: 6.60.3, x8, 2401Mhz, 15932MB
[000:008] Computer model: Not available
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fd0c8efe2a1, pid=18860, tid=140537478481664
#
# JRE version: 6.0_32-b32
# Java VM: OpenJDK 64-Bit Server VM (23.25-b01 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea6 1.13.4
# Distribution: Ubuntu 14.04 LTS, package 6b32-1.13.4-4ubuntu0.14.04.1
# Problematic frame:
# C  [libsoup-2.4.so.1+0x6c2a1]  soup_session_feature_detach+0x11
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/ray/hs_err_pid18860.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Comment 1 Daniel Rolka CLA 2014-09-03 09:48:04 EDT
Have you tried other JVM or newer version of Eclipse (Luna for instance)?

All environments and JVMs that we support for Luna you can find here - http://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclipse.org/eclipse/development/plans/eclipse_project_plan_4_4.xml#target_environments

Daniel
Comment 2 Ray Kiddy CLA 2014-09-03 13:23:03 EDT
Yes, I have tried using eclipse 4.4. The plugin I depend on is not yet built (reliably) to work with eclipse 4.4.

After much random searching, I found something which fixed a part of the problem with 3.7. I added this to my eclipse.ini file:

-Dorg.eclipse.swt.browser.DefaultType=mozilla

At least now, I can edit java source files and the auto-suggest does not crash. I still get crashes from opening a WOComponent.

But the crash is different. Now, when I open a WOComponent, it says:

     Unhandled event loop exception
     No more handles [Could not detect registered XULRunner to use]

and then:

     An SWT error has occurred.
     You are recommended to exit the workbench. etc, etc, etc.
Comment 3 Paul Webster CLA 2014-09-04 10:22:01 EDT

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