ESP-12f running wLED crashing (a little off topic)

Every time I think I am ready to cross the finish line with my Zen Table, something else pops up. I am using wLED (which is great!) but it keeps crashing and resetting my colors to the default. Seems random, and isnt related to any action. Just sitting there and β€œboom”. This is what the serial port and exception decoder gives me (below). Anyone with ESP experience point me in a direction? Software is not my strong suit. I am also looking for help in the wLED community, but I figured I would cast a wide net. Thank you!

22:14:14.557 β†’ Exception (0):
22:14:14.557 β†’ epc1=0x402a149c epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
22:14:14.557 β†’
22:14:14.557 β†’ >>>stack>>>
22:14:14.557 β†’
22:14:14.557 β†’ ctx: cont
22:14:14.557 β†’ sp: 3ffffb20 end: 3fffffc0 offset: 0190
22:14:14.557 β†’ 3ffffcb0: 3ffea2ce 00000000 00000000 4024b6e0
22:14:14.557 β†’ 3ffffcc0: 00000000 3fff3684 00000010 3ffef0a0
22:14:14.557 β†’ 3ffffcd0: 00000002 00000000 4026f9b0 00000000
22:14:14.557 β†’ 3ffffce0: 00000000 00000000 00000000 3ffef054
22:14:14.557 β†’ 3ffffcf0: 4029f7c0 4026f9b0 00000000 00000000
22:14:14.557 β†’ 3ffffd00: 00000000 00000000 00000000 4026fa93
22:14:14.557 β†’ 3ffffd10: 00000002 00000000 4026f9b0 00000000
22:14:14.557 β†’ 3ffffd20: 00000000 00000000 00000000 40105876
22:14:14.557 β†’ 3ffffd30: 40105858 3fffc100 3fffdad0 00000000
22:14:14.557 β†’ 3ffffd40: 00000000 4026f9b0 3fff20fc 401022b8
22:14:14.557 β†’ 3ffffd50: 400005e1 4010472e 3ffee700 00040000
22:14:14.557 β†’ 3ffffd60: 4026f9b0 00000033 00000010 40103030
22:14:14.557 β†’ 3ffffd70: 40105876 04000102 00000000 00000001
22:14:14.557 β†’ 3ffffd80: fbf8ffff 04000002 3feffe00 00000100
22:14:14.557 β†’ 3ffffd90: 0000001a 00000018 04000102 40105858
22:14:14.557 β†’ 3ffffda0: 3fffc100 3fffdad0 0000001c 00000000
22:14:14.557 β†’ 3ffffdb0: 40104b9f 00000000 0000001f 40100968
22:14:14.557 β†’ 3ffffdc0: 00000000 00000000 0000001f 40100968
22:14:14.557 β†’ 3ffffdd0: 40104667 0000007f 3fffc228 40105e11
22:14:14.557 β†’ 3ffffde0: 4000050c 00000030 00000010 ffffffff
22:14:14.557 β†’ 3ffffdf0: 4000dd24 00000030 00000010 ffffffff
22:14:14.557 β†’ 3ffffe00: 4000066d 00178812 4bc6a7f0 00000017
22:14:14.557 β†’ 3ffffe10: 00004bc6 f3bf4ee0 00000000 fffffffe
22:14:14.557 β†’ 3ffffe20: 00002855 3fffc6fc 59434ee0 00178812
22:14:14.557 β†’ 3ffffe30: 4bc6a7f0 00178812 00000000 00000030
22:14:14.557 β†’ 3ffffe40: 40100a05 00000000 3fff0f3c 00000000
22:14:14.557 β†’ 3ffffe50: 40105870 4010586d 00000000 00000041
22:14:14.557 β†’ 3ffffe60: 400005e1 00000003 00000000 3ffefeaa
22:14:14.557 β†’ 3ffffe70: 40216cbe 00000030 00000010 00000030
22:14:14.557 β†’ 3ffffe80: 4022eaf9 00000000 00000000 00000000
22:14:14.557 β†’ 3ffffe90: 00004bc6 00000000 00000000 fffffffe
22:14:14.557 β†’ 3ffffea0: 00000000 3fffc6fc 00000000 3ffefeaa
22:14:14.557 β†’ 3ffffeb0: 00000000 3fffdad0 3fff0ef8 0000001c
22:14:14.557 β†’ 3ffffec0: 0000002b 00000000 40100a60 00000000
22:14:14.557 β†’ 3ffffed0: 00000000 4bc6a7f0 d374bc6a 00000000
22:14:14.557 β†’ 3ffffee0: 00000000 00000000 4bc6a7f0 00000000
22:14:14.557 β†’ 3ffffef0: 00000000 4bc6a7f0 e4189374 00000000
22:14:14.557 β†’ 3fffff00: 00000000 4bc6a7f0 e9ba5e35 00000000
22:14:14.557 β†’ 3fffff10: 00000000 00000000 4bc6a7f0 00000000
22:14:14.557 β†’ 3fffff20: 00000000 00000000 40100a60 00000611
22:14:14.557 β†’ 3fffff30: 00000000 5619ff83 3ffefe00 4022c344
22:14:14.557 β†’ 3fffff40: 000704b6 00000000 00000001 40100968
22:14:14.557 β†’ 3fffff50: 3ffffeb0 3fff0dac 3ffefeaa 3fff0ef8
22:14:14.557 β†’ 3fffff60: 3fffdad0 00000000 3fff09d8 40217e5b
22:14:14.557 β†’ 3fffff70: 3fffdad0 00000000 3ffefeaa 4022eaf6
22:14:14.557 β†’ 3fffff80: 00000000 00000000 00000001 3fff0ef8
22:14:14.557 β†’ 3fffff90: 3fffdad0 00000000 3fff0eb8 4022f674
22:14:14.557 β†’ 3fffffa0: feefeffe feefeffe feefeffe 4024b1c4
22:14:14.557 β†’ 3fffffb0: feefeffe feefeffe 3ffe8830 401008cd
22:14:14.557 β†’ <<<stack<<<

