Skip to content
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

RP2350: gc.mem_free() causes hang or crash #9760

Closed
bit-13 opened this issue Oct 26, 2024 · 1 comment
Closed

RP2350: gc.mem_free() causes hang or crash #9760

bit-13 opened this issue Oct 26, 2024 · 1 comment
Labels

Comments

@bit-13
Copy link

bit-13 commented Oct 26, 2024

CircuitPython version

Adafruit CircuitPython 9.2.0-rc.0 on 2024-10-23; SparkFun Pro Micro RP2350 with rp2350a

Code/REPL

import gc
gc.mem_free()

Behavior

REPL either hangs or system crashes (USB drive disconnect/reconnect)

Description

Right after unboxing my new RP2350 board installed CircuitPython 9.2.0-rc.0 and ran the above command, which hung the REPL. Attempting to allocate a large amount of memory with x = [0]*10000 also causes a hang. Either this is a bug or there's an issue with the PSRAM on this board…

Additional information

No response

@bit-13 bit-13 added the bug label Oct 26, 2024
@dhalbert
Copy link
Collaborator

This was reported earlier in #9755 and was fixed in #9759, and will be in 9.2.0 final. You can try the artifacts in #9759 if you'd like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants