-
Notifications
You must be signed in to change notification settings - Fork 17
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
unloadFont crashes ESP32 S3 when font file is in FLASH #12
Comments
Hi @Bodmer The line that you teach me has been removed in the latest develop branch. If you don't mind, could you please provide feedback on whether this issue has been resolved in the develop branch ? Thank you. |
Deleting the line fixes it. |
This fix worked for me too: I deleted line 249 from the library and my program stopped crashing on font unload. Update: my board is ESP32 NodeMCU-32S |
Other changes suggested as in #16 |
I just commented out line 249 and recompiled everything and successfully got rid of the abort. Here is the info from before the change. From Serial Monitor:
From EspExceptionDecoder
|
The ESP32 and RP2040 processors run fine, but the new ESP32 S3 processor crashes after using a font file in FLASH and then calling unloadFont().
This line is causing the crash. Since the sketch has provided the pointer in this case it seems inappropriate for the library to try to delete the memory allocation.
The text was updated successfully, but these errors were encountered: