-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KaSim runtime error: Index out of bounds | segmentation fault #325
Comments
That is super hyper weird. |
I used both Cygwin's mintty - bash and the regular cmd.exe, and both produced comparable results. I'm now using the Linux subsystem for Windows, with native compiled KaSim, and the issue has not presented itself. I suspect "the cross-compiler was in a bad mood", again. |
I think we'll have to give up on using the cross compiler from linux to produce windows binaries ... Too bad |
does not work on my machine either (but I have a clearer
or
do. |
Since I'm compiling KaSim under the Linux Subsystem for Windows (LSW), it is not a Windows executable (i.e. not KaSim.exe). I have to call it through the LSW terminal, bash.exe in this case, to have it handle all the metadata that Linux files use that Windows files don't (more here), hence the command I send to cmd.exe is In the original post however, I was calling KaSimNightly directly from cygwin's bash, no python involved, and the issue was present (see the Calling KaSimLSW through LSW's bash does not present the problem (albeit, different commit), so it /may/ be a cross-compilation, or Cygwin interaction issue. In any case, the issue is not present when using the LSW directly. |
I'm running into a KaSim runtime error. However, I can't replicate it with a specific seed. A sample output:
If I run 100 randomly seeded, I see failure within 30 repetitions (often as little as 2).
If I run 100 simulations using a seed I saw fail, I run into
segmentation fault
as well, even though most of the runs ran well:In other words, out of 100 KaSim runs with the same seed, 93 finished correctly, 6 got runtime errors, 1 got a segfault. KaSim nightly 1edbeae
The text was updated successfully, but these errors were encountered: