Community
Participate
Working Groups
Build Identifier: SWT 3.6 Certain HTML (generally quite long) crash the JVM when loaded in an embedded XULRunner (Mozilla style). I tested on Windows (1.9.0.3) and Linux (1.9.2.8), where IE and Webkit can load the content but XULRunner crashes. See attached test case. Reproducible: Always Steps to Reproduce: 1. String s = some_specific_html; 2. Browser.setText(s)
Created attachment 178871 [details] Test case showing the crash
In the test case, set IS_MOZILLA to true to get the crash.
I don't see a crash with this snippet, tried on Windows and Linux with a few different versions. Can you think of any other factors that could be relevant? Do you get a crash log?
Created attachment 178885 [details] VM crash log Hi Grant, Did you change IS_MOZILLA to true? I do have a crash log on Windows, which I attach. The error on Linux is different (Segmentation fault if I remember correctly, I don't know where the crash log ends up on that box...) Let me know if there is anything I can do to help.
I tried again on Windows with SWT 3707 (I20100914) with same results. On Linux, I confirm that with 3.6 I get a "Segmentation fault" in the console, with no sign of a crash log.
Not sure if this is the same issue. I get a segmentation fault while using MPC with embedded browser. Here's the console output: No bp log location saved, using default. [000:001] Browser XEmbed support present: 1 [000:001] Browser toolkit is Gtk2. [000:001] Using Gtk2 toolkit [000:005] Warning(optionsfile.cc:22): Load: Could not open file [000:005] No bp log location saved, using default. [000:006] Browser XEmbed support present: 1 [000:006] Browser toolkit is Gtk2. [000:006] Using Gtk2 toolkit Segmentation fault Happens with latest Eclipse Indigo. It happens for me every time. Here are the staps: 1. Launch Eclipse Marketplace 2. Choose the link "Browser for more solutions". 3. In embedded browser choose Subclipse plug-in on the left and then click "Install". 4. The MPC dialog pop's up and then Eclipse crashes I am on Ubuntu 10.04 using the latest Eclipse for RPC Indigo fresh install.
Mozilla is removed for 4.8.