Asyn webserver events crashing

barbiani
Posts: 6
Joined: Fri Feb 08, 2019 3:30 am

Asyn webserver events crashing

Postby barbiani » Thu Jan 26, 2023 9:27 pm

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 ??:?

spottychee
Posts: 1
Joined: Fri May 09, 2025 1:41 pm

Re: Asyn webserver events crashing

Postby spottychee » Fri May 09, 2025 1:51 pm

I have a similar error, resulting in crashes near:

Code: Select all

assert failed: spinlock_release spinlock.h:158 (core_id == lock->owner)


----------------------------------------------------------------------------------------------------------------------------------------
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x401e7224: ba880020 2a0d483a a0225026
Core  0 register dump:
PC      : 0x401e722a  PS      : 0x00060530  A0      : 0x801e7a8a  A1      : 0x3ffd15f0  
A2      : 0x00000000  A3      : 0x00000034  A4      : 0x3ffddbc4  A5      : 0x3ffbe570  
A6      : 0x00000000  A7      : 0x00000000  A8      : 0x3ffddb90  A9      : 0x00000000  
A10     : 0x3ffddb54  A11     : 0x00000002  A12     : 0x00400000  A13     : 0x00060523  
A14     : 0x3ffddbb0  A15     : 0x00000001  SAR     : 0x00000020  EXCCAUSE: 0x00000000  
EXCVADDR: 0x00000000  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0xffffffff  


Backtrace: 0x401e7227:0x3ffd15f0 0x401e7a87:0x3ffd1620 0x400942e5:0x3ffd1660 0x4008ec0d:0x3ffd1690
0x401e7227: lmacProcessTxSuccess at ??:?
0x401e7a87: lmacProcessTxComplete at ??:?
0x400942e5: ppTask at ??:?
0x4008ec0d: vPortTaskWrapper at framework-espidf/components/freertos/port/xtensa/port.c:142
----------------------------------------------------------------------------------------------------------------------------------------

Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x401e7242  PS      : 0x00060a30  A0      : 0x801e7a8a  A1      : 0x3ffd15f0  
A2      : 0x3ffdcb84  A3      : 0x00000001  A4      : 0x3ffbe570  A5      : 0x3ffbe570  
A6      : 0x00000000  A7      : 0x00000000  A8      : 0x3ffdcbc0  A9      : 0x00000000  
A10     : 0x3ffbe570  A11     : 0x00000001  A12     : 0x00000000  A13     : 0x00060a23  
A14     : 0x3ffdcbe0  A15     : 0x00000001  SAR     : 0x00000020  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x0000002d  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0xffffffff  


Backtrace: 0x401e723f:0x3ffd15f0 0x401e7a87:0x3ffd1620 0x400942e5:0x3ffd1660 0x4008ec0d:0x3ffd1690
0x401e723f: lmacProcessTxSuccess at ??:?
0x401e7a87: lmacProcessTxComplete at ??:?
0x400942e5: ppTask at ??:?
0x4008ec0d: vPortTaskWrapper at framework-espidf/components/freertos/port/xtensa/port.c:142

Who is online

Users browsing this forum: Applebot, Bytespider and 7 guests