Simulator Issue

Tuning, troubleshooting and the nitty gritty of using rusEFI to make your engine run nicely!
Post Reply
madcat1212
Posts: 2
Joined: Sun Oct 17, 2021 6:01 pm
Github Username: jeremygnoonan

Simulator Issue

Post by madcat1212 »

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.
sim_output.png
sim_output.png (96.08 KiB) Viewed 3189 times
For reference here is the log of the Console.jar app:
log_output.png
log_output.png (167.27 KiB) Viewed 3189 times
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?
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Simulator Issue

Post by AndreyB »

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?
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
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Simulator Issue

Post by AndreyB »

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
madcat1212
Posts: 2
Joined: Sun Oct 17, 2021 6:01 pm
Github Username: jeremygnoonan

Re: Simulator Issue

Post by madcat1212 »

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.
mck1117
running engine in first post
running engine in first post
Posts: 1493
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: Simulator Issue

Post by mck1117 »

Should be fixed now! Try a fresh nightly snapshot bundle.
Post Reply