Page 1 of 1

Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandd.

Posted: Thu Jul 02, 2020 3:57 am
by freddiewily
Hi.

I'm currently trying to build a weather station and built my own library. I've been trying to debug it but I have no clue what the problem is.

Exception Error:

Code: Select all

Retrieving data.
946598400
LAT1 SUCCESS:		// Line 640 was executed. Error was around at Lin 642
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC      : 0x4000127a  PS      : 0x00060a30  A0      : 0x800d722d  A1      : 0x3ffb1ca0
A2      : 0x3f4016b8  A3      : 0xfefefefe  A4      : 0x3ffb1d28  A5      : 0x00000002  
A6      : 0x0000002e  A7      : 0x00000030  A8      : 0x0000004c  A9      : 0x00000000
A10     : 0x00000003  A11     : 0x3ffb1d28  A12     : 0x00000009  A13     : 0x0000ff00
A14     : 0x00ff0000  A15     : 0xff000000  SAR     : 0x00000014  EXCCAUSE: 0x0000001c
EXCVADDR: 0xfefefefe  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xfffffffe

Backtrace: 0x4000127a:0x3ffb1ca0 0x400d722a:0x3ffb1cb0 0x400d5d79:0x3ffb1d20 0x400d68b1:0x3ffb1f50 0x400d50b5:0x3ffb1f70 0x400d6c5a:0x3ffb1f90 0x400e085d:0x3ffb1fb0 0x40089e51:0x3f
Exception Decoded:

Code: Select all

  #0  0x4000127a:0x3ffb1ca0 in ?? ??:0
  #1  0x400d722a:0x3ffb1cb0 in ArduinoJson6152_0000010::safe_strcmp(char const*, char const*) at C:/Users/garan/.platformio/lib/ArduinoJson_ID64/src/ArduinoJson/Polyfills/safe_strc
      (inlined by) ArduinoJson6152_0000010::ConstRamStringAdapter::compare(char const*) const at C:/Users/garan/.platformio/lib/ArduinoJson_ID64/src/ArduinoJson/Strings/ConstRamStr
      (inlined by) ArduinoJson6152_0000010::ConstRamStringAdapter::equals(char const*) const at C:/Users/garan/.platformio/lib/ArduinoJson_ID64/src/ArduinoJson/Strings/ConstRamStri
      (inlined by) ArduinoJson6152_0000010::VariantSlot* ArduinoJson6152_0000010::CollectionData::getSlot<ArduinoJson6152_0000010::ConstRamStringAdapter>(ArduinoJson6152_0000010::Con/Collection/CollectionImpl.hpp:106
      (inlined by) ArduinoJson6152_0000010::VariantData* ArduinoJson6152_0000010::CollectionData::getOrAddMember<ArduinoJson6152_0000010::ConstRamStringAdapter>(ArduinoJson6152_000rmio/lib/ArduinoJson_ID64/src/ArduinoJson/Collection/CollectionImpl.hpp:142
      (inlined by) ArduinoJson6152_0000010::VariantData* ArduinoJson6152_0000010::objectGetOrAddMember<ArduinoJson6152_0000010::ConstRamStringAdapter>(ArduinoJson6152_0000010::CollPool*) at C:/Users/garan/.platformio/lib/ArduinoJson_ID64/src/ArduinoJson/Object/ObjectFunctions.hpp:48
      (inlined by) ArduinoJson6152_0000010::VariantRef ArduinoJson6152_0000010::ObjectRef::getOrAddMember<char const>(char const*) const at C:/Users/garan/.platformio/lib/ArduinoJs
      (inlined by) ArduinoJson6152_0000010::ObjectRef ArduinoJson6152_0000010::ObjectShortcuts<ArduinoJson6152_0000010::ObjectRef>::createNestedObject<char const>(char const*) cons6
      (inlined by) RainFLOW::addData(char const*, String, String) at src/rainflow.cpp:48
  #2  0x400d5d79:0x3ffb1d20 in getData() at C:/Users/garan/.platformio/lib/TaskScheduler_ID721/src/TaskScheduler.h:656
  #3  0x400d68b1:0x3ffb1f50 in publishData() at C:/Users/garan/.platformio/lib/TaskScheduler_ID721/src/TaskScheduler.h:656
  #4  0x400d50b5:0x3ffb1f70 in Scheduler::execute() at C:/Users/garan/.platformio/lib/TaskScheduler_ID721/src/TaskScheduler.h:656
  #5  0x400d6c5a:0x3ffb1f90 in loop() at C:/Users/garan/.platformio/lib/TaskScheduler_ID721/src/TaskScheduler.h:656
  #6  0x400e085d:0x3ffb1fb0 in loopTask(void*) at C:\Users\garan\.platformio\packages\framework-arduinoespressif32\cores\esp32/main.cpp:19
  #7  0x40089e51:0x3ffb1fd0 in vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c:355 (discriminator 1)
My code can be found here: https://github.com/dlsurainflow/Arduino ... I_Test.ino

I'm a bit confused. If the problem was the ArduinoJson method that I created, it never gave me this error before.

Any help/advice is greatly appreciated.