Community
Participate
Working Groups
Created attachment 91503 [details] hs_err log of eclipse crash Build ID: I20080207-1530 Steps To Reproduce: 1. Download eclipse-SDK-3.4M5-linux-gtk.tar.gz 2. Launch Eclipse 3. Select Window > Show view > Other... > General > Internal Web Browser and click OK 4. Eclipse crashes with issuing nothing but "Aborted (core dumped)" regarding Step 3 - this is only needed when the welcome page is not shown anymore. When using eclipse for the first time and the welcome page is shown, it crashes, too. More information: I first filed this comment here in bug 220246 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=220246#c22). I'm running Kubuntu 7.10, KDE4, Kernel 2.6.24-5-generic, xulrunner 1.8.1.4_0000000000 Running Eclipse with the debug switch did not issue anything more but "Aborted (core dumped)" Running eclipse with the following command: java -verbose -classpath $cp:$eclipsehome/plugins/*.jar org.eclipse.equinox.launcher.Main -launcher.ini configuration/config.ini -debug .eclipseoptions vmargs -os linux -ws gtk -arch x86 -Xms15m -Xmx256m shows the following class being loaded last: Loaded org.eclipse.swt.internal.mozilla.nsIWebNavigation from file:/home/xyz/files/eclipse/plugins/org.eclipse.swt.gtk.linux.x86_3.4.0.v3428.jar] I figured out that this might be a permissions issue - running eclipse with sudo prevents eclipse from crashing and uses the browser component correctly. Stracing RSSOwl (which uses eclipse as foundation) showed the following: stat64("/usr/lib/xulrunner/res/langGroups.properties", {st_mode=S_IFREG|0644, st_size=5619, ...}) = 0 open("/usr/lib/xulrunner/res/langGroups.properties", O_RDONLY|O_LARGEFILE) = 92 lseek(92, 0, SEEK_CUR) = 0 lseek(92, 0, SEEK_END) = 5619 lseek(92, 0, SEEK_SET) = 0 read(92, "#\n# ***** BEGIN LICENSE BLOCK **"..., 8192) = 5619 read(92, "", 8192) = 0 close(92) = 0 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0 tgkill(9538, 9538, SIGABRT) = 0 --- SIGABRT (Aborted) @ 0 (0) --- +++ killed by SIGABRT (core dumped) +++ I will upload the hs_err I got retrieved by using jstack (no log file is created when the error appears, just a "core" file is written). I will also upload an strace of running eclipse with crashing it (looks a little bit different from the RSSOwl one). Any ideas? Thanks! This bug could be related to the following bugs: https://bugs.eclipse.org/bugs/show_bug.cgi?id=219700 https://bugs.eclipse.org/bugs/show_bug.cgi?id=220403 https://bugs.eclipse.org/bugs/show_bug.cgi?id=214655 https://bugs.eclipse.org/bugs/show_bug.cgi?id=215857
Created attachment 91504 [details] strace of eclipse crash
*** Bug 218200 has been marked as a duplicate of this bug. ***
> ...running eclipse with > sudo prevents eclipse from crashing and uses the browser component correctly. This was a characteristic of bug 209428 as well. Do you always see the crash as soon as a browser is shown (eg.- javadoc view, welcome page, etc.), or does it actually happen when you move the mouse pointer into the browser?
With the welcome page and the javadoc page the crash happens when I move the mouse pointer into the browser window. When using Select Window > Show view > Other... > General > Internal Web Browser and click OK the crash happens right away. I will try the latest nightly as you described in bug 209428 that there might be a patch for the bug as soon as it becomes available.
Very nice - I downloaded eclipse-RCP-N20080306-0100-linux-gtk.tar.gz and put org.eclipse.swt.gtk.linux.x86_3.4.0.N20080306-0100.jar in my eclipse plugin directory and the problem seems to be fixed. No crash anymore with none of the problematic actions. Good work!
Great, I suspect/hope some other reports will become fixed as a side effect of this as well. Fixed > 0305.