Open ASL07 opened 5 years ago
I just figured out why this happens today and made a pull request on the arduino-esp32 repo here: https://github.com/espressif/arduino-esp32/pull/2728
I'll make one for this repo as well but it seems nobody wants to maintain it...
Created PR for this repo here #861
Hi
I am using your library to read data from the Xiaomi Temperature sensor.
My ESP32 board is crashing very frequently showing this error:
assertion "head != NULL" failed: file "/Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/heap/multi_heap_poisoning.c", line 214, function: multi_heap_free
When I decode de the backtrace I get:
It seems to happen when calling void BLERemoteCharacteristic::registerForNotify(notify_callback notifyCallback, bool notifications)
I checked for memory leaks using xPortGetFreeHeapSize() and there seems to be none.
Can you help me debugging this issue in more detail?
Here is my .ino file
Regards