Skip to content

ESP crash when multiple included files to download on web page #2

@AcuarioCat

Description

@AcuarioCat

I've updated both AsyncTCP and ESPAsyncWebServer to the latest versions (using h4 install).

I have a web page that includes 4 javascript files and 3 css files. The largest js is 29K (jquery.min.js) and the js files are all gzipped.
When I try to load the page the ESP(8266) regularly crashes.
I ran the exception decoder and got this result:

`
Exception 3: LoadStoreError: Processor internal physical address or data error during load or store
PC: 0x4023f89c: strchr at /home/earle/src/esp-quick-toolchain/repo/newlib/newlib/libc/string/strchr.c line 118
EXCVADDR: 0x40227a88: loop_wrapper() at C:\Users\nigel\AppData\Local\arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266\core_esp8266_main.cpp line 194

Decoding stack results
0x40211169: generateEventMessage(char const*, char const*, uint32_t, uint32_t) at C:\Users\nigel\Documents\Arduino\libraries\ESPAsyncWebServer\src\AsyncEventSource.cpp line 26
0x40227a88: loop_wrapper() at C:\Users\nigel\AppData\Local\arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266\core_esp8266_main.cpp line 194
0x4021af28: now() at C:\Users\nigel\Documents\Arduino\libraries\Time\Time.cpp line 252
0x40211cfc: AsyncEventSource::send(char const*, char const*, unsigned int, unsigned int) at C:\Users\nigel\Documents\Arduino\libraries\ESPAsyncWebServer\src\AsyncEventSource.cpp line 312
0x402046ab: loop() at C:\Users\nigel\Documents\Arduino\PowerSensorESP32/PowerSensorESP.ino line 649
0x40227a88: loop_wrapper() at C:\Users\nigel\AppData\Local\arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266\core_esp8266_main.cpp line 194
0x40227a90: loop_wrapper() at C:\Users\nigel\AppData\Local\arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266\core_esp8266_main.cpp line 197
`

On another project that only has a single included file (jquery) there is no problem.
I'm using LittleFS file system.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions