-
Notifications
You must be signed in to change notification settings - Fork 15
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
GOCART develop crashing with out of bounds error after updates #156
Comments
Next step is to either explicitly print the lbounds of the arrays involved or to run under the debugger to see the same. Am guessing that Also - please edit your initial message above to include compiler + version. Am suspecting a compiler bug. |
Hmm, maybe the cycle did do, I think I was rebuilding in the optimized build. Just rebuilt the debugged build and put the cycles in and it runs. So either it was the continue or we have a Heisenbug. I take a fresh look at this in the morning. |
Hmm - I'd not even noticed that it said |
@tclune @bena-nasa I might introduce this bug. Let me take a took. It may be "exit" instead of cycle |
Yep, there were 4 continue statements that should have been cycle. Will make PR to fix |
@bena-nasa @tclune I am sorry I messed up with C++'s "continue". The four "continue" statement should be 'cycle'. |
No problem. It is just unfortunate that it is not a syntax error. Usually such other-language constructs are caught by the compiler. |
Now that I understand the issue (I totally missed it yesterday looking at it with Ben because I guess I was in Python land...where
Since |
After the PR merged into develop today, when I tried using the gocart develop branch, it crashed with this out of bounds error when using the "debug" build:
The odd thing is that if you examine the code, it seems like it should be protected from getting there
I tried changing the continue to cycle, thinking that maybe it was that but same behaviour. Will continue investigating.
The text was updated successfully, but these errors were encountered: