When this line of code is executed, why does this error occur?

Why do i meet this error when i executed lv_scr_load()?

Your using separate threads? If so check Operating system and interrupts — LVGL documentation

When i create a gif object and then i clean the screen ,the error will happen sometimes.
I really dont’t know why.