Print Function casuing heap memory to overflow #11851
synapticonashaikh
started this conversation in
General
Replies: 1 comment 6 replies
-
This sounds suspiciously like #11781. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
Short background: I modified the minimal port to run on my controller (XMOS XCORE). Now, I'm running a basic script where I'm printing an up counter clock. After running the script for a while, the code crashes with an error "Memory access exception" (check below for a complete error message). So, I performed some extra tests and noticed that somehow the print statement is continuously allocating heap memory.
I don't remember, and not sure, but I didn't have this issue a few months ago, but now I'm having it after updating the Python stack to a recent version (a month old or something). Could someone help me resolve this issue? Or a hint on what I'm doing wrong?
I'm also attaching some snippets of the script.
Error:
Script executor:
Script and init part:
Script:
Beta Was this translation helpful? Give feedback.
All reactions