-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Crash and hang on coredump save (IDFGH-4710) #6519
Comments
Hi @gerekon, Thanks for your answer. Here's my partition.csv :
|
W/o debugger in case of exception panic handler should be re-entered and you would see special message. BTW can you retrive backtrace from the point you hit DoubleException?
Hmm, looks strange... In any case if core dump was stuck at some point the board should be reset by RTC watchdog.
Coredump code works on the task's stack and needs some extra stack space. For saving data in ELF format it requires more stack (~800 bytes) than for binary one. So possible option is to switch to binary coredump format. |
Without wanting to hijack the thread but doing so anyway, I've had issues with DoubleException and the board not resetting itself at all, so much so that I had to develop a way to kind of reboot the board externally. |
@gerekon @KaeLL I'll check to have more info about the double exception, i'll let you know. |
@gerekon Good luck. I gave up on trying to find out what was happening and went for the radical solution. |
Environment
Problem Description
ESP can crash and hang forever.
Expected Behavior
ESP crash but recover and reboot by itself
Actual Behavior
ESP crash and doesn't recover, just hang.
Steps to reproduce
I couldn't reproduce on a simple project, but when I call restart, with a too small stack for LWIP thread, it crashes before restarting, but half the time, it hang and never recover until power cycle.
Here's the log :
Here's the SDK config : sdkconfig_debug.txt
If I debug, I hit the first stack overflow and can't see the actual problem that hangs after.
I modified a bit the SDK so it's not creating a breakpoint when a crash happens.
It seems that I hit a double exception :
I'd like to know what to do so it doesn't hang forever in case of a crash.
Let me know if you need more information.
The text was updated successfully, but these errors were encountered: