You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's a simple repro (that also shows the issue isn't with hex). If you run it with a smaller number of iterations (i.e. 0x1000) or not in a thread, it successfully runs to completion and prints "finished".
Note that it does successfully trigger an automatic collection, then fails about 144 allocations later. (Add print(gc.mem_free()) before the bytes(0) to see this).
Activity
peterhinch commentedon Nov 9, 2021
See also this forum post.
manpowre commentedon Nov 12, 2021
Its not the same issue, I tried this code here with gc.threshold(5423) and lower, and it still crashes.
rp2/mpthreadport: Fix memory corruption when thread is created in core1.
dpgeorge commentedon Mar 1, 2022
Fixed by 2d47020
rp2/mpthreadport: Fix memory corruption when thread is created in core1.
rp2/mpthreadport: Fix memory corruption when thread is created in core1.