Closed gelsrc closed 1 year ago
It looks like the bug related with f3169246b, b499275bb.
When I build 8.0.0 with MICROPY_CPYTHON_EXCEPTION_CHAIN=0 the freeze is gone.
Thanks, that's excellent information @gelsrc !
I don't think it's a micropython core issue, as they haven't (to my knowledge) taken the chained-exception patch, nor do they reset the VM the way we do
I meant our "micropython core". Maybe we need to use an upstream tag in addition to this one.
Fixed by #7566.
CircuitPython version
Code/REPL
Behavior
The bug occurs after restarting the Python machine. Just after reset / boot code works well. The second run freeze the board.
Description
I checked this on two different boards: Waveshare RP2040-Zero and Luatos Core ESP32C3. The bug is 100% reproduciable.
Some test results:
Additional information
No response