-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
beta.1 crashes after ctrl-d after exception in REPL #2378
Comments
I cannot reproduce this
|
Locally I built with gcc9 and gcc7. I reproduce this with 9, but not with 7. @dhalbert has already identified one specific place where code changed and made a problem (volatile is now needed to get the same result); this may be some other thing. Perhaps we should consider reverting to the older compiler at this time. @tannewt thoughts? |
Has anyone reproduced this under GDB? I wouldn't rollback the compiler unless we can't figure it out. |
interesting -- That explains why my CPB experience is different. It was build with the old compiler. |
I am willing to try to figure this out. It probably reflects a real bug. Importantly, we should note these fixes in MicroPython for gcc 9 issues: |
Ok, I reproduced it with an optimized build on nRF. The stack trace isn't helpful:
I'm cherry picking the commits from micropython#5008 now. |
The commit from micropython#4844 fixes this. |
Glad to hear this is fixed, I just noticed it on |
Same result on CPB, so it's not port-specific:
The text was updated successfully, but these errors were encountered: