How to fix my bug in ver8.0?

What does this function do?
*tlsf = lv_tlsf_create_with_pool((void )work_mem_int, LV_MEM_SIZE)

after uncomment lv_init() my program does not work.
I seek the problem and undrestood that above function is the reason .
I can’t enen debug my program afer it.
microcontroler : STM32H743

It initializes the heap.

How large is your stack? This is not a common failure point - something else must already be wrong at the time that it reaches this line.

Stack_Size = 0x2000
Heap Size =0x2000

that i defined.
program run in debug mode after two or thre time that i click on run .
but without it it doesn’t work.