Search found 2 matches
- Sat Feb 05, 2022 12:21 pm
- Forum: ESP32 Arduino
- Topic: When i pass the "nullptr" as constructor argument, i get "Guru Meditation Error: Core 1 panic'ed (LoadProhibited)." erro
- Replies: 3
- Views: 2856
Re: When i pass the "nullptr" as constructor argument, i get "Guru Meditation Error: Core 1 panic'ed (LoadProhibited)."
m_csv is uninitialized for that code path; you should at least set it to null. Something shortly after the return may be trying to use it. Is there a destructor? or a copy constructor? Do they try to free the memory m_csv points to? Thanks, Yes i had a problem in destructor. I'm newbie in c++, so i...
- Thu Feb 03, 2022 2:41 pm
- Forum: ESP32 Arduino
- Topic: When i pass the "nullptr" as constructor argument, i get "Guru Meditation Error: Core 1 panic'ed (LoadProhibited)." erro
- Replies: 3
- Views: 2856
When i pass the "nullptr" as constructor argument, i get "Guru Meditation Error: Core 1 panic'ed (LoadProhibited)." erro
I want to write a CSV parser library. I have a class that holds the document itself which is called CSV with a method that finds and returns the desire row of document : class CSV { private: /* data */ char* const m_buffer{nullptr}; const uint16_t m_number_of_columns; public: CSV(size_t size, uint16...