[GH-ISSUE #1660] ESP8266 boot loop #1412

Open
opened 2026-02-28 01:29:58 +03:00 by kerem · 2 comments
Owner

Originally created by @tablatronix on GitHub (Sep 29, 2023).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1660

void WiFiManager::WiFiManagerInit(){
// setMenu(_menuIdsDefault);

causes exception

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

0x4000bf64: ?? ??:0
0x4024886b: sleep_reset_analog_rtcreg_8266 at ??:?
0x4020afe0: String::String(char const*) at ??:?
0x4024886b: sleep_reset_analog_rtcreg_8266 at ??:?
0x402050aa: WiFiManager::setMenu(std::vector<char const*, std::allocator<char const*> >&) at ??:?
0x4020b024: String::copy(__FlashStringHelper const*, unsigned int) at ??:?
0x402467b8: sleep_reset_analog_rtcreg_8266 at ??:?
0x40205127: WiFiManager::WiFiManagerInit() at ??:?
0x40205380: WiFiManager::WiFiManager() at ??:?
0x40209fcc: HardwareSerial::begin(unsigned long, SerialConfig, SerialMode, unsigned char, bool) at ??:?
0x40201050: setup at ??:?
0x402111e0: DNSServer::setErrorReplyCode(DNSReplyCode const&) at ??:?
0x402111e0: DNSServer::setErrorReplyCode(DNSReplyCode const&) at ??:?
0x402111e0: DNSServer::setErrorReplyCode(DNSReplyCode const&) at ??:?
0x402111e0: DNSServer::setErrorReplyCode(DNSReplyCode const&) at ??:?
0x402111e0: DNSServer::setErrorReplyCode(DNSReplyCode const&) at ??:?
0x402111e0: DNSServer::setErrorReplyCode(DNSReplyCode const&) at ??:?
0x402111e0: DNSServer::setErrorReplyCode(DNSReplyCode const&) at ??:?
0x4020c04c: loop_wrapper() at core_esp8266_main.cpp:?
0x40100cbd: cont_wrapper at ??:?

Originally created by @tablatronix on GitHub (Sep 29, 2023). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1660 void WiFiManager::WiFiManagerInit(){ // setMenu(_menuIdsDefault); causes exception ```php Exception Cause: 3 [LoadStoreError: Processor internal physical address or data error during load or store] 0x4000bf64: ?? ??:0 0x4024886b: sleep_reset_analog_rtcreg_8266 at ??:? 0x4020afe0: String::String(char const*) at ??:? 0x4024886b: sleep_reset_analog_rtcreg_8266 at ??:? 0x402050aa: WiFiManager::setMenu(std::vector<char const*, std::allocator<char const*> >&) at ??:? 0x4020b024: String::copy(__FlashStringHelper const*, unsigned int) at ??:? 0x402467b8: sleep_reset_analog_rtcreg_8266 at ??:? 0x40205127: WiFiManager::WiFiManagerInit() at ??:? 0x40205380: WiFiManager::WiFiManager() at ??:? 0x40209fcc: HardwareSerial::begin(unsigned long, SerialConfig, SerialMode, unsigned char, bool) at ??:? 0x40201050: setup at ??:? 0x402111e0: DNSServer::setErrorReplyCode(DNSReplyCode const&) at ??:? 0x402111e0: DNSServer::setErrorReplyCode(DNSReplyCode const&) at ??:? 0x402111e0: DNSServer::setErrorReplyCode(DNSReplyCode const&) at ??:? 0x402111e0: DNSServer::setErrorReplyCode(DNSReplyCode const&) at ??:? 0x402111e0: DNSServer::setErrorReplyCode(DNSReplyCode const&) at ??:? 0x402111e0: DNSServer::setErrorReplyCode(DNSReplyCode const&) at ??:? 0x402111e0: DNSServer::setErrorReplyCode(DNSReplyCode const&) at ??:? 0x4020c04c: loop_wrapper() at core_esp8266_main.cpp:? 0x40100cbd: cont_wrapper at ??:? ```
Author
Owner

@tablatronix commented on GitHub (Sep 29, 2023):

#1587 moved menutokens in progmem

So this probably has to be adjusted
if((String)menuitem == String(_menutokens[j])){

<!-- gh-comment-id:1740308478 --> @tablatronix commented on GitHub (Sep 29, 2023): #1587 moved menutokens in progmem So this probably has to be adjusted ` if((String)menuitem == String(_menutokens[j])){`
Author
Owner

@tablatronix commented on GitHub (Nov 4, 2023):

tentative fix, not sure what the exact issue or fix here should be

f328cd05cd

<!-- gh-comment-id:1793321575 --> @tablatronix commented on GitHub (Nov 4, 2023): tentative fix, not sure what the exact issue or fix here should be f328cd05cd5aa758b414d8e6961e21a1f6370cab
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1412
No description provided.