Eclipse nios ii crash

Eclipse nios ii crash

by Claude Dahan -
Number of replies: 2


I have a problem when launching eclipse (for nios ii). At the workspace launcher, if I either press "browse" to change the workspace, or "ok" to use it as is, eclipse crashes. I'm using the RTES VM with default parameters, except I use USB 1.1 and increased RAM, which should not cause this problem. It happened on 2 different PCs.

When I was still using the VM from the past semester (which I don't have anymore), I had no problem. It appeared when installing the new VM for this semester.

I included a screenshot of the error.

If someone went through this or has an idea, I'd like to hear it!

Attachment Eclipse_nios2_crash_screenshot.png
In reply to Claude Dahan

Re: Eclipse nios ii crash

by Alexandre Chau -


Yes there has been an update to ubuntu in the VM released this semester which apparently breaks GTK.

To fix this, please try the steps below and see if it helps:

  1. Launch a Nios II command shell.
  2. Type "export SWT_GTK3=0"
  3. Launch eclipse as before using "eclipse-nios2"

If you want to avoid having to type the "export SWT_GTK3=0" command each time you want to launch eclipse, I suggest adding the line at the end of the ~/.bashrc file by typing this in the terminal:

echo "export SWT_GTK3=0" >> ~/.bashrc

The TAs team