Works when I use the logger in the code. #577
-
|
See the following code below, it was tested on another system previously but now fails if I take out a debug statement in Circle. bool font_codec::ttf_load_glyf(Mount* file, ttf_t* ttf) } So when it gets to 40 if warns of a heapallocator error. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
What is the exact error message, that is shown from the heapallocator? |
Beta Was this translation helpful? Give feedback.
-
|
It worked on the RPI4. |
Beta Was this translation helpful? Give feedback.
-
|
Works on the RPI5 now, I just needed to use calloc instead of malloc. |
Beta Was this translation helpful? Give feedback.
This assertion fails, when a memory block is freed, and the block was not really allocated by the heap allocator (i.e. the handed over pointer is wrong), or the block header, which is placed in front of the block, has been overwritten by someone. In both cases head allocator is not responsible for the fault.