Unhandled exception with Dash.notify

Hello everyone,

I have seen the post ‘Api_dash.js crashes on notification’, but I have different issue.
I send a notification with:

Dash.notify('data', {level: 9}); 

Notification is send, because I can receive it in my service attached to /api/v2/notify,
but once sent, application crashes.
This is debug output.

#0  0x40000000 in ?? ()
#1  0x400f474e in mg_rpc_handle_response (c=0x3ffc7384 <s_sniff_cntl+48>, 
    ci=<optimized out>, id=..., result=..., error_code=error_code@entry=0, 
    error_msg=...)
    at /home/jose/esp/esp32/rswitch/deps/rpc-common/src/mg_rpc.c:321
#2  0x400f58c0 in mg_rpc_handle_frame (c=0x3ffc7384 <s_sniff_cntl+48>, 
    ci=0x3ffc75f0 <vflash_mem+488>, frame=0x3ffca690 <mgos_task_stack+7356>)
    at /home/jose/esp/esp32/rswitch/deps/rpc-common/src/mg_rpc.c:417
#3  0x400f59fc in mg_rpc_ev_handler (ch=0x3ffc74f8 <vflash_mem+240>, 
    ev=<optimized out>, ev_data=0x3ffca700 <mgos_task_stack+7468>)
    at /home/jose/esp/esp32/rswitch/deps/rpc-common/src/mg_rpc.c:484
#4  0x400f6851 in mg_rpc_ws_handler (nc=<optimized out>, ev=<optimized out>, 
    ev_data=0x3ffca7b0 <mgos_task_stack+7644>, 
    user_data=0x3ffc74f8 <vflash_mem+240>)
    at /home/jose/esp/esp32/rswitch/deps/rpc-ws/src/mgos_rpc_channel_ws.c:85
#5  0x400f6b67 in mg_rpc_ws_out_handler (nc=0x3ffaeb60, ev=<optimized out>, 
    ev_data=<optimized out>, user_data=0x3ffc74f8 <vflash_mem+240>)
    at /home/jose/esp/esp32/rswitch/deps/rpc-ws/src/mgos_rpc_channel_ws.c:218
#6  0x401cadbd in mg_call (nc=0x3ffaeb60, 
    ev_handler=0x400f6ad8 <mg_rpc_ws_out_handler>, 
    user_data=0x3ffc74f8 <vflash_mem+240>, ev=113, 
    ev_data=0x3ffca7b0 <mgos_task_stack+7644>) at mongoose/src/mg_net.c:79
#7  0x401cb299 in mg_handle_incoming_websocket_frame (nc=0x3ffaeb60, 
    wsm=0x3ffca7b0 <mgos_task_stack+7644>)
    at mongoose/src/mg_http_websocket.c:35
#8  0x401cb572 in mg_deliver_websocket_data (nc=0x3ffaeb60)
    at mongoose/src/mg_http_websocket.c:197
#9  mg_ws_handler (nc=0x3ffaeb60, ev=<optimized out>, 
    ev_data=<optimized out>, user_data=<optimized out>)
    at mongoose/src/mg_http_websocket.c:349
#10 0x401cadbd in mg_call (nc=0x3ffaeb60, 
    ev_handler=0x401cb2b4 <mg_ws_handler>, 
    user_data=0x3ffc74f8 <vflash_mem+240>, ev=3, 
    ev_data=0x3ffca840 <mgos_task_stack+7788>) at mongoose/src/mg_net.c:79
#11 0x401cc0f9 in mg_recv_tcp (len=1460, 
    buf=0x3ffd769c "\201\r{\"id\":24632}\n", nc=<optimized out>)
    at mongoose/src/mg_net.c:627
#12 mg_do_recv (nc=0x3ffaeb60) at mongoose/src/mg_net.c:582
#13 0x401cde68 in mg_if_can_recv_cb (nc=0x3ffaeb60)
    at mongoose/src/mg_net.c:589
#14 mg_ev_mgr_lwip_process_signals (mgr=<optimized out>)
    at common/platforms/lwip/mg_lwip_ev_mgr.c:60
#15 0x401cde9a in mg_lwip_if_poll (iface=<optimized out>, timeout_ms=0)
    at common/platforms/lwip/mg_lwip_ev_mgr.c:115
#16 0x401e0dcc in mg_mgr_poll (m=0x3ffcfd00 <s_mgr>, timeout_ms=0)
    at mongoose/src/mg_net.c:284
#17 0x401c7dac in mongoose_poll (ms=0)
    at /data/tmp/mos_prebuild/tmp/cesanta/mos-libs/mongoose/src/mgos_mongoose.c:61
#18 0x40083829 in mgos_mg_poll_cb (arg=<optimized out>)
    at /home/jose/esp/esp32/rswitch/deps/freertos/src/mgos_freertos.c:101
#19 0x400839f0 in mgos_task (arg=<optimized out>)
    at /home/jose/esp/esp32/rswitch/deps/freertos/src/mgos_freertos.c:220

Thanks for reading

Sorry, I forgot to mention, I’m using esp32-PICO-KIT with mongoose-os, and I have tried with free and licensed software.