Page 1 of 1

Asyn webserver events crashing

Posted: Thu Jan 26, 2023 9:27 pm
by barbiani
Hello,

I am running this example from https://randomnerdtutorials.com/esp32-w ... vents-sse/ and get a crash very often. Otherwise works as needed.

It looks like something deep in the sdk that I can not debug.

Any hints on it?

Thank you.

Code: Select all

[   412][D][WiFiGeneric.cpp:931] _eventCallback(): Arduino Event: 0 - WIFI_READY
[   510][D][WiFiGeneric.cpp:931] _eventCallback(): Arduino Event: 10 - AP_START
[  1070][I][lib_ap.cpp:179] lib_ap_init(): AP IP address: 10.0.0.1

[  1071][D][WiFiGeneric.cpp:931] _eventCallback(): Arduino Event: 11 - AP_STOP
[  1072][D][WiFiGeneric.cpp:931] _eventCallback(): Arduino Event: 10 - AP_START
[275336][D][WiFiGeneric.cpp:931] _eventCallback(): Arduino Event: 12 - AP_STACONNECTED
[275529][D][WiFiGeneric.cpp:931] _eventCallback(): Arduino Event: 14 - AP_STAIPASSIGNED
Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x4018de80  PS      : 0x00060e30  A0      : 0x8018cebc  A1      : 0x3ffce0b0  
A2      : 0x00000009  A3      : 0x00000000  A4      : 0x00000000  A5      : 0x00000000
A6      : 0x3ffd8dd8  A7      : 0x3ffd920c  A8      : 0x00000029  A9      : 0x000001b0  
A10     : 0x00000002  A11     : 0x0000003f  A12     : 0x00000000  A13     : 0x3ffbff80
A14     : 0x12a1e359  A15     : 0x3ffc0568  SAR     : 0x00000014  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x0000002d  LBEG    : 0x4008990c  LEND    : 0x40089922  LCOUNT  : 0xffffffff


Backtrace: 0x4018de7d:0x3ffce0b0 0x4018ceb9:0x3ffce170 0x4010b941:0x3ffce1b0 0x4010c17b:0x3ffce1e0 0x4018e24a:0x3ffce220

  #0  0x4018de7d:0x3ffce0b0 in ppResortTxAMPDU at ??:?
  #1  0x4018ceb9:0x3ffce170 in lmacEndFrameExchangeSequence at ??:?
  #2  0x4010b941:0x3ffce1b0 in lmacProcessTxSuccess at ??:?
  #3  0x4010c17b:0x3ffce1e0 in lmacProcessTxComplete at ??:?
  #4  0x4018e24a:0x3ffce220 in ppTask at ??:?