2f120c70ee
e.g., allocating a 192x32x6bpp matrix would be enough to trigger this reliably on a Metro M4 Express using the "memory hogging" layout. Allocating 64x32x6bpp could trigger it, but somewhat unreliably. There are several things going on here: * we make the failing call with interrupts off * we were throwing an exception with interrupts off * protomatter failed badly in _PM_free when it was partially-initialized Incorporate the fix from protomatter, switch to a non-throwing malloc variant, and ensure that interrupts get turned back on. This decreases the quality of the MemoryError (it cannot report the size of the failed allocation) but allows CircuitPython to survive, rather than faulting. |
||
---|---|---|
.. | ||
axtls@43a6e6bd3b | ||
berkeley-db-1.xx@35aaec4418 | ||
cmsis/inc | ||
embed | ||
libc | ||
libffi@e9de7e35f2 | ||
libm | ||
libm_dbl | ||
memzip | ||
mp3@bc58a65496 | ||
mp-readline | ||
netutils | ||
nrfutil@9e7dfb28a5 | ||
oofatfs | ||
protomatter@2a1ba8fa47 | ||
timeutils | ||
tinytest | ||
tinyusb@22100b252f | ||
upytesthelper | ||
utils | ||
uzlib@f966da0fab | ||
README.md |
This directory contains standard, low-level C libraries with emphasis on being independent and efficient. They can be used by any port.