Description
The lv_timer interrupt function lv_indev_read_timer_cb(), periodically calls the indev_encoder_proc()
function which retrieves the state of the keys and the object in the group (which is assigned to the input device).
If there is a group and a focused object, then some event will be sent to that object.
The second task deletes all objects from the group, the current group assigned to the input device, and assigns a new group to the input device.
While checking the group and the focused object, an error occurs, because neither that object nor the group exists anymore.
It can also happen that the event is called, and the object has been deleted in the meantime
What is the procedure for deleting the current group and objects, and assigning a new group to the input device?
What MCU/Processor/Board and compiler are you using?
ESP32-C3, ESP-IDF v5.0
What LVGL version are you using?
v8.3.9