Panic Handler Constantly Resetting
Posted: Thu Aug 31, 2017 7:51 pm
Sometimes my esp32 will just start to constantly reset with the following output:
It repeats this constantly until I unplug the usb cable. The module is stuck in this loop until I power cycle or until I pull the reset pin low and then high to reset the module. I have many of these units deployed, and I have seen some modules become unresponsive, and I assume it is because of this error. I have manually reset them, and they immediately start working. One time the module became unresponsive it caused damage. I've tried both debug and release compiler options, but both yield the same infinite loop.
Code: Select all
Backtrace: 0x40086159:0x3ffd45a0 0x40087588:0x3ffd45d0 0x40089585:0x3ffd4600 0x400898fa:0x3ffd47d0 0x40089269:0x3ffd4810 0x400893cc:0x3ffd4890 0x4008202e:0x3ffd48b0 0x40086156:0x3ffd4970 0x40086156:0x3ffd49a0 0x40089585:0x3ffd49d0 0x400898fa:0x3ffd4ba0 0x40089269:0x3ffd4be0 0x400893cc:0x3ffd4c60 0x4008202e:0x3ffd4c80 0x40086156:0x3ffd4d40 0x40086156:0x3ffd4d70 0x40089585:0x3ffd4da0 0x400898fa:0x3ffd4f70 0x40089269:0x3ffd4fb0 0x400893cc:0x3ffd5030 0x4008202e:0x3ffd5050 0x40086165:0x3ffd5110 0x40086165:0x3ffd5140 0x40089585:0x3ffd5170 0x400898fa:0x3ffd5340 0x40089269:0x3ffd5380 0x400893cc:0x3ffd5400 0x4008202e:0x3ffd5420 0x400884d6:0x3ffd54e0 0x400884d6:0x3ffd5500 0x40087588:0x3ffd5530 0x40089585:0x3ffd5560 0x400898fa:0x3ffd5730 0x40089269:0x3ffd5770 0x400893cc:0x3ffd57f0 0x4008202e:0x3ffd5810 0x40086156:0x3ffd58d0 0x40086156:0x3ffd5900 0x40089585:0x3ffd5930 0x400898fa:0x3ffd5b00 0x40089269:0x3ffd5b40 0x400893cc:0x3ffd5bc0 0x4008202e:0x3ffd5be0 0x40086156:0x3ffd5ca0 0x40086156:0x3ffd5cd0 0x40089585:0x3ffd5d00 0x400898fa:0x3ffd5ed0 0x40089269:0x3ffd5f10 0x400893cc:0x3ffd5f90 0x4008202e:0x3ffd5fb0 0x40086156:0x3ffd6070
0x40086159: prvTaskGetSnapshotsFromList at /Path/To/IDF/esp-idf/components/freertos/./tasks.c:4931
0x40087588: uxTaskGetSnapshotAll at /Path/To/IDF/esp-idf/components/freertos/./tasks.c:5044 (discriminator 1)
0x40089585: esp_core_dump_write at /Path/To/IDF/esp-idf/components/esp32/./core_dump.c:112
0x400898fa: esp_core_dump_to_uart at /Path/To/IDF/esp-idf/components/esp32/./core_dump.c:534
0x40089269: commonErrorHandler at /Path/To/IDF/esp-idf/components/esp32/./panic.c:546
0x400893cc: xt_unhandled_exception at /Path/To/IDF/esp-idf/components/esp32/./panic.c:546
0x4008202e: _xt_user_exc at xtensa_vectors.o:?
0x40086156: prvTaskGetSnapshotsFromList at /Path/To/IDF/esp-idf/components/freertos/./tasks.c:4931
0x40086156: prvTaskGetSnapshotsFromList at /Path/To/IDF/esp-idf/components/freertos/./tasks.c:4931
0x40089585: esp_core_dump_write at /Path/To/IDF/esp-idf/components/esp32/./core_dump.c:112
0x400898fa: esp_core_dump_to_uart at /Path/To/IDF/esp-idf/components/esp32/./core_dump.c:534
0x40089269: commonErrorHandler at /Path/To/IDF/esp-idf/components/esp32/./panic.c:546
0x400893cc: xt_unhandled_exception at /Path/To/IDF/esp-idf/components/esp32/./panic.c:546
0x4008202e: _xt_user_exc at xtensa_vectors.o:?
0x40086156: prvTaskGetSnapshotsFromList at /Path/To/IDF/esp-idf/components/freertos/./tasks.c:4931
0x40086156: prvTaskGetSnapshotsFromList at /Path/To/IDF/esp-idf/components/freertos/./tasks.c:4931
0x40089585: esp_core_dump_write at /Path/To/IDF/esp-idf/components/esp32/./core_dump.c:112
0x400898fa: esp_core_dump_to_uart at /Path/To/IDF/esp-idf/components/esp32/./core_dump.c:534
0x40089269: commonErrorHandler at /Path/To/IDF/esp-idf/components/esp32/./panic.c:546
0x400893cc: xt_unhandled_exception at /Path/To/IDF/esp-idf/components/esp32/./panic.c:546
0x4008202e: _xt_user_exc at xtensa_vectors.o:?
0x40086165: prvTaskGetSnapshotsFromList at /Path/To/IDF/esp-idf/components/freertos/./tasks.c:4931
0x40086165: prvTaskGetSnapshotsFromList at /Path/To/IDF/esp-idf/components/freertos/./tasks.c:4931
0x40089585: esp_core_dump_write at /Path/To/IDF/esp-idf/components/esp32/./core_dump.c:112
0x400898fa: esp_core_dump_to_uart at /Path/To/IDF/esp-idf/components/esp32/./core_dump.c:534
0x40089269: commonErrorHandler at /Path/To/IDF/esp-idf/components/esp32/./panic.c:546
0x400893cc: xt_unhandled_exception at /Path/To/IDF/esp-idf/components/esp32/./panic.c:546
0x4008202e: _xt_user_exc at xtensa_vectors.o:?
0x400884d6: prvTaskGetSnapshot at /Path/To/IDF/esp-idf/components/freertos/./tasks.c:4994
0x400884d6: prvTaskGetSnapshot at /Path/To/IDF/esp-idf/components/freertos/./tasks.c:4994
0x40087588: uxTaskGetSnapshotAll at /Path/To/IDF/esp-idf/components/freertos/./tasks.c:5044 (discriminator 1)
0x40089585: esp_core_dump_write at /Path/To/IDF/esp-idf/components/esp32/./core_dump.c:112
0x400898fa: esp_core_dump_to_uart at /Path/To/IDF/esp-idf/components/esp32/./core_dump.c:534
0x40089269: commonErrorHandler at /Path/To/IDF/esp-idf/components/esp32/./panic.c:546
0x400893cc: xt_unhandled_exception at /Path/To/IDF/esp-idf/components/esp32/./panic.c:546
0x4008202e: _xt_user_exc at xtensa_vectors.o:?
0x40086156: prvTaskGetSnapshotsFromList at /Path/To/IDF/esp-idf/components/freertos/./tasks.c:4931
0x40086156: prvTaskGetSnapshotsFromList at /Path/To/IDF/esp-idf/components/freertos/./tasks.c:4931
0x40089585: esp_core_dump_write at /Path/To/IDF/esp-idf/components/esp32/./core_dump.c:112
0x400898fa: esp_core_dump_to_uart at /Path/To/IDF/esp-idf/components/esp32/./core_dump.c:534
0x40089269: commonErrorHandler at /Path/To/IDF/esp-idf/components/esp32/./panic.c:546
0x400893cc: xt_unhandled_exception at /Path/To/IDF/esp-idf/components/esp32/./panic.c:546
0x4008202e: _xt_user_exc at xtensa_vectors.o:?
0x40086156: prvTaskGetSnapshotsFromList at /Path/To/IDF/esp-idf/components/freertos/./tasks.c:4931
0x40086156: prvTaskGetSnapshotsFromList at /Path/To/IDF/esp-idf/components/freertos/./tasks.c:4931
0x40089585: esp_core_dump_write at /Path/To/IDF/esp-idf/components/esp32/./core_dump.c:112
0x400898fa: esp_core_dump_to_uart at /Path/To/IDF/esp-idf/components/esp32/./core_dump.c:534
0x40089269: commonErrorHandler at /Path/To/IDF/esp-idf/components/esp32/./panic.c:546
0x400893cc: xt_unhandled_exception at /Path/To/IDF/esp-idf/components/esp32/./panic.c:546
0x4008202e: _xt_user_exc at xtensa_vectors.o:?
0x40086156: prvTaskGetSnapshotsFromList at /Path/To/IDF/esp-idf/components/freertos/./tasks.c:4931