Fix LoadProhibited - #73
Conversation
* Fix LoadProhibited (me-no-dev#73) * Use sizeof instead of strlen for const char[] * Add Kconfig option to control ASYNC_TCP_SSL_ENABLED * Optionally include ssl header files * Add null check for psk_ident and pskey * Do not default to PSK when root_ca is not explcitly set. tcp_ssl_new_client() has a case to handle this. * Move psk null checks to top of function, remove unneeded include, syntax cleanup. Authored-by: Bob <bob.mooij@gmail.com>
In my Arduino ESP32 I use AsyncTCP library. I get this error exception:Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled. ELF file SHA256: 0000000000000000 Backtrace: 0x400d35d8:0x3ffb1ef0 0x400d366b:0x3ffb1f10 0x400d3687:0x3ffb1f30 0x400d36dd:0x3ffb1f50 0x400d0d2b:0x3ffb1f80 0x400da3fd:0x3ffb1fb0 0x400897fa:0x3ffb1fd0I previously worked with ESP8266 using another library: ESPAsyncTCP.h. No such errors were observed. The error causes the processor to reboot. Can you tell me how to avoid such mistakes? Thank you. |
For my project I'm using the Async Event Source Plugin from ESPAsyncWebServer.
When a client is disconnects the following error occurs:
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
Decoded stack results:
This crash happens when arg is NULL.