BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

Blynk Wifi exception

In my Previous topic i posted about a wifi issue that occurs randomly with reset. I tried all the workarounds posted by other members, like staggering the timers, testing individual functions but no luck. It always ended with an exception. Today i found out a way to decode those exceptions using a tool called exception decoder

Exception 29: StoreProhibited: A store referenced a page mapped with an attribute that does not permit stores
PC: 0x4000df64
EXCVADDR: 0x00000000

Decoding stack results
0x40100968: pvPortZalloc(size_t, char const*, int) at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\heap.cpp line 301
0x4010055c: ets_post(uint8, ETSSignal, ETSParam) at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\core_esp8266_main.cpp line 177
0x40206470: loop_task(ETSEvent*) at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\core_esp8266_main.cpp line 205
0x4010055c: ets_post(uint8, ETSSignal, ETSParam) at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\core_esp8266_main.cpp line 177
0x4010055c: ets_post(uint8, ETSSignal, ETSParam) at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\core_esp8266_main.cpp line 177
0x4020c8fe: _dtoa_r at /home/earle/src/esp-quick-toolchain/repo/newlib/newlib/libc/stdlib/dtoa.c line 287
0x4010055c: ets_post(uint8, ETSSignal, ETSParam) at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\core_esp8266_main.cpp line 177
0x4020e57a: __d2b at /home/earle/src/esp-quick-toolchain/repo/newlib/newlib/libc/stdlib/mprec.c line 786
0x4010055c: ets_post(uint8, ETSSignal, ETSParam) at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\core_esp8266_main.cpp line 177
0x4010055c: ets_post(uint8, ETSSignal, ETSParam) at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\core_esp8266_main.cpp line 177
0x4010055c: ets_post(uint8, ETSSignal, ETSParam) at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\core_esp8266_main.cpp line 177
0x4020e81e: __ssputs_r at /home/earle/src/esp-quick-toolchain/repo/newlib/newlib/libc/stdio/nano-vfprintf.c line 233
0x4020e81e: __ssputs_r at /home/earle/src/esp-quick-toolchain/repo/newlib/newlib/libc/stdio/nano-vfprintf.c line 233
0x4020a8c1: _printf_i at /home/earle/src/esp-quick-toolchain/repo/newlib/newlib/libc/stdio/nano-vfprintf_i.c line 194
0x4020e81e: __ssputs_r at /home/earle/src/esp-quick-toolchain/repo/newlib/newlib/libc/stdio/nano-vfprintf.c line 233
0x4020e754: __ssputs_r at /home/earle/src/esp-quick-toolchain/repo/newlib/newlib/libc/stdio/nano-vfprintf.c line 180
0x4020a9ec: _printf_i at /home/earle/src/esp-quick-toolchain/repo/newlib/newlib/libc/stdio/nano-vfprintf_i.c line 246
0x4020ec4f: _svfprintf_r at /home/earle/src/esp-quick-toolchain/repo/newlib/newlib/libc/stdio/nano-vfprintf.c line 667
0x402075a9: uart_write(uart_t*, char const*, size_t) at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\uart.cpp line 509
0x4020aff1: snprintf at /home/earle/src/esp-quick-toolchain/repo/newlib/newlib/libc/stdio/snprintf.c line 118
0x402064fc: __esp_yield() at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\core_esp8266_main.cpp line 119
0x40206af6: __delay(unsigned long) at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\core_esp8266_wiring.cpp line 54
0x40204f14: BlynkDelay(unsigned int) at C:\Users\HG-user17\Documents\Arduino\libraries\blynk-library-master\src\utility\BlynkDebug.cpp line 285
0x40201374: BlynkArduinoClientGen ::connected() at C:\Users\HG-user17\Documents\Arduino\libraries\blynk-library-master\src/Adapters/BlynkArduinoClient.h line 115
0x40201f01: BlynkProtocol   >::sendCmd(unsigned char, unsigned short, void const*, unsigned int, void const*, unsigned int) at C:\Users\HG-user17\Documents\Arduino\libraries\blynk-library-master\src/Blynk/BlynkProtocol.h line 429
0x40202474: BlynkApi    > >::virtualWrite (int, int) at C:\Users\HG-user17\Documents\Arduino\libraries\blynk-library-master\src/Blynk/BlynkApi.h line 83
0x4010055c: ets_post(uint8, ETSSignal, ETSParam) at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\core_esp8266_main.cpp line 177
0x40100f3a: check_poison_neighbors(unsigned short) at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\umm_malloc/umm_local.c line 59
0x40101051: umm_malloc_core(size_t) at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\umm_malloc\umm_malloc.cpp line 422
0x4010055c: ets_post(uint8, ETSSignal, ETSParam) at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\core_esp8266_main.cpp line 177
0x40100954: pvPortMalloc(size_t, char const*, int) at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\heap.cpp line 271
0x4020ee69: glue2esp_linkoutput at glue-esp/lwip-esp.c line 301
0x4020f105: new_linkoutput at glue-lwip/lwip-git.c line 265
0x4020ee69: glue2esp_linkoutput at glue-esp/lwip-esp.c line 301
0x40216ab8: etharp_output_to_arp_index at core/ipv4/etharp.c line 770
0x4010055c: ets_post(uint8, ETSSignal, ETSParam) at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\core_esp8266_main.cpp line 177
0x4010055c: ets_post(uint8, ETSSignal, ETSParam) at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\core_esp8266_main.cpp line 177
0x4010055c: ets_post(uint8, ETSSignal, ETSParam) at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\core_esp8266_main.cpp line 177
0x4010055c: ets_post(uint8, ETSSignal, ETSParam) at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\core_esp8266_main.cpp line 177
0x402064c4: can_yield() at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\core_esp8266_main.cpp line 105
0x402064e5: __esp_yield() at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\core_esp8266_main.cpp line 116
0x402064f0: __esp_yield() at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266/core_esp8266_features.h line 92
0x40206af6: __delay(unsigned long) at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\core_esp8266_wiring.cpp line 54
0x40204f14: BlynkDelay(unsigned int) at C:\Users\HG-user17\Documents\Arduino\libraries\blynk-library-master\src\utility\BlynkDebug.cpp line 285
0x40201374: BlynkArduinoClientGen ::connected() at C:\Users\HG-user17\Documents\Arduino\libraries\blynk-library-master\src/Adapters/BlynkArduinoClient.h line 115
0x40201d6a: BlynkProtocol   >::run(bool) at C:\Users\HG-user17\Documents\Arduino\libraries\blynk-library-master\src/Blynk/BlynkProtocol.h line 174
0x40205624: HardwareSerial::write(unsigned char const*, unsigned int) at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266/HardwareSerial.h line 164
0x40202589: BlynkProtocol   >::connect(unsigned int) at C:\Users\HG-user17\Documents\Arduino\libraries\blynk-library-master\src/Blynk/BlynkProtocol.h line 58
0x402025ee: BlynkWifi::begin(char const*, char const*, char const*, char const*, unsigned short) at C:\Users\HG-user17\Documents\Arduino\libraries\blynk-library-master\src/BlynkSimpleEsp8266.h line 82
0x4020276c: loop() at C:\Users\HG-user17\Documents\Arduino\sketch_test/sketch_test.ino line 96
0x40206614: loop_wrapper() at C:\Users\HG-user17\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266\core_esp8266_main.cpp line 197

Has anyone experienced this exception before??. its related to Blynk connect or wifi as my board tries to connect to blynk server several times until it uses all its heap memory and then resets. Can any one point me in the right direction atleast. i am stuck with this issue.

@Dmitriy maybe the founders can shed some light on this as why this might happen. Any help will be appreciated.

A post was merged into an existing topic: Random Wifi drop after some time followed by Reboot