Github Boards Devices Community Docs Blog

Random crashes/reboot on M5Atom lite and M5StickC

Hi all.
I own both an M5StickC and an M5Atom lite boards. Both devices crash after a random amount of time between a few seconds and some minutes.
I tried to decode exception on M5Atom lite and this is the result:
abort() was called at PC 0x401f4c5f on core 1

Backtrace: 0x40092598:0x3ffd05f0 0x400927c9:0x3ffd0610 0x401f4c5f:0x3ffd0630 0x401f4ca6:0x3ffd0650 0x401dd083:0x3ffd0670 0x401dd2c2:0x3ffd0690 0x401dd261:0x3ffd06b0 0x401f71b1:0x3ffd06d0 0x400fd37c:0x3ffd0710 0x400dbc32:0x3ffd0730 0x401005d5:0x3ffd0750 0x4008ece1:0x3ffd0770
#0 0x40092598:0x3ffd05f0 in invoke_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c:707
#1 0x400927c9:0x3ffd0610 in abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c:707
#2 0x401f4c5f:0x3ffd0630 in __cxxabiv1::__terminate(void ()()) at /builds/idf/crosstool-NG/.build/src/gcc-5.2.0/libstdc+±v3/libsupc++/eh_terminate.cc:112
#3 0x401f4ca6:0x3ffd0650 in std::terminate() at /builds/idf/crosstool-NG/.build/src/gcc-5.2.0/libstdc+±v3/libsupc++/eh_terminate.cc:112
#4 0x401dd083:0x3ffd0670 in __cxa_throw at /builds/idf/crosstool-NG/.build/src/gcc-5.2.0/libstdc+±v3/libsupc++/eh_throw.cc:87
#5 0x401dd2c2:0x3ffd0690 in operator new(unsigned int) at /builds/idf/crosstool-NG/.build/src/gcc-5.2.0/libstdc+±v3/libsupc++/new_op.cc:54
#6 0x401dd261:0x3ffd06b0 in operator new[](unsigned int) at /builds/idf/crosstool-NG/.build/src/gcc-5.2.0/libstdc+±v3/libsupc++/new_opv.cc:32
#7 0x401f71b1:0x3ffd06d0 in WiFiUDP::parsePacket() at /home/christian/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiUdp.cpp:129
#8 0x400fd37c:0x3ffd0710 in ArduinoOTAClass::handle() at /home/christian/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src/ArduinoOTA.cpp:367
#9 0x400dbc32:0x3ffd0730 in loop() at main/main.ino:1110
#10 0x401005d5:0x3ffd0750 in loopTask(void
) at /home/christian/.platformio/packages/framework-arduinoespressif32/cores/esp32/main.cpp:19
#11 0x4008ece1:0x3ffd0770 in vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c:355 (discriminator 1)

Rebooting…

Unfortunately I’m not able to understand what’s the problem, so I would appreciate if someone can help.
Thanks for reading my post.
Regards.
Christian

Hi,

Could you give us some context, by sharing the configuration used, user_config.h without credentials or your env from platformio file and the version?

Regards

Sorry, I can’t reproduce the problem anymore on my M5Atom lite, so please disregard my previous post. Probably updating PlatformIO took care of this issue.
Sorry for wasting your time

No problem, happy that you make it working :grinning: