-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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 (Interrupt wdt timeout on CPU0). (IDFGH-4630) #6444
Comments
Thanks for reporting and sorry for the inconvenience, we will look into. |
Hi, we also see this issue also from time to time, ESP-IDF: 6f3f2e875 ASSERT_PARAM(-218959118 0), in arch_main.c at line 343 Core 0 register dump: Backtrace:0x400845b9:0x3ffbe280 0x40118361:0x3ffbe2a0 0x40019fb5:0x3ffbe2c0 0x40088cba:0x3ffbe2f0 0x4008763d:0x3ffbe330 0x40087359:0x3ffbe350 0x40089a46:0x3ffbe370 0x4008ab37:0x3ffbe390 0x40083b3d:0x3ffbe3b0 0x40118784:0x3ffb56e0 0x40118d2d:0x3ffb5700 0x400845b9: r_assert_param at ??:? 0x40118361: r_platform_reset at ??:? 0x40088cba: r_lld_pdu_rx_handler at ??:? 0x4008763d: r_lld_evt_end at ??:? 0x40087359: r_lld_evt_end_isr at ??:? 0x40089a46: r_rwble_isr at ??:? 0x4008ab37: r_rwbtdm_isr_wrapper at intc.c:? 0x40083b3d: _xt_lowint1 at /home/patrik/Dev/Njord/njord/3rdParty/esp-idf/components/freertos/xtensa/xtensa_vectors.S:1105 0x40118784: r_rw_schedule at ??:? 0x40118d2d: btdm_controller_task at ??:? Core 1 register dump: Backtrace:0x401b6877:0x3ffbc490 0x400d61e1:0x3ffbc4b0 0x40092128:0x3ffbc4d0 0x401b6877: esp_pm_impl_waiti at /home/patrik/Dev/Njord/njord/3rdParty/esp-idf/components/esp32/pm_esp32.c:484 0x400d61e1: esp_vApplicationIdleHook at /home/patrik/Dev/Njord/njord/3rdParty/esp-idf/components/esp_common/src/freertos_hooks.c:63 0x40092128: prvIdleTask at /home/patrik/Dev/Njord/njord/3rdParty/esp-idf/components/freertos/tasks.c:3386 ELF file SHA256: b64cec68af151861 Rebooting... |
Hi, After extensive testing and bisecting, we might have pin pointed the fault. It is unfortunate that BT Lib is closed source which makes debugging issues like this very time consuming. And even now after finding the issue we are not sure why this flag exactly fixes the issue. Please, whoever is experiencing this issue, check if this flag also mitigates/fixes the crash. /Erik |
Could this be the same issue as in: adding |
The crash seems similar but the cause might be different as the task watchdog triggers first which might indicate that you are starving the task. I have not seen your code but I would guess that you might be executing long commands within Bluetooth callbacks or Timer callbacks which should be short as possible. Sadly BT controller is closed source but I think it is extensively using FreeRTOS timers, so if you block the timer, it will block some functions within the BT controller and it might crash because of that. |
My code is pretty much just a slightly modified BT example, with no long executions in BT. |
Are always getting first the task watchdog and then it crashes with interrupt WDT or it crashes instantly with interrupt WDT? |
The WDT triggers a few times and then on the 3rd or 4th it crashes for good. |
This is because there is no available memory in the controller. Can you provide a demo that can be reproduce this issue? @zjykymt |
I think this issue #6517 is also related to this issue. There might be a change in the esp-bt-lib addressing this issue. Can you check this comment? |
Hi, my test results are as follows (ESP-IDF 4.2): |
hi @zjykymt We had the same problem, keep in mind that disabling CONFIG_BTDM_MODEM_SLEEP increases the power consumption significantly (on our board current was about 100 mA) Can you check if you get the issue with the version on master with CONFIG_BTDM_MODEM_SLEEP enabled? |
hi @alexmantaut I will try to test on the master branch in these two days. |
hi @alexmantaut I used the esp-idf(v4.4) on the master branch for testing. When CONFIG_BTDM_CTRL_MODEM_SLEEP is enabled, there is no problem. |
Release 4.2.1 and 4.3 has solved this problem, I closed this ISSUE.
|
Hi,
Environment
Problem Description
UART1 is connected to a 4G modem at 115200bps, and the communication uses AT commands.
When I use HTTP to download a file (approximately 1MBytes), every 512 bytes after the download is completed, it is stored in the internal flash that in the ESP32-WROOM-32E module. In this case, this Guru Meditation Error happens occasionally.
Please help check the crash log:
Debug Logs
The text was updated successfully, but these errors were encountered: