S
@Xykon @Gijs, I have put those commands into my code and my system still crashes. Here is the last crash report it did.
===============================================================
==================== ESP32 CORE DUMP START ====================
================== CURRENT THREAD REGISTERS ===================
pc 0x40163f84 0x40163f84 <KISS_Find_channel_direct+768>
lbeg 0x400933c0 1074344896
lend 0x400933ee 1074344942
lcount 0xffffffff 4294967295
sar 0x10 16
ps 0x60d20 396576
threadptr <unavailable>
br <unavailable>
scompare1 <unavailable>
acclo <unavailable>
acchi <unavailable>
m0 <unavailable>
m1 <unavailable>
m2 <unavailable>
m3 <unavailable>
expstate <unavailable>
f64r_lo <unavailable>
f64r_hi <unavailable>
f64s <unavailable>
fcr <unavailable>
fsr <unavailable>
a0 0x4018a15c 1075355996
a1 0x3ffbaee0 1073458912
a2 0xb 11
a3 0x3f9400c0 1066664128
a4 0x0 0
a5 0x3fbc23c0 1069294528
a6 0xfffffff4 -12
a7 0x14 20
a8 0x8018402e -2145894354
a9 0x3ffbaec0 1073458880
a10 0x3f9400c0 1066664128
a11 0x0 0
a12 0x0 0
a13 0x0 0
a14 0x3ffeef64 1073672036
a15 0x4 4
==================== CURRENT THREAD STACK =====================
#0 0x40163f84 in KISS_Find_channel_direct ()
#1 0x4018a15c in sys_check_timeouts () at /Users/ehlers/pycom/pycom-esp-idf/components/lwip/lwip/src/core/timeouts.c:354
#2 sys_timeouts_mbox_fetch (mbox=0x3ffd1980 <mbox>, msg=0x3ffbaf30) at /Users/ehlers/pycom/pycom-esp-idf/components/lwip/lwip/src/core/timeouts.c:433
#3 0x40182aab in tcpip_thread (arg=<optimized out>) at /Users/ehlers/pycom/pycom-esp-idf/components/lwip/lwip/src/api/tcpip.c:109
======================== THREADS INFO =========================
Id Target Id Frame
* 1 <main task> 0x40163f84 in KISS_Find_channel_direct ()
2 process 1 err_to_errno (err=0 '\\000') at /Users/ehlers/pycom/pycom-esp-idf/components/lwip/lwip/src/api/err.c:71
3 process 2 0x402209a6 in esp_pm_impl_waiti () at /Users/ehlers/pycom/pycom-esp-idf/components/esp32/pm_esp32.c:492
4 process 3 0x402209a6 in esp_pm_impl_waiti () at /Users/ehlers/pycom/pycom-esp-idf/components/esp32/pm_esp32.c:492
5 process 4 0x40096b4a in vTaskDelay (xTicksToDelay=<optimized out>) at /Users/ehlers/pycom/pycom-esp-idf/components/freertos/tasks.c:1484
6 process 5 0x40096b4a in vTaskDelay (xTicksToDelay=<optimized out>) at /Users/ehlers/pycom/pycom-esp-idf/components/freertos/tasks.c:1484
7 process 6 0x40096b4a in vTaskDelay (xTicksToDelay=<optimized out>) at /Users/ehlers/pycom/pycom-esp-idf/components/freertos/tasks.c:1484
8 process 7 0x40096b4a in vTaskDelay (xTicksToDelay=<optimized out>) at /Users/ehlers/pycom/pycom-esp-idf/components/freertos/tasks.c:1484
9 process 8 0x40095d50 in xQueueGenericReceive (xQueue=0x3ffdfd98, pvBuffer=0x3ffe62e0, xTicksToWait=6000, xJustPeeking=0) at /Users/ehlers/pycom/pycom-esp-idf/components/freertos/queue.c:1592
10 process 9 0x40096b4a in vTaskDelay (xTicksToDelay=<optimized out>) at /Users/ehlers/pycom/pycom-esp-idf/components/freertos/tasks.c:1484
11 process 10 0x40097d31 in prvProcessTimerOrBlockTask (xListWasEmpty=1, xNextExpireTime=<optimized out>) at /Users/ehlers/pycom/pycom-esp-idf/components/freertos/timers.c:589
12 process 11 0x4008162c in esp_crosscore_int_send_yield (core_id=1) at /Users/ehlers/pycom/pycom-esp-idf/components/esp32/crosscore_int.c:112
13 process 12 0x40095d50 in xQueueGenericReceive (xQueue=0x3ffdce88, pvBuffer=0x3ffe23a0, xTicksToWait=4294967295, xJustPeeking=0) at /Users/ehlers/pycom/pycom-esp-idf/components/freertos/queue.c:1592
14 process 13 0x40095d50 in xQueueGenericReceive (xQueue=0x3ffe3e78, pvBuffer=0x3ffd52a4, xTicksToWait=4294967295, xJustPeeking=0) at /Users/ehlers/pycom/pycom-esp-idf/components/freertos/queue.c:1592
15 process 14 0x40095d50 in xQueueGenericReceive (xQueue=0x3ffb7bd8, pvBuffer=0x0, xTicksToWait=4294967295, xJustPeeking=0) at /Users/ehlers/pycom/pycom-esp-idf/components/freertos/queue.c:1592
16 process 15 0x40095d50 in xQueueGenericReceive (xQueue=0x3ffbd460, pvBuffer=0x3ffdac50, xTicksToWait=4294967295, xJustPeeking=0) at /Users/ehlers/pycom/pycom-esp-idf/components/freertos/queue.c:1592
17 process 16 0x4000bff0 in ?? ()
18 process 17 0x40095d50 in xQueueGenericReceive (xQueue=0x3ffb760c, pvBuffer=0x0, xTicksToWait=4294967295, xJustPeeking=0) at /Users/ehlers/pycom/pycom-esp-idf/components/freertos/queue.c:1592
19 process 18 0x40095d50 in xQueueGenericReceive (xQueue=0x3ffc4040 <s_timer_semaphore_memory>, pvBuffer=0x0, xTicksToWait=4294967295, xJustPeeking=0) at /Users/ehlers/pycom/pycom-esp-idf/components/freertos/queue.c:1592
20 process 19 0x40095d50 in xQueueGenericReceive (xQueue=0x3ffc95c8 <mp_state_ctx+436>, pvBuffer=0x0, xTicksToWait=4294967295, xJustPeeking=0) at /Users/ehlers/pycom/pycom-esp-idf/components/freertos/queue.c:1592
21 process 20 0x40095d50 in xQueueGenericReceive (xQueue=0x3ffc95c8 <mp_state_ctx+436>, pvBuffer=0x0, xTicksToWait=4294967295, xJustPeeking=0) at /Users/ehlers/pycom/pycom-esp-idf/components/freertos/queue.c:1592
22 process 21 0x40095d50 in xQueueGenericReceive (xQueue=0x3ffc95c8 <mp_state_ctx+436>, pvBuffer=0x0, xTicksToWait=4294967295, xJustPeeking=0) at /Users/ehlers/pycom/pycom-esp-idf/components/freertos/queue.c:1592
23 process 22 0x4008162c in esp_crosscore_int_send_yield (core_id=1) at /Users/ehlers/pycom/pycom-esp-idf/components/esp32/crosscore_int.c:112
24 process 23 0x40095d50 in xQueueGenericReceive (xQueue=0x3ffc95c8 <mp_state_ctx+436>, pvBuffer=0x0, xTicksToWait=4294967295, xJustPeeking=0) at /Users/ehlers/pycom/pycom-esp-idf/components/freertos/queue.c:1592
25 process 24 0x40095d50 in xQueueGenericReceive (xQueue=0x3ffc95c8 <mp_state_ctx+436>, pvBuffer=0x0, xTicksToWait=4294967295, xJustPeeking=0) at /Users/ehlers/pycom/pycom-esp-idf/components/freertos/queue.c:1592
26 process 25 0x40095d50 in xQueueGenericReceive (xQueue=0x3ffc95c8 <mp_state_ctx+436>, pvBuffer=0x0, xTicksToWait=4294967295, xJustPeeking=0) at /Users/ehlers/pycom/pycom-esp-idf/components/freertos/queue.c:1592
27 process 26 0x40095d50 in xQueueGenericReceive (xQueue=0x3ffd54b8, pvBuffer=0x3ffd68b0, xTicksToWait=4294967295, xJustPeeking=0) at /Users/ehlers/pycom/pycom-esp-idf/components/freertos/queue.c:1592
28 process 27 0x4000bff0 in ?? ()
======================= ALL MEMORY REGIONS ========================
Name Address Size Attrs
.rtc.text 0x400c0000 0x64 R XA
.rtc.data 0x50000000 0x81c RW A
.rtc_noinit 0x5000081c 0x0 RW
.rtc.force_slow 0x5000081c 0x0 RW
.iram0.vectors 0x40080000 0x400 R XA
.iram0.text 0x40080400 0x1886c R XA
.dram0.data 0x3ffbdb60 0x4960 RW A
.noinit 0x3ffc24c0 0x0 RW
.flash.rodata 0x3f400020 0x5e864 RW A
.flash.text 0x400d0018 0x153c00 R XA
.coredump.tasks.data 0x3ffb9fb4 0x16c RW
.coredump.tasks.data 0x3ffbae20 0x1a4 RW
.coredump.tasks.data 0x3fff2638 0x16c RW
.coredump.tasks.data 0x3fff4a20 0x584 RW
.coredump.tasks.data 0x3ffbbeb4 0x16c RW
.coredump.tasks.data 0x3ffbbd10 0x19c RW
.coredump.tasks.data 0x3ffbb940 0x16c RW
.coredump.tasks.data 0x3ffbb7a0 0x198 RW
.coredump.tasks.data 0x3ffdfb04 0x16c RW
.coredump.tasks.data 0x3ffd49b0 0x170 RW
.coredump.tasks.data 0x3ffb4d38 0x16c RW
.coredump.tasks.data 0x3ffb4b40 0x1f0 RW
.coredump.tasks.data 0x3ffdcd18 0x16c RW
.coredump.tasks.data 0x3ffdcbb0 0x160 RW
.coredump.tasks.data 0x3ffc45ec 0x16c RW
.coredump.tasks.data 0x3ffd9870 0x894 RW
.coredump.tasks.data 0x3ffe556c 0x16c RW
.coredump.tasks.data 0x3ffe61e0 0x8f8 RW
.coredump.tasks.data 0x3ffb5e74 0x16c RW
.coredump.tasks.data 0x3ffd3d10 0x20c RW
.coredump.tasks.data 0x3ffbcb20 0x16c RW
.coredump.tasks.data 0x3ffbc9c0 0x158 RW
.coredump.tasks.data 0x3ffb5aac 0x16c RW
.coredump.tasks.data 0x3ffb58f0 0x1b4 RW
.coredump.tasks.data 0x3ffde570 0x16c RW
.coredump.tasks.data 0x3ffe2240 0x218 RW
.coredump.tasks.data 0x3ffd533c 0x16c RW
.coredump.tasks.data 0x3ffd5170 0x1c4 RW
.coredump.tasks.data 0x3ffb7c30 0x16c RW
.coredump.tasks.data 0x3ffb9cb0 0x188 RW
.coredump.tasks.data 0x3ffbb0a4 0x16c RW
.coredump.tasks.data 0x3ffdab50 0x1b8 RW
.coredump.tasks.data 0x3ffddfe4 0x16c RW
.coredump.tasks.data 0x3ffdde40 0x19c RW
.coredump.tasks.data 0x3ffb7a68 0x16c RW
.coredump.tasks.data 0x3ffb78e0 0x180 RW
.coredump.tasks.data 0x3ffb727c 0x16c RW
.coredump.tasks.data 0x3ffb70e0 0x194 RW
.coredump.tasks.data 0x3ffe95c8 0x16c RW
.coredump.tasks.data 0x3ffea6e0 0x454 RW
.coredump.tasks.data 0x3ffec0b0 0x16c RW
.coredump.tasks.data 0x3ffed1c0 0x45c RW
.coredump.tasks.data 0x3ffe8054 0x16c RW
.coredump.tasks.data 0x3ffe9170 0x450 RW
.coredump.tasks.data 0x3ffeab3c 0x16c RW
.coredump.tasks.data 0x3ffebc30 0x478 RW
.coredump.tasks.data 0x3ffe6ae0 0x16c RW
.coredump.tasks.data 0x3ffe7bf0 0x45c RW
.coredump.tasks.data 0x3fff4fac 0x16c RW
.coredump.tasks.data 0x3fff6d50 0x3c8 RW
.coredump.tasks.data 0x3ffed624 0x16c RW
.coredump.tasks.data 0x3ffee740 0x450 RW
.coredump.tasks.data 0x3ffd6954 0x16c RW
.coredump.tasks.data 0x3ffd6780 0x1cc RW
.coredump.tasks.data 0x3ffbb2c4 0x16c RW
.coredump.tasks.data 0x3ffdbb70 0x180 RW
===================== ESP32 CORE DUMP END =====================
===============================================================
Done!
After this crash, it recovered and ran for about an hour before it crashed again but this time it just got hung up trying to write out the core dump. This is the last thing i got from it.
Guru Meditation Error: Core 1 panic'ed (InstrFetchProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0xffffffff PS : 0x00060c30 A0 : 0x400f801c A1 : 0x3fff6e00
A2 : 0x3fff6e60 A3 : 0x3f970420 A4 : 0x00000003 A5 : 0x00000001
A6 : 0x00000000 A7 : 0x3ffb4cb0 A8 : 0xffffffff A9 : 0x3f40e200
A10 : 0x3fff6e60 A11 : 0x3f45babb A12 : 0x00000001 A13 : 0x00000000
A14 : 0x00000000 A15 : 0x00000000 SAR : 0x0000001e EXCCAUSE: 0x00000014
EXCVADDR: 0xfffffffc LBEG : 0x40093b64 LEND : 0x40093b6f LCOUNT : 0x00000000
ELF file SHA256: ```