Running network and setting up GATT server causes Guru Mediation Error
Hello! I am running MicroPython v1.22.1 on 2024-01-05; ESP32C3 module with ESP32C3.
I have built a web server with micropython before and have used the aioble module as well in another project. Now, in a new project that will use both network and aioble. I am in the setting up the GATT server and connecting to wifi and when I run the script I get this error and micropython reboots.
I'll link the log here:
MPY: soft reboot
Guru Meditation Error: Core 0 panic'ed (Load access fault). Exception was unhandled.
Core 0 register dump:
MEPC : 0x40384592 RA : 0x403844dc SP : 0x3fcd8d70 GP : 0x3fc97e00
TP : 0x3fc9e97c T0 : 0x00000000 T1 : 0x00000000 T2 : 0x00000000
S0/FP : 0xffffffff S1 : 0x00000000 A0 : 0x00000000 A1 : 0xffffffff
A2 : 0x00000000 A3 : 0x00000000 A4 : 0x00000000 A5 : 0x3fca0000
A6 : 0x00000000 A7 : 0x00000000 S2 : 0x3fca0000 S3 : 0x3fc9fa28
S4 : 0x00000000 S5 : 0x00000000 S6 : 0x00000000 S7 : 0x00000000
S8 : 0x00000000 S9 : 0x00000000 S10 : 0x00000000 S11 : 0x00000000
T3 : 0x00000000 T4 : 0x00000000 T5 : 0x00000000 T6 : 0x00000000
MSTATUS : 0x00001881 MTVEC : 0x40380001 MCAUSE : 0x00000005 MTVAL : 0x00000000
MHARTID : 0x00000000
Stack memory:
3fcd8d70: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcd8d90: 0x00000000 0x3fca0000 0x00000000 0x40383fc2 0x00000000 0x00000000 0x00000000 0x00000000
3fcd8db0: 0x00000000 0x00000000 0x00000000 0x42033ec0 0x00000000 0x00000000 0x00000000 0x00000000
3fcd8dd0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fcd8df0: 0xa5a5a5a5 0xa5a5a5a5 0x0000015c 0x3fcd8d50 0x3fca1674 0x3fc9ac38 0x3fc9ac38 0x3fcd8dfc
3fcd8e10: 0x3fc9ac30 0x00000004 0x00000000 0x00000000 0x3fcd8dfc 0x00000000 0x00000015 0x3fcd7df8
3fcd8e30: 0x626d696e 0x685f656c 0x0074736f 0x00000000 0x00000000 0x3fcd8df0 0x00000015 0x00000000
3fcd8e50: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x3fca1c5c 0x3fca1cc4 0x3fca1d2c
3fcd8e70: 0x00000000 0x00000000 0x00000001 0x00000000 0x00000000 0x00000000 0x42121560 0x00000000
3fcd8e90: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcd8eb0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcd8ed0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcd8ef0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcd8f10: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcd8f30: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcd8f50: 0x00000000 0x3f000000 0x000037b1 0x3fca1674 0x3fca1674 0x00000000 0x00000000 0x00000000
3fcd8f70: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcd8f90: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcd8fb0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcd8fd0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcd8ff0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcd9010: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcd9030: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcd9050: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcd9070: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcd9090: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcd90b0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcd90d0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcd90f0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcd9110: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcd9130: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcd9150: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
ELF file SHA256: 03a427956fd9ca12
Rebooting...
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0xc (RTC_SW_CPU_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x403807a8
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5820,len:0xe8c
load:0x403cc710,len:0x6ec
load:0x403ce710,len:0x2b24
entry 0x403cc710
MicroPython v1.22.1 on 2024-01-05; ESP32C3 module with ESP32C3
Type "help()" for more information.
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
MPY version : v1.24.1 on 2024-11-29
IDF version : v5.2.2
Machine : Generic ESP32S3 module with ESP32S3
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x40379122 PS : 0x00060830 A0 : 0x8201094a A1 : 0x3fceaaa0
A2 : 0x3c18b720 A3 : 0x00000000 A4 : 0x00000000 A5 : 0x3fceab90
A6 : 0x00000020 A7 : 0x3c18b260 A8 : 0x3c14fd8c A9 : 0x3fceaa80
A10 : 0x3c18b720 A11 : 0x3c14facc A12 : 0x3c186ee0 A13 : 0x3c150494
A14 : 0x3c150574 A15 : 0x3fceaa90 SAR : 0x00000018 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000 LBEG : 0x400570e8 LEND : 0x400570f3 LCOUNT : 0x00000000
Backtrace: 0x4037911f:0x3fceaaa0 0x42010947:0x3fceab40 0x42017e31:0x3fceab70 0x42044b27:0x3fceab90 0x42044b71:0x3fceabd0 0x42017e31:0x3fceabf0 0x42017ed2:0x3fceac10 0x4201b6f6:0x3fceac40 0x4201b778:0x3fceacd0 0x4201b936:0x3fcead70 0x4201bca1:0x3fceade0 0x420239ab:0x3fceae20 0x42023dca:0x3fceae60 0x42023ecf:0x3fceaeb0 0x42052989:0x3fceaf10 0x420529c5:0x3fceaf30 0x420544c0:0x3fceaf50 0x4205b949:0x3fceafb0 0x4204ec01:0x3fceafd0 0x4204ea66:0x3fceb000 0x4204e1a5:0x3fceb030 0x42118a7b:0x3fceb050 0x40379361:0x3fceb070 0x4202f6e6:0x3fceb090
ELF file SHA256: bd97f3b4e
Rebooting...