Getting stuck when I clicked a list item

Description

When I click the unit on/off item in the list, it is converted to the setting screen after a little delay.
And then I go back and repeat this operation several times, an error occurs and get stuck.

unit_onOff_issue

This is a log record when an error occurs.
out-of-memory_trace

What MCU/Processor/Board and compiler are you using?

STM32F767IIT

What LVGL version are you using?

7.10.1

What do you want to achieve?

I’d appreciate it if you could let me know if there is something that is the likely cause and how to fix it.

What have you tried so far?

Code to reproduce

Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.

The code block(s) should be formatted like:

static void GUI_MenuConfig(void)
{
	create_window();

	lv_obj_t * list = lv_list_create(win, NULL);
	lv_obj_set_size(list, 400, 250);
	lv_obj_align(list, NULL, LV_ALIGN_CENTER, 0, 0);

	lv_style_t style_list;
	lv_style_init(&style_list);
	lv_style_set_text_font(&style_list, LV_STATE_DEFAULT, &lv_font_montserrat_22);

	disp_list_item(list, &style_list);


    while(true)
    {
        vTaskDelay(1);
        lv_task_handler();

        if (CURR_GUI_STATE != GUI_STATE_MENU_CONFIG) {
    		if(win != NULL)
    		{
    			lv_win_clean(win);
    			win = NULL;
    			btn_Prev = NULL;
    		}
            break;
        }
    }
}

void GUI_MenuConfigUnit_OnOff(void)
{

    create_window();

	lv_style_t style_switch;
	lv_style_init(&style_switch);
	lv_style_set_text_font(&style_switch, LV_STATE_DEFAULT, &lv_font_montserrat_22);

	disp_switch_item(&style_switch);

    while(true)
    {
        vTaskDelay(1);
        lv_task_handler();

        if (CURR_GUI_STATE != GUI_STATE_MENU_CONFIG_UNIT_ONOFF) {
    		if(win != NULL)
    		{
    			lv_win_clean(win);
    			win = NULL;
    			btn_Prev = NULL;
    		}
            break;
        }
    }
}

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.

Please try updating to the release/v7 branch. There are a number of bugfixes and they may solve your issue.