I am definitely not an Espruino codebase nor an ESP32 expert, but from what I see in the source, it seems that a null pointer is passed to jsvUnLockInline --> https://github.com/espruino/Espruino/blob/ff487e008472deff8113a32ebd3217dbd606405c/src/jsvar.c#L860
It won't help you directly, I'm sure, but it might help others identify your problem and guide you to a solution.
@Jean-Philippe_Rey started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I am definitely not an Espruino codebase nor an ESP32 expert, but from what I see in the source, it seems that a null pointer is passed to jsvUnLockInline --> https://github.com/espruino/Espruino/blob/ff487e008472deff8113a32ebd3217dbd606405c/src/jsvar.c#L860
It won't help you directly, I'm sure, but it might help others identify your problem and guide you to a solution.