- I (6431) plant1: publishing 2464 to topic plants/monitor
- Guru Meditation Error: Core 0 panic'ed (Load access fault). Exception was unhandled.
- Core 0 register dump:
- MEPC : 0x40035c88 RA : 0x40035bdc SP : 0x40824520 GP : 0x408168b4
- 0x40035c88: _svfprintf_r in ROM
- 0x40035bdc: _svfprintf_r in ROM
- TP : 0x407fb41c T0 : 0x400283c2 T1 : 0x408245ec T2 : 0xffffffff
- 0x400283c2: __getreent in ROM
- S0/FP : 0x00000000 S1 : 0x00000000 A0 : 0x00000001 A1 : 0xffffffff
- A2 : 0x00000000 A3 : 0x00000000 A4 : 0x00000025 A5 : 0x00000000
- A6 : 0x3fe00000 A7 : 0x0000000a S2 : 0x000009a0 S3 : 0x40824b68
- S4 : 0x40824968 S5 : 0x420bd000 S6 : 0x00000000 S7 : 0x00000000
- S8 : 0x000009a0 S9 : 0x00000000 S10 : 0x408245ec S11 : 0x00000000
- T3 : 0x00000000 T4 : 0x00001867 T5 : 0x0ccccccc T6 : 0x00000019
- MSTATUS : 0x00001881 MTVEC : 0x40800001 MCAUSE : 0x00000005 MTVAL : 0x000009a0
- 0x40800001: _vector_table at ??:?
- MHARTID : 0x00000000
- Stack memory:
- 40824520: 0x420bc8cc 0x00000004 0x00000000 0x40802904 0x40824644 0x00000000 0x00000000 0x00000000
- 0x40802904: _lock_release_recursive at C:/Espressif/v5.1.2/esp-idf/components/newlib/locks.c:203
- 40824540: 0x00000000 0x00000001 0x00000000 0x4081f364 0x00000000 0x4004e20c 0x00000000 0x00000000
- 40824560: 0x00000000 0x00000004 0xffffffff 0x7fefffff 0x00000000 0x3fe00000 0x00000004 0x420bc8f8
- 40824580: 0x00000000 0x3fc00000 0x00000000 0x40300000 0x00000000 0x00000044 0x00000001 0x0000000e
- 408245a0: 0x00000000 0x4004e20c 0x00000000 0x408249e8 0x00000000 0x00000000 0xffffffff 0x7fefffff
- 408245c0: 0x00000000 0x00000000 0x00000000 0x00000003 0x00000000 0x3fc00000 0x00000000 0x40300000
- 408245e0: 0x408245ec 0x00000000 0x00000000 0x00000000 0x408245fc 0x00000000 0x00000000 0x408249fc
- 40824600: 0x00000005 0x008322c0 0x00000008 0x00000004 0x00000000 0x00000000 0x00000000 0x00000000
- 40824620: 0x00000000 0x00000000 0x00000000 0x00000000 0x4082463c 0x00000000 0x00000000 0x420bc8f8
- 40824640: 0x00000005 0x420bc8bc 0x0000000e 0x30323436 0xffffffff 0x00000000 0x00000000 0x00000000
- 40824660: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
- 40824680: 0x00000000 0x00000000 0x00000000 0x00000000 0xffffffff 0x00000000 0x00000000 0x31393336
- 408246a0: 0xffffffff 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
- 408246c0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00001915 0x00000000 0x00000000 0x34363432
- 408246e0: 0xffffffff 0x00000000 0x00000000 0x00000000 0x00000004 0x00000000 0x00000000 0x00000000
- 40824700: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
- 40824720: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
- 40824740: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
- 40824760: 0x0000191f 0x00000000 0x00000000 0x00000000 0x40824a18 0x00000000 0x00000000 0x00000000
- 40824780: 0x000009a0 0x00000000 0x00000000 0x00000000 0x420bc8bc 0x00000000 0x00000000 0x00000000
- 408247a0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x4080d422
- 0x4080d422: _multi_heap_unlock at C:/Espressif/v5.1.2/esp-idf/components/heap/multi_heap.c:94 (discriminator 1)
- 408247c0: 0x408315b8 0x00000000 0x00000000 0x40022498 0x408315d8 0x40880000 0x4081e790 0x40022574
- 0x40022498: multi_heap_internal_unlock in ROM
- 0x40022574: multi_heap_malloc_impl in ROM
- 408247e0: 0x00000000 0x00000000 0x00000000 0x00000008 0x00000001 0x00001800 0x4081ee70 0x40800a90
- 0x40800a90: heap_caps_malloc_base at C:/Espressif/v5.1.2/esp-idf/components/heap/heap_caps.c:177
- 40824800: 0x408311ac 0x40880000 0x4081e790 0x408315c8 0x00001800 0x00000008 0x00000008 0x40800b10
- 0x40800b10: heap_caps_malloc at C:/Espressif/v5.1.2/esp-idf/components/heap/heap_caps.c:197
- 40824820: 0x408315b4 0x00000008 0x00000008 0x40800b6c 0x00000000 0x00000008 0x00000008 0x4080e64a
- 0x40800b6c: heap_caps_malloc_default at C:/Espressif/v5.1.2/esp-idf/components/heap/heap_caps.c:223
- 0x4080e64a: _calloc_r at C:/Espressif/v5.1.2/esp-idf/components/newlib/heap.c:65
- 40824840: 0x4080b05c 0x4080b088 0x408248c0 0x408168b4 0x407fb41c 0x40030dca 0x0000000f 0xffffffff
- 0x4080b05c: vPortClearInterruptMask at C:/Espressif/v5.1.2/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:384
- 0x4080b088: vPortExitCritical at C:/Espressif/v5.1.2/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:339
- 0x40030dca: memset in ROM
- 40824860: 0x4083127c 0x00000000 0x00000001 0x00000001 0x00000003 0x00000004 0x4081e000 0x20001000
- 40824880: 0x00000009 0x00000000 0x4081f53c 0x408082fa 0x00000000 0x00000000 0x4081f53c 0x408088f2
- 0x408082fa: prvCopyDataToQueue at C:/Espressif/v5.1.2/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:2415
- 0x408088f2: xQueueGenericSend at C:/Espressif/v5.1.2/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:999
- 408248a0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00001867 0x0ccccccc 0x00000019
- 408248c0: 0x00000000 0x00000000 0x4081f53c 0x4080d410 0x00000000 0x00000000 0x00000000 0x40022498
- 0x4080d410: _multi_heap_lock at C:/Espressif/v5.1.2/esp-idf/components/heap/multi_heap.c:89 (discriminator 1)
- 0x40022498: multi_heap_internal_unlock in ROM
- 408248e0: 0x4083218c 0x40880000 0x4081e790 0x40022574 0x00000000 0x00000000 0x00000000 0x00000054
- 0x40022574: multi_heap_malloc_impl in ROM
- 40824900: 0x00000001 0x00000804 0x4081ee70 0x40800a90 0x00000000 0x00000000 0x4081f53c 0x00000000
- 0x40800a90: heap_caps_malloc_base at C:/Espressif/v5.1.2/esp-idf/components/heap/heap_caps.c:177
- ELF file SHA256: 0a8d43355b83ff67
panic on mqtt publish
-
- Posts: 1
- Joined: Sat Jan 27, 2024 2:42 pm
panic on mqtt publish
first time in IDF, so i'm way over my head here. I found this project that uses a capacitive sensor to monitor soil moisture, but publishes the data to an influx database. don't have one, don't want one. so i figured it *should* be trivial to change it over to mqtt so i can put the data where ever i'd like. This seems to be the offending function call: https://github.com/smokes2345/plant-mon ... ain.c#L257 I did find another thread about the `client` being null, but i hope i've coded around that particular scenario.
Who is online
Users browsing this forum: Bing [Bot] and 86 guests