I'm having a problem when trying to open the Nios II SBT from Quartus on Linux. I've tried to use Quartus 18.1 and 20.1.
When opening from the directory "quartus/nios2eds/bin/eclipse-nios2" using the terminal, I got the mesage: "Free(): Invalid Pointer" and the program crashes.
When using Quartus 20.1, I followed the instalation steps of the Nios II SBT on the README file.
I also tried to open from "quartus/nios2eds/bin/eclipse_nios2/eclipse". This one opens, but I'm unable to create a project, because the program does not find the CPU on the .sopcinfo file. I always get the mesage "sopcinfo does not contain any cpu".
Thank you in advance,
First of all, thank you for reaching us.
you may have a Java issue, that's why the program crashed, please install it again.
Talking about using Quartus 20.1, did you make any change to your design in the platform designer before trying to open Nios II SBT and create the project?
If you keep having this issue, please share your design with us if there is the possibility.
I'm glad to read version 19.1 is running without any issue.
Once again thank you for contacting us, I'll keep debugging the initial issue so we can fix it in future versions.
The following workaround seems to work, it essentially replace Quartus included java engine with Java 8
mv jre64 jre64_old
ln -s /lib/jvm/java-1.8.0-openjdk-amd64/jre jre64
the path to Java 8 jre might be machine specific, mine is at least placed there