-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). (IDFGH-11102) #12274
Comments
I had similar issue already closed, but I'm seeing a bit different stack trace on this one. |
@matislovas |
It is closed source project, but I can provide you ELF file and logs (I have only INFO level, if that's ok ..?). Where can I upload them for you? |
@matislovas |
Sent! |
@matislovas |
@matislovas |
Sent once again zipped. And also sent you wetransfer link, if the zipped one won't work. |
@matislovas |
@matislovas However, please note that this is not a permanent solution. Could you please provide some details about when the issue generally occurs(Does the issue generally occur when the signal is weak?)? Additionally, could you explain how I can reproduce this problem? Furthermore, if we are unable to reproduce the issue on our end, we may need to add some logs for analysis purposes. We will require your assistance in testing to help us further investigate. |
Generally this occurs in random intervals (have 1 device connected), 2-3 times a day, and mostly, when device is far from ESP (5-7 meters) and RSSI is less than ~95dBm (reported by ESP). Yeah, I can add additional logs for the debugging purposes. |
@zhp0406 So with your provided lib, there's a linker error, any ideas?
It works fine with stock |
@matislovas |
@matislovas |
Yeah, now it builds! Will try for couple days and will get back with results. |
After couple days of work, ESP didn't throw me that error. So I can carefully say the workaround works. Should I expect any side effects from using yours provided |
@matislovas |
I am getting this error with this #12182 update, I doubt it helps but wanted to let you know it happened not only for the issue creator. If there is anything I could post to help let me know. |
@mjaneczek |
@zhp0406 I am using your update now, today I got:
The line is different: |
Hey @zhp0406 , any progress on this? We want to launch our product in the beginning of next year based on |
@matislovas |
@zhp0406 could you share what is the trigger of the issue? In my case it was pretty random, sometimes happened once for a few hours, etc. Is it related to low RSSI? |
@mjaneczek We have already fixed this issue in the master branch, and the commit ID for the master branch is 9c40585. We are currently in the process of backporting this fix to other branches. |
I have downloaded a lib from your commit and it happened after a few hours of working. @zhp0406 |
@mjaneczek Moreover, in the latest release v5.1, our modifications have already taken effect, and you can also make use of the latest release/v5.1. commit 5f2c8ed
|
@zhp0406 I tried new release of 5.1 (through the provided Docker image), but it still fails with those errors:
|
@matislovas |
Sorry for adding more mess to the situation, you are right I was still using the old one, I tried to get new lib from here: But getting: Double checked that I was able to compile with the lib u provided in this thread in zip, not sure what I am doing wrong, is this some dev built or something, if you could give me a tip on how to make this work I will be happy to test and help with the issue. Once again, I am sorry about the wrong information. |
@zhp0406 sent you via wetransfer |
@matislovas |
@matislovas Which specific commit are you currently using? I have made a patched fix based on the latest release/v5.1 (BT controller compile version [664bcc7]). Please directly replace the file at esp-idf/components/bt/controller/lib_esp32/esp32/libbtdm_app.a |
@matislovas |
base on commit f5e484fc79e38e668768735b4b63dd976cb4266b |
Then this issue should be closed. |
Answers checklist.
IDF version.
v5.1.1
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
Olimex ESP32-POE-ISO Wroom 32E
Power Supply used.
USB
What is the expected behavior?
No core panic
What is the actual behavior?
I am using ESP32 in gattc mode, and it sometimes panics, when BLE signal is on the edge of disconnect. I recently updated
esp-idf
version from 4.4.5 to 5.1.1, but this issue still persists.Steps to reproduce.
Debug Logs.
More Information.
No response
The text was updated successfully, but these errors were encountered: