Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dump when reloading web page while requests are open #16

Closed
andig opened this issue Mar 15, 2016 · 1 comment
Closed

Dump when reloading web page while requests are open #16

andig opened this issue Mar 15, 2016 · 1 comment

Comments

@andig
Copy link
Contributor

andig commented Mar 15, 2016

Reloading page while 1~5 requests are still pending triggers crash:

ERROR[-8] Address in use, state: Closed
Fatal exception 3(LoadStoreErrorCause):
epc1=0x4010011d, epc2=0x00000000, epc3=0x00000000, excvaddr=0x40034d08, depc=0x00000000

Exception (3):
epc1=0x4010011d epc2=0x00000000 epc3=0x00000000 excvaddr=0x40034d08 depc=0x00000000

ctx: sys 
sp: 3ffffcb0 end: 3fffffb0 offset: 01a0

>>>stack>>>
3ffffe50:  4020bff8 000000f8 3fff4f9c 401003e1  
3ffffe60:  3fff0484 000006ce 000006ce 4010020c  
3ffffe70:  3fff4c54 4020f798 3fff4c4c 401008c8  
3ffffe80:  00007526 4020f798 3fff4c54 40107158  
3ffffe90:  3fff4c54 3fff4c54 3fff54f4 40228734  
3ffffea0:  1e00a8c0 a500a8c0 00000001 3fff4f9c  
3ffffeb0:  00007526 f4a83f0d 00000050 0000c62a  
3ffffec0:  4022874a 3fff4f9c 000000ff 402268de  
3ffffed0:  4020f2e9 3fff4f9c 00000000 00000000  
3ffffee0:  4020f5cf 3fff4e54 000000ff 4020f5d9  
3ffffef0:  0000004a 3fff4f9c 00000000 4020f634  
3fffff00:  00000000 00000000 00000002 40107148  
3fffff10:  40227916 3fff4c54 3ffef684 3ffef660  
3fffff20:  3ffef684 00000000 3fff4c54 4020f6cf  
3fffff30:  402273d1 3fff4c54 00000000 40227514  
3fffff40:  f4a83f0c 000069be 00000001 00000011  
3fffff50:  00000000 00000000 4022632a 3fff4d14  
3fffff60:  3fff1ae4 3ffec336 3fff1ae4 402250bf  
3fffff70:  3fff1ae4 00000014 4022566a 3fff4d14  
3fffff80:  3fff1ae4 3fffdc80 3fff1b44 00000001  
3fffff90:  4023101f 3fff4d14 00000000 4021173f  
3fffffa0:  40000f49 3fffdab0 3fffdab0 40000f49  
<<<stack<<<


Decoding 30 results
0x4010011d: umm_assimilate_up at C:\andi\arduino\hardware\esp8266com\esp8266\cores\esp8266\umm_malloc/umm_malloc.c:1161
0x40034d08: ?? ??:0
0x4010011d: umm_assimilate_up at C:\andi\arduino\hardware\esp8266com\esp8266\cores\esp8266\umm_malloc/umm_malloc.c:1161
0x40034d08: ?? ??:0
0x4020bff8: operator() at C:\andi\arduino\hardware\esp8266com\esp8266\libraries\ESPAsyncWebServer\src/WebRequest.cpp:568
 (inlined by) _M_invoke at c:\andi\arduino\hardware\esp8266com\esp8266\tools\xtensa-lx106-elf\xtensa-lx106-elf\include\c++\4.8.2/functional:2071
0x401003e1: check_poison_block at C:\andi\arduino\hardware\esp8266com\esp8266\cores\esp8266\umm_malloc/umm_malloc.c:835
0x4010020c: _umm_free at C:\andi\arduino\hardware\esp8266com\esp8266\cores\esp8266\umm_malloc/umm_malloc.c:1285
0x4020f798: AsyncClient::_s_error(void*, signed char) at C:\andi\arduino\hardware\esp8266com\esp8266\libraries\ESPAsyncTCP\src/ESPAsyncTCP.cpp:506 (discriminator 4)
0x401008c8: free at C:\andi\arduino\hardware\esp8266com\esp8266\cores\esp8266\umm_malloc/umm_malloc.c:1731
0x4020f798: AsyncClient::_s_error(void*, signed char) at C:\andi\arduino\hardware\esp8266com\esp8266\libraries\ESPAsyncTCP\src/ESPAsyncTCP.cpp:506 (discriminator 4)
0x40107158: vPortFree at C:\andi\arduino\hardware\esp8266com\esp8266\cores\esp8266/heap.c:18
0x40228734: tcp_abandon at ??:?
0x4022874a: tcp_abort at ??:?
0x402268de: pbuf_alloc at ??:?
0x4020f2e9: AsyncClient::abort() at C:\andi\arduino\hardware\esp8266com\esp8266\libraries\ESPAsyncTCP\src/ESPAsyncTCP.cpp:506 (discriminator 4)
0x4020f5cf: AsyncClient::_close() at C:\andi\arduino\hardware\esp8266com\esp8266\libraries\ESPAsyncTCP\src/ESPAsyncTCP.cpp:506 (discriminator 4)
0x4020f5d9: AsyncClient::_close() at C:\andi\arduino\hardware\esp8266com\esp8266\libraries\ESPAsyncTCP\src/ESPAsyncTCP.cpp:506 (discriminator 4)
0x4020f634: AsyncClient::_recv(tcp_pcb*, pbuf*, signed char) at C:\andi\arduino\hardware\esp8266com\esp8266\libraries\ESPAsyncTCP\src/ESPAsyncTCP.cpp:506 (discriminator 4)
0x40107148: pvPortMalloc at C:\andi\arduino\hardware\esp8266com\esp8266\cores\esp8266/heap.c:13
0x40227916: tcp_input at ??:?
0x4020f6cf: AsyncClient::_s_recv(void*, tcp_pcb*, pbuf*, signed char) at C:\andi\arduino\hardware\esp8266com\esp8266\libraries\ESPAsyncTCP\src/ESPAsyncTCP.cpp:506 (discriminator 4)
0x402273d1: tcp_input at ??:?
0x40227514: tcp_input at ??:?
0x4022632a: ip_input at ??:?
0x402250bf: etharp_find_addr at ??:?
0x4022566a: ethernet_input at ??:?
0x4023101f: ets_snprintf at ??:?
0x4021173f: loop_task at C:\andi\arduino\hardware\esp8266com\esp8266\cores\esp8266/core_esp8266_main.cpp:43
0x40000f49: ?? ??:0
0x40000f49: ?? ??:0
@andig
Copy link
Contributor Author

andig commented Apr 6, 2016

Fixed with the changes discussed. Nice one ;)

@andig andig closed this as completed Apr 6, 2016
vortigont pushed a commit to vortigont/ESPAsyncWebServer that referenced this issue Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant