Replies: 3 comments 5 replies
-
Thanks for the bug report. That is very frustrating and I'll try to help. Eclipse these days comes bundled with Java in most cases, and CDT has required Java 17 since late 2022. So the Java version on your path is not actually the one being used. Here are some things to try, start Eclipse from the terminal (in case you aren't already) so that any panic messages from Java end up visible on stdout in the terminal. Java writes to If you suspect that the bundled version of Java with Eclipse is causing the error, you can start Eclipse with your own java install, for example My first guess is that there is an fatal error in the native parts of Eclipse and I hope some of the above will indicate where. A fatal error in Java will normally have a native + java stack trace so we can track that down. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your prompt response! This is how Eclipse CDT is being launched by the desktop manager: [mmourier@rocky ~]$ ps ax | fgrep eclipse The version of java used to run it is: [mmourier@rocky ~]$ /home/mmourier/.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_17.0.7.v20230425-1502/jre/bin/java --version After the last crash (which happened while I did a CTRL-C and CTRL-V to copy-paste a line of code in a .c file) I launched Eclipse manually from a terminal, as you suggested. The app has not crashed again yet, but I already see some disturbing log messages on the console: [mmourier@rocky eclipse]$ ./eclipse (Eclipse:26599): Gtk-CRITICAL **: 14:43:02.083: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar (Eclipse:26599): Gtk-CRITICAL **: 14:43:02.084: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar (Eclipse:26599): Gtk-CRITICAL **: 14:43:02.084: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar Another odd thing I noticed is that in the main source file edit window, sometimes the left column that shows the line numbers starts to flicker, or to jitter up and down. In most cases, using the mouse wheel to scroll the text up or down, makes this flicker/jitter stop ... |
Beta Was this translation helpful? Give feedback.
-
I just noticed I have an hs_err log file on my home directory. It is 2 days old, so it is not from my latest Eclipse crash I had this morning. But it may still have some clues about the crash. I have uploaded it to my Google Drive: https://drive.google.com/file/d/1J5mD37gFG-mVPLBnTfwTMxn2ZGfDwlA3/view?usp=sharing |
Beta Was this translation helpful? Give feedback.
-
I'm experiencing random crashes while running the Eclipse CDT app on my Rocky Linux 9.2 development PC. By "crash" I mean the app terminates unexpectedly for no apparent reason, as everything else on the PC is working just fine.
Upon restarting the app there are no signs of the crash. Are there crash reports stored anywhere that may shed some light?
I'm using the following java version:
$ java --version
openjdk 11.0.19 2023-04-18 LTS
OpenJDK Runtime Environment (Red_Hat-11.0.19.0.7-2) (build 11.0.19+7-LTS)
OpenJDK 64-Bit Server VM (Red_Hat-11.0.19.0.7-2) (build 11.0.19+7-LTS, mixed mode, sharing)
Beta Was this translation helpful? Give feedback.
All reactions