Skip to content

exception 3 webserver close delete[]_currentHeaders #4361

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

Closed
tablatronix opened this issue Feb 13, 2018 · 5 comments
Closed

exception 3 webserver close delete[]_currentHeaders #4361

tablatronix opened this issue Feb 13, 2018 · 5 comments
Labels
waiting for feedback Waiting on additional info. If it's not received, the issue may be closed.

Comments

@tablatronix
Copy link
Contributor

tablatronix commented Feb 13, 2018

Basic Infos

Hardware

Hardware: ESP-12e
Core Version: staging

Description

Problem description

Settings in IDE

Module: nodemcu v2
Flash Size: ?4MB/1MB?
CPU Frequency: ?80Mhz?
Flash Mode: ?qio?
Flash Frequency: ?40Mhz?
Upload Using: ?OTA / SERIAL?
Reset Method: ?ck / nodemcu?

*WM: getCoreVersion(): 00000000
*WM: system_get_sdk_version(): 2.1.0(deb1901)
*WM: system_get_boot_version(): 31
*WM: disconnect configportal
station: dc:0c:5c:e2:24:41 leave, AID = 1
rm 1wifi evt: 6

bcn 0
del if1
pm open,type:2 0
Fatal exception 3(LoadStoreErrorCause):
epc1=0x4010044e, epc2=0x00000000, epc3=0x00000000, excvaddr=0x40248488, depc=0x00000000

Exception (3):
epc1=0x4010044e epc2=0x00000000 epc3=0x00000000 excvaddr=0x40248488 depc=0x00000000

ctx: cont 
sp: 3fff0c80 end: 3fff10c0 offset: 01a0

>>>stack>>>
3fff0e20:  00000014 00000010 00000009 00000000  
3fff0e30:  3fff0e70 3fff0e70 00000004 4010020c  
3fff0e40:  4010137c 014007a9 3ffec5a4 00000000  
3fff0e50:  3ffea600 3ffec5a4 3ffec410 00000000  
3fff0e60:  00000000 013ee2b1 40245826 3ffec410  
3fff0e70:  00000000 00000000 3fff1c8c 4010053a  
3fff0e80:  40243a95 3ffeb778 3fff26cc 40100990  
3fff0e90:  3ffec9e0 40242c98 3fff26cc 40106d84  
3fff0ea0:  00000000 00000000 00000001 40242831  
3fff0eb0:  40217ce3 3fff20b4 00000000 00000000  
3fff0ec0:  3ffead30 4022dd60 3fff0f30 3ffeacf0  
3fff0ed0:  3ffeac78 00000000 00000000 3ffea544  
3fff0ee0:  3ffead2c 3ffead4c 00000000 4022deb7  
3fff0ef0:  3fff0f30 00000000 00000001 00000000  
3fff0f00:  00000001 4022de3f 3fff0f30 00000001  
3fff0f10:  00000000 4022dee2 3fff0fe0 00000000  
3fff0f20:  402075a6 00000001 00000000 3fff0eb1  
3fff0f30:  3fff1200 0000028b 0000028b 4010020c  
3fff0f40:  3fff12d8 00000000 3ffe9eec 4020bc40  
3fff0f50:  00000000 00000000 3fff2fc4 00000000  
3fff0f60:  00000001 4024a448 3fff0068 40201225  
3fff0f70:  3ffe9eec 00000000 3fff272c 4010099c  
3fff0f80:  00000001 3fff0068 3fff0fe0 402012fc  
3fff0f90:  00000001 00000000 3fff0fe0 40204654  
3fff0fa0:  00000001 00000000 3fff0fe0 4020494c  
3fff0fb0:  00000000 00000000 3fff0fe0 40206700  
3fff0fc0:  4020213c 00000000 3fff0fe0 3fff008c  
3fff0fd0:  3fffdad0 00000000 00000000 4020c1a6  
3fff0fe0:  00000000 00000000 3ffe9678 00000000  
3fff0ff0:  3ffe9678 00000000 3ffe9678 00000000  
3fff1000:  3ffe9678 00000000 3ffe9678 00000000  
3fff1010:  3ffe9678 00000000 feefef35 3fff28a4  
3fff1020:  0000000f 0000000a 3fff278c 0000000f  
3fff1030:  00000000 3fff27ac 0000000f 00000000  
3fff1040:  3fff2d14 0000000f 00000000 0001d4c0  
3fff1050:  00000000 00010532 00010532 00000003  
3fff1060:  ffffffff 01000001 00010100 40201201  
3fff1070:  3ffe9bbc 00000000 01000100 01000000  
3fff1080:  00010296 00000000 00000005 3fff2d34  
3fff1090:  00000001 3fff0068 00000000 00000000  
3fff10a0:  3fffdad0 00000000 3fff0084 40202164  
3fff10b0:  feefeffe feefeffe 3fff00a0 402032c8  
<<<stack<<<

 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16 
