Hi there,
Complete noobie to this platform, but am a seasoned .NET developer and Linux Sys Admin so pretty familiar with basic troubleshooting and reading source code.
I've been trying to get the simulator to run on my Windows 10 PC all afternoon. Eventually I get an error saying "Port Not Opened" thrown from the Java App (seems like this can be up to 10 minutes after trying to run the program) but I am not convinced its the port after trying to run the simulator.exe directly.
For reference here is the log of the Console.jar app:
I've read through the source and see that the chSysHalt is printed from the chconf.h file in the simulator in what appears to be on error. I'll admit my C/C++ is no where near as good as my Java/C#, so having a bit of trouble tracing this and maybe a little timid (though getting close) to trying to build/debug the code myself.
Anyone have any insight for me here?
Simulator Issue
-
- Posts: 2
- Joined: Sun Oct 17, 2021 6:01 pm
- Github Username: jeremygnoonan
- AndreyB
- Site Admin
- Posts: 14328
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Simulator Issue
chSysHalt sounds like something pretty fatal, looks like master simulator is FUBAR. I suspect that simulator validations is not part of continues integration
Maybe try pulling the source code from 6 or 12 months ago, or try simulator executable from older releases bundles those all have it?
Maybe try pulling the source code from 6 or 12 months ago, or try simulator executable from older releases bundles those all have it?
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14328
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Simulator Issue
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
-
- Posts: 2
- Joined: Sun Oct 17, 2021 6:01 pm
- Github Username: jeremygnoonan
Re: Simulator Issue
Wow guys -- thanks for the quick PR and fix on this.
I literally just installed the C tools into Visual Studio so I could have at least had the error message printed out.
I'll pull the latest and give it a try.
I literally just installed the C tools into Visual Studio so I could have at least had the error message printed out.
I'll pull the latest and give it a try.
-
- running engine in first post
- Posts: 1494
- Joined: Mon Jan 30, 2017 2:05 am
- Location: Seattle-ish
Re: Simulator Issue
Should be fixed now! Try a fresh nightly snapshot bundle.