Summary: The Java VM running Eclipse on my system appears to be working, but internally it gets segfaults constantly.
Steps to reproduce:
- Download
eclipse-cpp-kepler-SR2-linux-gtk-x86_64.tar.gz
from http://www.eclipse.org/cdt/downloads.php. - Extract it as
/path/to/eclipse
. - Run
gdb /path/to/eclipse/eclipse
. - Do
set follow-fork child
so that GDB will trace the actual Java process and not just the Eclipse launcher. - Type
run
to start Eclipse. You might have to select a workspace directory. - You should get a segmentation fault (SIGSEGV) pretty soon. Type
cont
in GDB and you will get another. Typecont
again and you will get another. And so on ad nauseam.
Again, Eclipse appears to be working, presumably because it is catching the signal and recovering somehow.
My OS is 64-bit Red Hat Enterprise Linux 6.5 with all updates as of yesterday (2014-May-22). The Java RPM is java-1.7.0-openjdk-1.7.0.55-2.4.7.1.el6_5.x86_64
, the current release (Version 7 Update 55) from http://java.com/ produces the same results.
I am curious to know whether this behavior happens for other people and on other flavors of Linux. More importantly, I am curious if anybody knows whether this is "normal".
(In case you are wondering... Although Eclipse appears to be working, I am concerned that some real problem is being hidden. I noticed this because I am getting occasional, not-entirely-reproducible segfaults in a plug-in that uses WebKit. I thought I would try to observe the segfault under GDB, but this turns out to be tricky because the JVM is segfaulting over and over right from the beginning, even on a fresh install without the offending plug-in.)