-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
mutex assert triggering (IDFGH-7923) #9441
Comments
Removed double quotes from CMakeLists.txt files as they seem to not be needed. Updated the mqtt and esp_http_client examples. Removed make build system files. Remade the sdkconfig file. Tracking espressif/esp-idf#9441
Managed to reproduce it pretty consistently with these settings: defconfig
ELF file: |
Same(?) problem on another app
Edit: definitely seems to be related
|
I have the same issue with the master updated. |
Hi @dizcza could you please open a new issue with details of your problem. |
Indeed this seems to be a bug. With Backtrace
Piece of the core dump
|
Then I suggest reopen this issue otherwise people will still hit this issue with |
People from espressif are free to do so should they care enough. As far as I'm concerned, just keeping the config disabled is enough to close this issue on my part. |
Just manifested at a different assert, but the same CONFIG_LOG_TIMESTAMP_SOURCE_SYSTEM=y removal has fixed it here as well. My assert was at:
esp-idf at release/v5.0 |
This issue also gave me hours of debugging. If no immediate fix is planned, could you please update the documentation or the Kconfig to warn the problem? |
Please let us know if the solution in #10649 fixes the issue. Meantime, I'm posting the traceback of how I'm getting this error: Case 1
Case 2
localtime_r(&gps_record.time.timespec.tv_sec, &tm); Each time a new traceback. Crazy. Misleading unless you know about this issue. |
As you can see from Case 2, |
@KaeLL already have! It's working for an hour with no errors (previously, it could take several hours to finally trigger the error). Still, I'd like to see someone verifying the fix instead of "oh it works for me, done with it". |
Removed double quotes from CMakeLists.txt files as they seem to not be needed. Updated the mqtt and esp_http_client examples. Removed make build system files. Remade the sdkconfig file. Tracking espressif/esp-idf#9441
Environment
Problem Description
I'm updating a test app of mine to latest IDF, and the assert checking if a mutex is being released by a different thread keeps triggering. Worth noting that it's very hard to reproduce, but when it happens, it's always after the MQTT log (shown below).
Debug Logs
Log
Other items if possible
defconfig
The text was updated successfully, but these errors were encountered: