ESP 8266 12E - AP Crashes When Connected by an OS X client
Posted: Wed Jan 29, 2020 6:44 pm
core version = 2.6.3
The ESP runs setup, scans available wifi networks to indicate unused channels, and starts the own AP (code in attachement).
When it is connected by Android or IOS devices - all good, and the ping commands to the IP 192.168.4.1 have no errors.
However, if I connect to the AP using the MacBook Pro, OS X El Captain 10.11.6:
the Serial Debug shows the exception
and the ESP EXCEPTION DECODER shows
As I understand - the stack shows the error on the SYS level, not the sketch. I have tried installing previous versions of the ESP core down to 2.4.X, thought it might help, however the bug reproduces.
Would be happy if someone can give the advice on how to resolve this issue.
The ESP runs setup, scans available wifi networks to indicate unused channels, and starts the own AP (code in attachement).
When it is connected by Android or IOS devices - all good, and the ping commands to the IP 192.168.4.1 have no errors.
However, if I connect to the AP using the MacBook Pro, OS X El Captain 10.11.6:
the Serial Debug shows the exception
Code: Select all
"Exception (3):
epc1=0x4000deea epc2=0x00000000 epc3=0x00000000 excvaddr=0x402479f8 depc=0x00000000"
and the ESP EXCEPTION DECODER shows
Code: Select all
Exception 3: LoadStoreError: Processor internal physical address or data error during load or store
PC: 0x4000deea
EXCVADDR: 0x402479f8
Decoding stack results
0x40238d60: handle_dhcp at glue-lwip/esp-dhcpserver.c line 626
0x40238d20: handle_dhcp at glue-lwip/esp-dhcpserver.c line 679
0x40100c25: check_poison_neighbors(unsigned short) at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/umm_malloc/umm_local.c line 71
0x40100ced: umm_malloc_core(size_t) at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/umm_malloc/umm_malloc.cpp line 422
0x4021cc08: udp_input at core/udp.c line 404
0x4023843c: pbuf_alloc at glue-esp/lwip-esp.c line 669
0x402217a4: ip4_input at core/ipv4/ip4.c line 1461
0x40100f0b: umm_free(void*) at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/umm_malloc/umm_malloc.cpp line 362
0x40218e51: ethernet_input_LWIP2 at netif/ethernet.c line 188
0x40218c74: esp2glue_ethernet_input at glue-lwip/lwip-git.c line 469
0x40238522: ethernet_input at glue-esp/lwip-esp.c line 365
0x40238533: ethernet_input at glue-esp/lwip-esp.c line 373
0x40100f8c: umm_poison_malloc(size_t) at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/umm_malloc/umm_poison.c line 158
0x40218ac2: new_linkoutput at glue-lwip/lwip-git.c line 260
0x40100c25: check_poison_neighbors(unsigned short) at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/umm_malloc/umm_local.c line 71
0x40100ced: umm_malloc_core(size_t) at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/umm_malloc/umm_malloc.cpp line 422
0x40100bd6: check_poison_neighbors(unsigned short) at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/umm_malloc/umm_local.c line 59
0x40100bd6: check_poison_neighbors(unsigned short) at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/umm_malloc/umm_local.c line 59
0x40100ced: umm_malloc_core(size_t) at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/umm_malloc/umm_malloc.cpp line 422
0x40100f58: umm_malloc(size_t) at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/umm_malloc/umm_malloc.cpp line 511
0x40100fcd: umm_poison_calloc(size_t, size_t) at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/umm_malloc/umm_poison.c line 176
0x40100154: ets_post(uint8, ETSSignal, ETSParam) at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/core_esp8266_main.cpp line 160
0x40212375: _printf_i at /home/earle/src/esp-quick-toolchain/repo/newlib/newlib/libc/stdio/nano-vfprintf_i.c line 194
0x40100bd6: check_poison_neighbors(unsigned short) at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/umm_malloc/umm_local.c line 59
0x40100ced: umm_malloc_core(size_t) at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/umm_malloc/umm_malloc.cpp line 422
0x40100154: ets_post(uint8, ETSSignal, ETSParam) at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/core_esp8266_main.cpp line 160
0x40100154: ets_post(uint8, ETSSignal, ETSParam) at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/core_esp8266_main.cpp line 160
0x40208ed1: run_scheduled_functions() at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/Schedule.cpp line 123
0x4020681d: __loop_end() at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/core_esp8266_main.cpp line 167
0x40206830: loop_wrapper() at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/core_esp8266_main.cpp line 172
0x402066e7: loop_task(ETSEvent*) at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/core_esp8266_main.cpp line 188
0x40206830: loop_wrapper() at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/core_esp8266_main.cpp line 172
0x40100154: ets_post(uint8, ETSSignal, ETSParam) at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/core_esp8266_main.cpp line 160
0x40100175: esp_schedule() at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/core_esp8266_main.cpp line 113
0x40206859: loop_wrapper() at /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266/core_esp8266_main.cpp line 182
As I understand - the stack shows the error on the SYS level, not the sketch. I have tried installing previous versions of the ESP core down to 2.4.X, thought it might help, however the bug reproduces.
Would be happy if someone can give the advice on how to resolve this issue.