ESP32-S2 abort() in locks.c with no reference to my code in backtrace [WIFI-3462][WIFI-3463]
Posted: Tue Mar 02, 2021 11:57 am
On an ESP32-S2 using ESP-IDF v4.3-beta1-25-g603db1828
I'm getting a deterministic abort about 1400ms after boot.
The backtrace doesn't reference any of my code.
Looking for suggestions on how to work out what is going on.
I'm getting a deterministic abort about 1400ms after boot.
The backtrace doesn't reference any of my code.
Code: Select all
abort() was called at PC 0x40026786 on core 0
0x40026786: lock_acquire_generic at E:/Dev/Espressif/esp-idf/components/newlib/locks.c:138
Backtrace:0x4002d14b:0x3ffdd350 0x4002d90d:0x3ffdd370 0x40034462:0x3ffdd390 0x40026786:0x3ffdd400 0x400268d1:0x3ffdd430 0x4010bd0a:0x3ffdd450 0x4010ed69:0x3ffdd760 0x40119849:0x3ffdd790 0x40032ee5:
0x3ffdd7c0 0x400ff285:0x3ffdd810 0x400ff2af:0x3ffdd890 0x40029ae7:0x3ffdd8e0 0x40029bc1:0x3ffdd940 0x4002b62c:0x3ffdd960 0x400ec0eb:0x3ffdd980 0x40035e41:0x3ffdd9c0 0x40030651:0x3ffdd9f0
0x4002d14b: panic_abort at E:/Dev/Espressif/esp-idf/components/esp_system/panic.c:356
0x4002d90d: esp_system_abort at E:/Dev/Espressif/esp-idf/components/esp_system/system_api.c:112
0x40034462: abort at E:/Dev/Espressif/esp-idf/components/newlib/abort.c:46
0x40026786: lock_acquire_generic at E:/Dev/Espressif/esp-idf/components/newlib/locks.c:138
0x400268d1: _lock_acquire_recursive at E:/Dev/Espressif/esp-idf/components/newlib/locks.c:166
0x4010bd0a: _vfprintf_r at /builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/xtensa-esp32s2-elf/src/newlib/newlib/libc/stdio/vfprintf.c:853 (discriminator 2)
0x4010ed69: vprintf at /builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/xtensa-esp32s2-elf/src/newlib/newlib/libc/stdio/vprintf.c:34 (discriminator 5)
0x40119849: esp_log_writev at E:/Dev/Espressif/esp-idf/components/log/log.c:189
0x40032ee5: esp_log_write at E:/Dev/Espressif/esp-idf/components/log/log.c:199
0x400ff285: lib_printf at E:/Dev/Espressif/esp-idf/components/esp_wifi/src/lib_printf.c:47 (discriminator 13)
0x400ff2af: phy_printf at E:/Dev/Espressif/esp-idf/components/esp_wifi/src/lib_printf.c:57
0x40029ae7: pll_vol_cal at ??:?
0x40029bc1: wifi_track_pll_cap at ??:?
0x4002b62c: tx_pwctrl_background at ??:?
0x400ec0eb: lmacProcessTxComplete at ??:?
0x40035e41: ppTask at ??:?
0x40030651: vPortTaskWrapper at E:/Dev/Espressif/esp-idf/components/freertos/port/xtensa/port.c:168