tail 8
chksum 0x2d
csum 0x2d
v00000000

This might not be entirely accurate it may not match the compiled code exactly.

Exception Cause: 3  [LoadStoreError: Processor internal physical address or data error during load or store]

0x4010044e: check_poison_block at umm_malloc.c:?
0x40248488: wdev_exit_sniffer at ??:?
0x4010044e: check_poison_block at umm_malloc.c:?
0x40248488: wdev_exit_sniffer at ??:?
0x4010020c: _umm_free at umm_malloc.c:?
0x4010137c: ets_timer_arm_new at ??:?
0x40245826: pp_enable_noise_timer at ??:?
0x4010053a: get_unpoisoned at umm_malloc.c:?
0x40243a95: pm_open at ??:?
0x40100990: free at ??:?
0x40242c98: ic_interface_is_p2p at ??:?
0x40106d84: vPortFree at ??:?
0x40242831: esf_buf_alloc at ??:?
0x40217ce3: wifi_softap_stop at ??:?
0x4022dd60: wifi_softap_get_config_default at ??:?
0x4022deb7: wifi_softap_get_config_default at ??:?
0x4022de3f: wifi_softap_get_config_default at ??:?
0x4022dee2: wifi_softap_get_config_default at ??:?
0x402075a6: ESP8266WiFiAPClass::softAP(char const*, char const*, int, int, int) at ??:?
0x4010020c: _umm_free at umm_malloc.c:?
0x4020bc40: WiFiServer::_s_accept(void*, tcp_pcb*, long) at ??:?
0x4024a448: chip_v6_unset_chanfreq at ??:?
0x40201225: Print::write(char const*) at ??:?
0x4010099c: free at ??:?
0x402012fc: Print::print(char const*) at ??:?
0x40204654: void WiFiManager::DEBUG_WM<__FlashStringHelper const*>(__FlashStringHelper const*) at ??:?
0x4020494c: WiFiManager::stopConfigPortal() at ??:?
0x40206700: WiFiManager::startConfigPortal(char const*, char const*) at ??:?
0x4020213c: loop_wrapper() at core_esp8266_main.cpp:?
0x4020c1a6: WiFiServer::write(unsigned char) at ??:?
0x40201201: Print::write(char const*) at ??:?
0x40202164: loop_wrapper() at core_esp8266_main.cpp:?
0x402032c8: cont_norm at cont.o:?
0x4010f000: ?? ??:0

Any ideas?

I will try to get better dumps, but this is hard to reproduce atm, I will try to narrow it down or figure out how to trip it.

I do know the last thing I am calling is a server.reset() for webserver..

What is pm open,type:2 0

@tablatronix
Copy link
Contributor Author

tablatronix commented Feb 14, 2018

culprit seems to be
delete[]_currentHeaders;

@tablatronix tablatronix changed the title exception 3 exception 3 webserver close delete[]_currentHeaders Feb 14, 2018
@tablatronix
Copy link
Contributor Author

dup #4350 ?

@tonton81
Copy link

really? core 2.1? can you try with a newer version ?:P

@tablatronix
Copy link
Contributor Author

Its staging

@devyte
Copy link
Collaborator

devyte commented Feb 16, 2018

@tablatronix sketch? Did you try latest git, i.e.: after #4365 ?

@devyte devyte added the waiting for feedback Waiting on additional info. If it's not received, the issue may be closed. label Feb 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for feedback Waiting on additional info. If it's not received, the issue may be closed.
Projects
None yet
Development

No branches or pull requests

3 participants