Can someone help me understand this core text?

thefatmoop
Posts: 4
Joined: Fri Feb 28, 2020 4:04 am

Can someone help me understand this core text?

Postby thefatmoop » Thu Mar 05, 2020 4:40 pm

I'm having trouble understanding where stuff broke, can someone glance at it and see what your conclusion is?

Code: Select all

Guru Meditation Error: Core  1 panic'ed (LoadStoreAlignment). Exception was unhandled.
Core 1 register dump:
PC      : 0x4008e8f2  PS      : 0x00060033  A0      : 0x8008d62f  A1      : 0x3ffca190  
A2      : 0x6cbcd6aa  A3      : 0x0000abab  A4      : 0xb33fffff  A5      : 0x00000001  
A6      : 0x00060020  A7      : 0x0000cdcd  A8      : 0x0000abab  A9      : 0x3ffba470  
A10     : 0x00000000  A11     : 0x00000001  A12     : 0x8008db08  A13     : 0x3ffbc450  
A14     : 0x00000000  A15     : 0x3ffc84c0  SAR     : 0x0000000a  EXCCAUSE: 0x00000009  
EXCVADDR: 0x6cbcd6aa  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0xffffffff  

Backtrace: 0x4008e8f2:0x3ffca190 0x4008d62c:0x3ffca1c0 0x401311f5:0x3ffca200 0x4011b4df:0x3ffca220 0x4011ac4d:0x3ffca250 0x4011b18a:0x3ffca270 0x4011ee2f:0x3ffca2b0 0x4011f5e1:0x3ffca310 0x400d6c2d:0x3ffca340 0x400d9a2f:0x3ffca380 0x400d9a39:0x3ffca3a0 0x400d9b0c:0x3ffca3c0 0x400d4e6d:0x3ffca3e0 0x400dc40d:0x3ffca410 0x4008d8f5:0x3ffca430

translates to

Code: Select all

bo@bo-DellPC:~/Downloads/EspArduinoExceptionDecoder-masterME21/EspArduinoExceptionDecoder-master$ python decoder.py -p ESP32 -e /home/bo/Documents/PlatformIO/Projects/myProject/.pio/build/featheresp32/firmware.elf ~/crash.txt
stack:
0x4008e8f2: uxPortCompareSet at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/include/freertos/portmacro.h:285
  \-> inlined by: vPortCPUAcquireMutexIntsDisabledInternal at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/portmux_impl.inc.h:86
  \-> inlined by: vPortCPUAcquireMutexIntsDisabled at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/portmux_impl.h:98
  \-> inlined by: vTaskEnterCritical at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/tasks.c:4201
0x4008d62c: xQueueGenericReceive at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/queue.c:1456
0x401311f5: sys_arch_sem_wait at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/port/esp32/freertos/sys_arch.c:183 (discriminator 1)
0x4011b4df: tcpip_send_msg_wait_sem at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/api/tcpip.c:381
0x4011ac4d: netconn_apimsg at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/api/api_lib.c:109
0x4011b18a: netconn_send at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/api/api_lib.c:803
0x4011ee2f: lwip_sendto at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/api/sockets.c:1553
0x4011f5e1: lwip_sendto_r at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/api/sockets.c:3382 (discriminator 4)
0x400d6c2d: sendto at /home/bo/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/lwip/lwip/sockets.h:591
  \-> inlined by: WiFiUDP::endPacket() at /home/bo/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiUdp.cpp:181
0x400d9a2f: NTPClient::sendNTPPacket() at /home/bo/Documents/PlatformIO/Projects/myProject/lib/NTPClient-master/NTPClient.cpp:228
0x400d9a39: NTPClient::forceUpdate() at /home/bo/Documents/PlatformIO/Projects/myProject/lib/NTPClient-master/NTPClient.cpp:92
0x400d9b0c: NTPClient::update() at /home/bo/Documents/PlatformIO/Projects/myProject/lib/NTPClient-master/NTPClient.cpp:129
0x400d4e6d: loop() at /home/bo/Documents/PlatformIO/Projects/myProject/src/main.cpp:232
0x400dc40d: loopTask(void*) at /home/bo/.platformio/packages/framework-arduinoespressif32/cores/esp32/main.cpp:19
0x4008d8f5: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c:143
Line 232 of /myProject/src/main.cpp:232 runs timeClient.update(); from this library
https://github.com/taranais/NTPClient/b ... Client.cpp

My understanding is it broke in the NTP library? Possibly due to a dropped packet or something i think it's udp over the internet? I've got this code running on a few esp32s that are somewhat stable (they run for a few days, this is the firrst one to reboot now that i've got serial loggers added).

thefatmoop
Posts: 4
Joined: Fri Feb 28, 2020 4:04 am

Re: Can someone help me understand this core text?

Postby thefatmoop » Thu Mar 05, 2020 8:51 pm


Who is online

Users browsing this forum: Masoud123456 and 109 guests