Description
Board
ESP32 LoLin (real) D32 PRO
Device Description
None. / Nothing
Hardware Configuration
No
Version
other
IDE Name
PlatformIO
Operating System
Windows 10
Flash frequency
80
PSRAM enabled
yes
Upload speed
921600
Description
Code is working with commit: 70b7c3a
Code crashes with commit: c7cc5c9 (next commit to the repo)
Revert to commit: 70b7c3a and crash goes away
FYI: Code crashes on current main. Assuming it is the same issue.
No software changes between tests. Full rebuild between tests.
Sketch
Complete code exhibiting this issue can be found at: https://github.com/MartinMueller2003/ESPixelStick
Debug Message
Backtrace:0x40094bd1:0x3ffbc0c00x400953e6:0x3ffbc0e0 0x40095638:0x3ffbc100 0x400850c2:0x3ffbc120 0x4008513e:0x3ffbc150 0x40084dd9:0x3ffbc1a0 0x4017d18b:0x3ffbc1c0 0x40185ae3:0x3ffbc1e0 0x40182ff5:0x3ffbc200 0x4015404b:0x3ffbc220
#0 0x40094bd1:0x3ffbc0c00 in block_locate_free at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/heap/heap_tlsf.c:445
(inlined by) tlsf_malloc at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/heap/heap_tlsf.c:757
Alternative backtrace
Guru Meditation Error: Core 1 panic'ed (StoreProhibited). Exception was unhandled. Backtrace:0x40094865:0x3ffb23f00x40094cfd:0x3ffb2410 0x40094f2a:0x3ffb2430 0x40085105:0x3ffb2450 0x4009530d:0x3ffb2470 0x400d076d:0x3ffb2490 0x400d6963:0x3ffb24b0 0x400ff455:0x3ffb25f0 0x400ffd21:0x3ffb26c0 0x400d067a:0x3ffb27a0 0x4012ecae:0x3ffb2820
#0 0x40094865:0x3ffb23f00 in align_ptr at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/heap/heap_tlsf.c:114
(inlined by) insert_free_block at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/heap/heap_tlsf.c:245
(inlined by) block_insert at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/heap/heap_tlsf.c:269
(inlined by) tlsf_free at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/heap/heap_tlsf.c:876
Other Steps to Reproduce
I have added tracing to my code and see that the issue happens in different locations within the code flow. If I add a delay the issue happens earlier in my code. This indicates it is not an operation performed by my code that is causing the crash. I have even gotten the issue to happen when I used a long lived loop in my setup function that feeds WD and outputs a message via the console port.
FYI: Other than outputting strings to the console, this code performs no manipulation of hardware.
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.
Metadata
Metadata
Assignees
Type
Projects
Status