LVGL screen stop refresh after running serval hours

  1. env: LVGL8.37 + NXP imx6ull
  2. issue: the screen is working correctly but then it is stuck and can’t refresh any more after running serval hours.
  3. In my code, I have 2 threads, one is LVGL task and the other is do some LVGL components(label/picture/animation) change.
    thread1:
    while(1)
    {
    lv_task_handler();
    usleep(5000);
    printf(“UI refresh”);
    }
    thread2:
    ‘label/picture/animation change’ code

I could see the log in thread1 which means thread1 is running.
Any one has any suggestion here as I haven’t encounted this in LVGL V7.11.0?

Operating system and interrupts — LVGL documentation