Closed moefear85 closed 2 weeks ago
Sorry to hear that you are having a bad experience.
Seems like what is happening here is that a windowoverflow is trying to spill content to an invalid stack (the startup stack), causing an exception during spilling.
heap corruption detection" to "comprehensive"
will write 0xFEFEFEFE to the startup stack when adding it to the heap which is what is causing the old start up stack values to no longer be valid.
And I guess with a higher logging level the window is spilled at an earlier stage while the start up stack is still safe, so that's why it only happens with this config combination.
We will take a look at it.
in case its relevant, i tried 12kb stacks for everything, even isrs. didnt help.
Should be fixed now with 4bf8d4915922d6f30911a7567cfbb5d3391f3473 merged
Answers checklist.
IDF version.
branch: release/v5.3 commit: 466a392
Espressif SoC revision.
esp32s2 v0.0
Operating System used.
Linux
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
None
Development Kit.
esp32-s2-wroom-I
Power Supply used.
External 3.3V
What is the expected behavior?
run without crashing
What is the actual behavior?
crashes upon boot
Steps to reproduce.
Debug Logs.
More Information.
yo long time no C (or esp-idf for that matter). this is a hobby project. what should have been 5 minutes cost me an entire afternoon to debug/pinpoint. It's 22:19 now. this reminds me why esp-idf can't be used for professional projects. If esp-idf never came to be, and espressif focused only on spi wifi modules, it would have saved me a lot of time as I would have jumped straight to stm32/nRF.