forked from wled/WLED
-
-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Labels
bugSomething isn't workingSomething isn't workingfxed in mdevfixed in latest mdev source codefixed in latest mdev source code
Description
What happened?
I often see crashes on my 64x64 matrix when changing between particle effects. It seems to be related to heap corruption.
What version/release of MM WLED?
dev
Which microcontroller/board are you seeing the problem on?
ESP32
Relevant log/trace output
*** Free heap: 56492 Largest free block: 12276 *** Arduino min free stack: 4220 TCP min free stack: 6016 ***
*** Free heap: 56492 Largest free block: 12276 *** Arduino min free stack: 4220 TCP min free stack: 6016 ***
60 lps 16.6ms 61 fps
<<< This is the moment when I changed to another PS effect >>>
deserializeState(): strip is still drawing effects.
strip.waitUntilIdle(): strip idle after 12 ms. (task async_tcp with prio=3)
setUpMatrix 64 x 64
setupmatrix customMappingTable alloc 0 from 0
WLED error code = 34
CORRUPT HEAP: Bad tail at 0x3fffb04d. Expected 0xbaad5678 got 0x00000000
assert failed: multi_heap_free multi_heap_poisoning.c:253 (head != NULL)
Backtrace: 0x400869cd:0x3ffb1ff0 0x40090321:0x3ffb2010 0x40096cbd:0x3ffb2030 0x400968d3:0x3ffb2160 0x40086f2d:0x3ffb2180 0x40096ced:0x3ffb21a0 0x400f7a95:0x3ffb21c0 0x400feb42:0x3ffb21e0 0x400ff25e:0x3ffb2200 0x40141672:0x3ffb2230 0x40141c51:0x3ffb2270 0x4016b5e1:0x3ffb2290
#0 0x400869cd:0x3ffb1ff0 in panic_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/panic.c:408
#1 0x40090321:0x3ffb2010 in esp_system_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c:137
#2 0x40096cbd:0x3ffb2030 in __assert_func at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/newlib/assert.c:85
#3 0x400968d3:0x3ffb2160 in multi_heap_free at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/multi_heap_poisoning.c:253
(inlined by) multi_heap_free at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/multi_heap_poisoning.c:245
#4 0x40086f2d:0x3ffb2180 in heap_caps_free at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/heap_caps.c:361
#5 0x40096ced:0x3ffb21a0 in free at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/newlib/heap.c:39
#6 0x400f7a95:0x3ffb21c0 in Segment::deallocateData() at wled00/FX_fcn.cpp:258
#7 0x400feb42:0x3ffb21e0 in Segment::resetIfRequired() at wled00/FX_fcn.cpp:276
(inlined by) Segment::resetIfRequired() at wled00/FX_fcn.cpp:272
#8 0x400ff25e:0x3ffb2200 in WS2812FX::service() at wled00/FX_fcn.cpp:1908 (discriminator 2)
#9 0x40141672:0x3ffb2230 in WLED::loop() at wled00/wled.cpp:237
#10 0x40141c51:0x3ffb2270 in loop() at C:/ARDUINO_Work/WORK/#ESP32/WLED_soundreactive-GitHub_DEV/WLED_MoonModules/WLED_mdev3_orig_clean/wled00/wled00.ino:98
#11 0x4016b5e1:0x3ffb2290 in loopTask(void*) at C:/Users/frank/.platformio/packages/framework-arduinoespressif32/cores/esp32/main.cpp:50
ELF file SHA256: 9ea90e678a622b27
Rebooting...Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfxed in mdevfixed in latest mdev source codefixed in latest mdev source code