Closed kbickham closed 5 years ago
@kbickham please decode the backtrace you have posted using the exception decoder in the issue template.
It would appear that you are attempting to access data from a null pointer. The decoded backtrace will point you to which code is causing it.
I'm not using any explicit interrupt and don't believe I could be hitting cap on ram.
Decoding stack results
0x400ea864: tcpip_adapter_sta_start at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/tcpip_adapter/tcpip_adapter_lwip.c line 224
0x400d32d5: sendGData() at C:\Users\Lauren\Downloads\arduino nightly\sketches\newerwificonficpre2coretry/newerwificonficpre2coretry.ino line 721
0x40085aa1: psram_cache_init at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/esp32/spiram_psram.c line 832
Apologies, I actually tried to go through and clean up some some stuff in the program and that's what I got. The decoded backtrace for above is actually:
Decoding stack results
0x400ea924: tcpip_adapter_stop at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/tcpip_adapter/tcpip_adapter_lwip.c line 261
0x400d3289: sendGData() at C:\Users\Lauren\Downloads\arduino nightly\sketches\newerwificonficpre2coretry/newerwificonficpre2coretry.ino line 721
0x40085aa1: psram_cache_init at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/esp32/spiram_psram.c line 832
From what I read..the ram usage is an issue for a lot of people? This version of my code isn't even utilizing any internet protocol of any kind, I was just reading from 3 sensors (mlx90614 ir sensors, as7263 spectrometer, and a loadcell through an hx711 amplifier/adc)
@kbickham the decoded stack doesn't match any of the code you have provided in this issue. It appears that sendGData() is attempting to use a null object in it's call to tcpip_adapter_stop().
Changed my ide version/reinstalled tools and boards. May not be accurate...I have 24 hours to finish a project, I'll repost pertinent info asap.
Pretty sure it was the dev version of wifimanager. I cut down the mem use and switched to only using a captive portal. Assuming I should go ahead and close this?
Working on my senior design project. This is only part of my code, I even went back and broke down some of the float/double conversions. It just crashes.
If you have a Guru Meditation Error or Backtrace, please decode it: https://github.com/me-no-dev/EspExceptionDecoder
----------------------------- Remove above -----------------------------
Hardware:
Board: nodemcu 32s Core Installation version: 1.02 arduino boards manager IDE name: ?Arduino IDE? Flash Frequency: ?40Mhz? Upload Speed: ?115200? Computer OS: ?Windows 10?
Description:
Describe your problem here
Sketch: (leave the backquotes for code formatting)
Debug Messages: