Open sweemeng opened 3 years ago
I use EspExceptionDecoder. From the error. I think I really run out of memory. Unless I read the stacktrace wrongly
Decoding stack results
0x4008d1da: commonErrorHandler_dump at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c line 487
0x4008d359: commonErrorHandler at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c line 582
0x4008d63d: xt_unhandled_exception at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c line 367
0x4008d199: invoke_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c line 154
0x4008d415: abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c line 171
0x40089365: lock_acquire_generic at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/newlib/locks.c line 143
0x40089491: _lock_acquire_recursive at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/newlib/locks.c line 171
0x400fae5f: _vfiprintf_r at ../../../.././newlib/libc/stdio/vfprintf.c line 860
0x400f6a05: fiprintf at ../../../.././newlib/libc/stdio/fiprintf.c line 50
0x400f691c: __assert_func at ../../../.././newlib/libc/stdlib/assert.c line 59
0x4008f43d: vTaskEnterCritical at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/portmux_impl.inc.h line 105
0x4009144b: multi_heap_internal_lock at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/heap/multi_heap.c line 375
0x40091a85: multi_heap_malloc at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/heap/multi_heap_poisoning.c line 194
0x40082131: heap_caps_malloc at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/heap/heap_caps.c line 111
0x40082308: heap_caps_calloc at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/heap/heap_caps.c line 325
0x400815d7: ps_calloc at /home/sweemeng/.arduino15/packages/esp32/hardware/esp32/1.0.6/cores/esp32/esp32-hal-psram.c line 66
0x400d50da: TFT_eSprite::callocSprite(short, short, unsigned char) at /home/sweemeng/Arduino/libraries/M5Stack/src/utility/Sprite.cpp line 138
0x400d515e: TFT_eSprite::createSprite(short, short, unsigned char) at /home/sweemeng/Arduino/libraries/M5Stack/src/utility/Sprite.cpp line 71
0x400d99d8: m5avatar::Face::draw(m5avatar::DrawContext*) at /home/sweemeng/Arduino/libraries/M5Stack_Avatar/src/Face.cpp line 102
0x400d8a47: m5avatar::Avatar::draw() at /home/sweemeng/Arduino/libraries/M5Stack_Avatar/src/Avatar.cpp line 135
0x400d8a73: m5avatar::drawLoop(void*) at /home/sweemeng/Arduino/libraries/M5Stack_Avatar/src/Avatar.cpp line 32
0x4008e41a: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143
Describe the bug Code crash in setup() when Avatar library and WiFi is used together. There is no compilation error.
To Reproduce Compile the following source code, in platform IO, upload to M5Stack-fire. View the serial monitor.
Platformio config is here
Expected behavior Code should work run on m5stack-fire. It should not cause the device to rebook.
Logs If any compile error occurs, add a full compile log.
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
This is run on M5Stack-fire
Output from serial monitor when running the code