[SOLVED] SPINBOX problem

I’m trying porting this project:
lvgl_STM32F103_encoder_rtx5
to littlevgl V6.0.
Everything works well but program hangs when call:
spinbox = lv_spinbox_create(lv_scr_act(), NULL);

truly strange: if i remove spinbox object everything works well.

Can you use a debugger and find where it crashes?

I’m not very skilled in debugging :frowning:
go inside this function:

dig inside:

next step goes in hard fault

Can you get a disassembly just before the hard fault?

I’ve solved enlarging main thread stack size. LittleVgl 6 seem more memory hungry then 5

@ScarsFun Nice debugging work! That should solve the probem.

I think it’s likely that you were on the very edge of overflowing the stack in LittlevGL 5.