问题 timer_insert - LoadProhibited
Posted: Fri Apr 08, 2022 6:03 am
Hello!
我碰到了一个问题,这是个偶发性的bug,触发的时间完全不规律:
[Codebox]
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x4008433a PS : 0x00060933 A0 : 0x800843fc A1 : 0x3ffd8950
0x4008433a: timer_insert at D:/esp32dev/esp-idf/components/esp_timer/src/esp_timer.c:215
A2 : 0x3ffdf9e0 A3 : 0x00000000 A4 : 0x00000000 A5 : 0x40086db0
0x40086db0: esp_phy_common_clock_enable at D:/esp32dev/esp-idf/components/esp_wifi/src/phy_init.c:197
A6 : 0x00000000 A7 : 0x00000000 A8 : 0xfd06ece0 A9 : 0xfd06ece0
A10 : 0x00a3c5cb A11 : 0x00000000 A12 : 0x3ffd06a4 A13 : 0x3ffb45d0
A14 : 0x000000fe A15 : 0x00000001 SAR : 0x0000000f EXCCAUSE: 0x0000001c
EXCVADDR: 0xfd06ece4 LBEG : 0x40084539 LEND : 0x40084541 LCOUNT : 0x00000027
0x40084539: esp_timer_impl_get_counter_reg at D:/esp32dev/esp-idf/components/esp_timer/src/esp_timer_impl_lac.c:126 (discriminator 2)
0x40084541: esp_timer_impl_get_counter_reg at D:/esp32dev/esp-idf/components/esp_timer/src/esp_timer_impl_lac.c:127 (discriminator 1)
Backtrace:0x40084337:0x3ffd8950 0x400843f9:0x3ffd8970 0x40087920:0x3ffd8990 0x40086cec:0x3ffd89b0 0x4009b096:0x3ffd89d0 0x4009bb65:0x3ffd8a40 0x4009bc4c:0x3ffd8a70 0x4009bce1:0x3ffd8a90 0x400995fc:0x3ffd8ab0
0x40084337: timer_insert at D:/esp32dev/esp-idf/components/esp_timer/src/esp_timer.c:226
0x400843f9: esp_timer_start_once at D:/esp32dev/esp-idf/components/esp_timer/src/esp_timer.c:151
0x40087920: ets_timer_arm_us at D:/esp32dev/esp-idf/components/esp_timer/src/ets_timer_legacy.c:79
(inlined by) ets_timer_arm_us at D:/esp32dev/esp-idf/components/esp_timer/src/ets_timer_legacy.c:74
0x40086cec: timer_arm_us_wrapper at D:/esp32dev/esp-idf/components/esp_wifi/esp32/esp_adapter.c:452
0x4009b096: pm_update_next_tbtt at ??:?
0x4009bb65: pm_on_beacon_rx at ??:?
0x4009bc4c: ppRxProtoProc at ??:?
0x4009bce1: ppRxPkt at ??:?
0x400995fc: ppTask at ??:?
[/Codebox]
使用的模组:ESP32-WROVER-IE(8M/16M),ESP-IDF 版本 v4.3.1-dirty .
我碰到了一个问题,这是个偶发性的bug,触发的时间完全不规律:
[Codebox]
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x4008433a PS : 0x00060933 A0 : 0x800843fc A1 : 0x3ffd8950
0x4008433a: timer_insert at D:/esp32dev/esp-idf/components/esp_timer/src/esp_timer.c:215
A2 : 0x3ffdf9e0 A3 : 0x00000000 A4 : 0x00000000 A5 : 0x40086db0
0x40086db0: esp_phy_common_clock_enable at D:/esp32dev/esp-idf/components/esp_wifi/src/phy_init.c:197
A6 : 0x00000000 A7 : 0x00000000 A8 : 0xfd06ece0 A9 : 0xfd06ece0
A10 : 0x00a3c5cb A11 : 0x00000000 A12 : 0x3ffd06a4 A13 : 0x3ffb45d0
A14 : 0x000000fe A15 : 0x00000001 SAR : 0x0000000f EXCCAUSE: 0x0000001c
EXCVADDR: 0xfd06ece4 LBEG : 0x40084539 LEND : 0x40084541 LCOUNT : 0x00000027
0x40084539: esp_timer_impl_get_counter_reg at D:/esp32dev/esp-idf/components/esp_timer/src/esp_timer_impl_lac.c:126 (discriminator 2)
0x40084541: esp_timer_impl_get_counter_reg at D:/esp32dev/esp-idf/components/esp_timer/src/esp_timer_impl_lac.c:127 (discriminator 1)
Backtrace:0x40084337:0x3ffd8950 0x400843f9:0x3ffd8970 0x40087920:0x3ffd8990 0x40086cec:0x3ffd89b0 0x4009b096:0x3ffd89d0 0x4009bb65:0x3ffd8a40 0x4009bc4c:0x3ffd8a70 0x4009bce1:0x3ffd8a90 0x400995fc:0x3ffd8ab0
0x40084337: timer_insert at D:/esp32dev/esp-idf/components/esp_timer/src/esp_timer.c:226
0x400843f9: esp_timer_start_once at D:/esp32dev/esp-idf/components/esp_timer/src/esp_timer.c:151
0x40087920: ets_timer_arm_us at D:/esp32dev/esp-idf/components/esp_timer/src/ets_timer_legacy.c:79
(inlined by) ets_timer_arm_us at D:/esp32dev/esp-idf/components/esp_timer/src/ets_timer_legacy.c:74
0x40086cec: timer_arm_us_wrapper at D:/esp32dev/esp-idf/components/esp_wifi/esp32/esp_adapter.c:452
0x4009b096: pm_update_next_tbtt at ??:?
0x4009bb65: pm_on_beacon_rx at ??:?
0x4009bc4c: ppRxProtoProc at ??:?
0x4009bce1: ppRxPkt at ??:?
0x400995fc: ppTask at ??:?
[/Codebox]
使用的模组:ESP32-WROVER-IE(8M/16M),ESP-IDF 版本 v4.3.1-dirty .