The exception decoder says:

Exception 0: Illegal instruction PC: 0x402a149c EXCVADDR: 0x00000000 Decoding stack results 0x40100968: realloc(void , size_t) * at C:\Users\nick.stiesi\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\cores\esp8266\umm_malloc\ umm_malloc.cpp line 1116 0x40100968: realloc(void , size_t) * at C:\Users\nick.stiesi\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\cores\esp8266\umm_malloc\ umm_malloc.cpp line 1116 0x40100a60: schedule_recurrent_function_us(std::function const&, unsigned int, std::function const&) at C:\Users\nick.stiesi\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\cores\esp8266/ PolledTimeout.h line 129 0x40100a60: schedule_recurrent_function_us(std::function const&, unsigned int, std::function const&) at C:\Users\nick.stiesi\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\cores\esp8266/ PolledTimeout.h line 129 0x40100968: realloc(void , size_t) * at C:\Users\nick.stiesi\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\cores\esp8266\umm_malloc\ umm_malloc.cpp line 1116 0x401008cd: realloc(void , size_t) * at C:\Users\nick.stiesi\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\cores\esp8266\umm_malloc\ umm_malloc.cpp line 1090

Did you figure this one out?

I have no idea, the first thing I would do is reflash. Second would be check the power supply is big enough. I know you are having current issues in the LED’s themselves…maybe related?

Not yet. I did reflash with a complete flash wipe. It helped, but didn’t eliminate. I average about 2-3 hours of uptime between occurrences.

I opened a bug issue on the wLED GitHub, and Christian is helping me. First suggestion was to try a new ESP, which I have some new units coming from Amazon on Tuesday. Apparently the exception code is an unusual one.

1 Like

You might also try jumping back a version or two. It would be worth it just to eliminate the possibility that it was a new bug.