I create a lv_cont on screen. The container’s size is 1920 * 1080.
And I create 5 pages in this container.
I switch page when I want to show this page. For example
static lv_obj_t* pages[5];
...
some init
...
//show first page
lv_obj_show(pages[0]);
lv_obj_hidden(pages[1]-pages[4])
Now, I create some obj in these pages.
When I switch page, it happens segmentation fault.
1.
It goes through an infinite recursive loop here, finally eventually results in a segmentation fault.
I don’t know what happens, can’t you help me?
Thanks.
I may not be able to do it, because It occurred only rarely, and the scene is complicated.
But I am sure that’s some layout caused it.
It hasn’t happened since I used LV_LAYOUT_OFF .