-
Notifications
You must be signed in to change notification settings - Fork 1
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
CalledProcessError addr2line returned non-zero exit status 1 (IDFGH-13347) #1
Comments
Hello @nebkat, thank you for pointing out this issue. Let me take a look at it and I will let you know as soon as possible. |
Hello @nebkat, you are right. |
Hi @Dzarda7, Thank you very much for the prompt fix! I will try to reproduce this week but I am not entirely sure why it was occurring in the first place. My suspicion is that it might be happening when you rebuild the elf file while the app is running a previous build or something similar. I'll see if I can print a fake address or perhaps replace addr2line executable to test. |
Thanks for the additional info. I will try to reproduce by myself then. For clarification. There is some error, the fix you started talking about and I am planing to implement will just give you info what is the problem. |
I found the problem. You were correct. The panic decoder takes the elf file from build folder even when decoding from serial monitor to decode the backtrace. The problem is when you modify the build folder during running serial monitor with panic error. If you want to easily reproduce it, just run the code with panic error, monitor output and delete build folder. It will also happen when you open monitor in different project. Thank you for noticing this, I will catch the exception and try to provide some info to the user. |
Frequently getting crashes in
esp-idf-monitor
similar to this:Should this also catch
CalledProcessError
?esp-idf-panic-decoder/esp_idf_panic_decoder/pc_address_decoder.py
Lines 57 to 64 in 1ca1b96
Using Python 3.10 on ESP-IDF v5.2.
The text was updated successfully, but these errors were encountered: