Seg fault loading screen

Description

After my app has been running for a few minutes I get a seg fault when showing a new screen:

Am I doing something stupid?

What MCU/Processor/Board and compiler are you using?

Simulator under VS code

What LVGL version are you using?

8.1

What do you want to achieve?

I would like it to show my settings screen

What have you tried so far?

Reviewing the docs

Code to reproduce

app.h

lv_obj_t * scr;
lv_obj_t * scr2;

app.c

    create_screen_setup(tv);

info.cc

    lv_obj_t * btn_settings = lv_btn_create(parent);
    lv_obj_add_style(btn_settings, &style, 0);
    lv_obj_align_to(btn_settings, dbgtable, LV_ALIGN_OUT_BOTTOM_RIGHT, -80, 20);
    //8.1 to fix
    //lv_btn_set_fit2(btn_settings, LV_FIT_NONE, LV_FIT_TIGHT);
    lv_obj_add_event_cb(btn_settings, lv_ex_win_setup, LV_EVENT_CLICKED, NULL);         /*Assign an event function*/

    lv_obj_t * lblbuttonTextSettings = lv_label_create(btn_settings);
    lv_label_set_text(lblbuttonTextSettings, "Settings");

and

void lv_ex_win_setup(lv_event_t * event)
{
	lv_disp_load_scr(scr2);
}

settings.c

void create_screen_setup(lv_obj_t * parent)
{
	/*Create a window*/
	win_setup = lv_obj_create(scr2);
    lv_obj_set_size(win_setup, 1024, 600);
	//8.1 to fix
	//lv_obj_set_title(win_setup, "  Setup");                        /*Set the title*/

	/*Add control button to the header*/
	lv_obj_t * close_btn = lv_win_add_btn(win_setup, LV_SYMBOL_CLOSE, 0);           /*Add close button and use built-in close action*/

	lv_obj_add_event_cb(close_btn, cb_btn_cancel, LV_EVENT_CLICKED, NULL);
	int saveclosePos = 400;

Screenshot and/or video

When this is clicked:

I should get:

@kisvegabor This sounds suspiciously similar to https://github.com/lvgl/lvgl/issues/3013; they may have the same root cause.

Maybe but i’m not deleting anything if that helps?

Please enable logging and all asserts in lv_conf.h. Hopefully, they will show something suspicious.

After turning the missing bottom 2 asserts on:

I get:

Logging is on but at level LV_LOG_LEVEL_WARN

Is there anything else I can/should check?

Thanks

Logs with trace level set:

[Trace] (129.120, +0) lv_mem_free: freeing 0x55557632c8 (in lv_mem.c line #161)
[Trace] (129.120, +0) lv_mem_free: freeing 0x5555763298 (in lv_mem.c line #161)
[Trace] (129.120, +0) lv_mem_buf_get: begin, getting 9 bytes (in lv_mem.c line #266)
[Trace] (129.120, +0) lv_mem_buf_get: returning already allocated buffer (buffer id: 1, address: 0x55557639f8) (in lv_mem.c line #289)
[Trace] (129.120, +0) lv_mem_buf_get: begin, getting 272 bytes (in lv_mem.c line #266)
[Trace] (129.120, +0) lv_mem_buf_get: returning already allocated buffer (buffer id: 0, address: 0x5555763d08) (in lv_mem.c line #289)
[Trace] (129.120, +0) lv_mem_buf_release: begin (address: 0x5555763d08) (in lv_mem.c line #320)
[Trace] (129.120, +0) lv_mem_buf_get: begin, getting 156 bytes (in lv_mem.c line #266)
[Trace] (129.120, +0) lv_mem_buf_get: returning already allocated buffer (buffer id: 0, address: 0x5555763d08) (in lv_mem.c line #289)
[Trace] (129.120, +0) lv_mem_buf_release: begin (address: 0x5555763d08) (in lv_mem.c line #320)
[Trace] (129.120, +0) lv_mem_buf_get: begin, getting 54 bytes (in lv_mem.c line #266)
[Trace] (129.120, +0) lv_mem_buf_get: returning already allocated buffer (buffer id: 0, address: 0x5555763d08) (in lv_mem.c line #289)
[Trace] (129.120, +0) lv_mem_buf_release: begin (address: 0x5555763d08) (in lv_mem.c line #320)
[Trace] (129.120, +0) lv_mem_buf_get: begin, getting 169 bytes (in lv_mem.c line #266)
[Trace] (129.120, +0) lv_mem_buf_get: returning already allocated buffer (buffer id: 0, address: 0x5555763d08) (in lv_mem.c line #289)
[Trace] (129.120, +0) lv_mem_buf_release: begin (address: 0x5555763d08) (in lv_mem.c line #320)
[Trace] (129.120, +0) lv_mem_buf_get: begin, getting 169 bytes (in lv_mem.c line #266)
[Trace] (129.120, +0) lv_mem_buf_get: returning already allocated buffer (buffer id: 0, address: 0x5555763d08) (in lv_mem.c line #289)
[Trace] (129.120, +0) lv_mem_buf_release: begin (address: 0x5555763d08) (in lv_mem.c line #320)
[Trace] (129.120, +0) lv_mem_buf_get: begin, getting 252 bytes (in lv_mem.c line #266)
[Trace] (129.120, +0) lv_mem_buf_get: returning already allocated buffer (buffer id: 0, address: 0x5555763d08) (in lv_mem.c line #289)
[Trace] (129.120, +0) lv_mem_buf_release: begin (address: 0x5555763d08) (in lv_mem.c line #320)
[Trace] (129.120, +0) lv_mem_buf_get: begin, getting 156 bytes (in lv_mem.c line #266)
[Trace] (129.120, +0) lv_mem_buf_get: returning already allocated buffer (buffer id: 0, address: 0x5555763d08) (in lv_mem.c line #289)
[Trace] (129.120, +0) lv_mem_buf_release: begin (address: 0x5555763d08) (in lv_mem.c line #320)
[Trace] (129.120, +0) lv_mem_buf_get: begin, getting 104 bytes (in lv_mem.c line #266)
[Trace] (129.120, +0) lv_mem_buf_get: returning already allocated buffer (buffer id: 0, address: 0x5555763d08) (in lv_mem.c line #289)
[Trace] (129.120, +0) lv_mem_buf_release: begin (address: 0x5555763d08) (in lv_mem.c line #320)
[Trace] (129.120, +0) lv_mem_buf_release: begin (address: 0x55557639f8) (in lv_mem.c line #320)
[Trace] (129.120, +0) lv_mem_test: passed (in lv_mem.c line #225)
[Trace] (129.120, +0) event_send_core: Sending event 27 to 0x5555746990 with 0x7fffffe7f8 param (in lv_event.c line #405)
[Trace] (129.120, +0) event_send_core: Sending event 26 to 0x5555746990 with 0x7fffffe7f8 param (in lv_event.c line #405)
[Trace] (129.125, +5) lv_mem_test: passed (in lv_mem.c line #225)
[Trace] (129.125, +0) lv_mem_alloc: allocating 20 bytes (in lv_mem.c line #125)
[Trace] (129.125, +0) lv_mem_alloc: allocated at 0x55557631d0 (in lv_mem.c line #151)
[Trace] (129.125, +0) lv_mem_alloc: allocating 20 bytes (in lv_mem.c line #125)
[Trace] (129.125, +0) lv_mem_alloc: allocated at 0x5555763298 (in lv_mem.c line #151)
[Trace] (129.125, +0) lv_mem_free: freeing 0x5555763298 (in lv_mem.c line #161)
[Trace] (129.125, +0) lv_mem_free: freeing 0x55557631d0 (in lv_mem.c line #161)
[Trace] (129.125, +0) lv_mem_buf_get: begin, getting 5 bytes (in lv_mem.c line #266)
[Trace] (129.125, +0) lv_mem_buf_get: returning already allocated buffer (buffer id: 1, address: 0x55557639f8) (in lv_mem.c line #289)
[Trace] (129.125, +0) lv_mem_buf_get: begin, getting 51 bytes (in lv_mem.c line #266)
[Trace] (129.125, +0) lv_mem_buf_get: returning already allocated buffer (buffer id: 0, address: 0x5555763d08) (in lv_mem.c line #289)
[Trace] (129.125, +0) lv_mem_buf_release: begin (address: 0x5555763d08) (in lv_mem.c line #320)
[Trace] (129.125, +0) lv_mem_buf_get: begin, getting 169 bytes (in lv_mem.c line #266)
[Trace] (129.125, +0) lv_mem_buf_get: returning already allocated buffer (buffer id: 0, address: 0x5555763d08) (in lv_mem.c line #289)
[Trace] (129.125, +0) lv_mem_buf_release: begin (address: 0x5555763d08) (in lv_mem.c line #320)
[Trace] (129.125, +0) lv_mem_buf_get: begin, getting 180 bytes (in lv_mem.c line #266)
[Trace] (129.125, +0) lv_mem_buf_get: returning already allocated buffer (buffer id: 0, address: 0x5555763d08) (in lv_mem.c line #289)
[Trace] (129.125, +0) lv_mem_buf_release: begin (address: 0x5555763d08) (in lv_mem.c line #320)
[Trace] (129.125, +0) lv_mem_buf_get: begin, getting 182 bytes (in lv_mem.c line #266)
[Trace] (129.125, +0) lv_mem_buf_get: returning already allocated buffer (buffer id: 0, address: 0x5555763d08) (in lv_mem.c line #289)
[Trace] (129.125, +0) lv_mem_buf_release: begin (address: 0x5555763d08) (in lv_mem.c line #320)
[Trace] (129.125, +0) lv_mem_buf_release: begin (address: 0x55557639f8) (in lv_mem.c line #320)
[Trace] (129.125, +0) lv_mem_test: passed (in lv_mem.c line #225)
[Trace] (129.125, +0) event_send_core: Sending event 27 to 0x5555746990 with 0x7fffffe7f8 param (in lv_event.c line #405)
[Trace] (129.125, +0) lv_mem_buf_release: begin (address: 0x5555763a98) (in lv_mem.c line #320)
[Trace] (129.125, +0) event_send_core: Sending event 22 to 0x5555746990 with 0x7fffffebc8 param (in lv_event.c line #405)
[Trace] (129.125, +0) event_send_core: Sending event 23 to 0x5555746990 with 0x7fffffebc8 param (in lv_event.c line #405)
[Trace] (129.125, +0) event_send_core: Sending event 24 to 0x5555746990 with 0x7fffffebc8 param (in lv_event.c line #405)
[Trace] (129.125, +0) event_send_core: Sending event 44 to 0x5555746990 with 0x7fffffe5b8 param (in lv_event.c line #405)
[Trace] (129.125, +0) event_send_core: Sending event 44 to 0x5555746990 with 0x7fffffe5b8 param (in lv_event.c line #405)
[Trace] (129.125, +0) event_send_core: Sending event 25 to 0x5555746990 with 0x7fffffebc8 param (in lv_event.c line #405)
[Trace] (129.125, +0) event_send_core: Sending event 23 to 0x55557468a0 with 0x7fffffecd8 param (in lv_event.c line #405)
[Trace] (129.125, +0) event_send_core: Sending event 24 to 0x55557468a0 with 0x7fffffecd8 param (in lv_event.c line #405)
[Trace] (129.125, +0) event_send_core: Sending event 44 to 0x55557468a0 with 0x7fffffe6a8 param (in lv_event.c line #405)
[Trace] (129.125, +0) event_send_core: Sending event 44 to 0x55557468a0 with 0x7fffffe6a8 param (in lv_event.c line #405)
[Trace] (129.125, +0) event_send_core: Sending event 25 to 0x55557468a0 with 0x7fffffecd8 param (in lv_event.c line #405)
[Trace] (129.125, +0) event_send_core: Sending event 20 to 0x5555747100 with 0x7fffffebc8 param (in lv_event.c line #405)
[Trace] (129.125, +0) event_send_core: Sending event 21 to 0x5555747100 with 0x7fffffebc8 param (in lv_event.c line #405)
[Trace] (129.125, +0) event_send_core: Sending event 26 to 0x5555747100 with 0x7fffffe868 param (in lv_event.c line #405)
[Trace] (129.125, +0) lv_mem_test: passed (in lv_mem.c line #225)
[Trace] (129.125, +0) event_send_core: Sending event 27 to 0x5555747100 with 0x7fffffe868 param (in lv_event.c line #405)
[Trace] (129.125, +0) lv_mem_buf_get: begin, getting 15 bytes (in lv_mem.c line #266)
[Trace] (129.125, +0) lv_mem_buf_get: returning already allocated buffer (buffer id: 1, address: 0x55557639f8) (in lv_mem.c line #289)
[Trace] (129.125, +0) lv_mem_buf_get: begin, getting 319 bytes (in lv_mem.c line #266)
[Trace] (129.125, +0) lv_mem_buf_get: returning already allocated buffer (buffer id: 0, address: 0x5555763d08) (in lv_mem.c line #289)
[Trace] (129.125, +0) lv_mem_buf_release: begin (address: 0x5555763d08) (in lv_mem.c line #320)
[Trace] (129.125, +0) lv_mem_buf_get: begin, getting 638 bytes (in lv_mem.c line #266)
[Trace] (129.125, +0) lv_mem_buf_get: returning already allocated buffer (buffer id: 0, address: 0x5555763d08) (in lv_mem.c line #289)
[Trace] (129.125, +0) lv_mem_buf_release: begin (address: 0x5555763d08) (in lv_mem.c line #320)
[Trace] (129.125, +0) lv_mem_buf_get: begin, getting 154 bytes (in lv_mem.c line #266)
[Trace] (129.125, +0) lv_mem_buf_get: returning already allocated buffer (buffer id: 2, address: 0x5555763a98) (in lv_mem.c line #289)
[Trace] (129.125, +0) lv_mem_buf_release: begin (address: 0x5555763a98) (in lv_mem.c line #320)
[Trace] (129.125, +0) lv_mem_buf_get: begin, getting 638 bytes (in lv_mem.c line #266)
[Trace] (129.125, +0) lv_mem_buf_get: returning already allocated buffer (buffer id: 0, address: 0x5555763d08) (in lv_mem.c line #289)
[Trace] (129.125, +0) lv_mem_buf_release: begin (address: 0x5555763d08) (in lv_mem.c line #320)
[Trace] (129.125, +0) lv_mem_buf_get: begin, getting 696 bytes (in lv_mem.c line #266)
[Trace] (129.125, +0) lv_mem_buf_get: returning already allocated buffer (buffer id: 0, address: 0x5555763d08) (in lv_mem.c line #289)
[Trace] (129.125, +0) lv_mem_buf_release: begin (address: 0x5555763d08) (in lv_mem.c line #320)
[Trace] (129.125, +0) lv_mem_buf_release: begin (address: 0x55557639f8) (in lv_mem.c line #320)
[Trace] (129.125, +0) lv_mem_test: passed (in lv_mem.c line #225)
[Trace] (129.125, +0) event_send_core: Sending event 22 to 0x5555747100 with 0x7fffffebc8 param (in lv_event.c line #405)
[Trace] (129.125, +0) event_send_core: Sending event 23 to 0x5555747100 with 0x7fffffebc8 param (in lv_event.c line #405)
[Trace] (129.125, +0) event_send_core: Sending event 24 to 0x5555747100 with 0x7fffffebc8 param (in lv_event.c line #405)
[Trace] (129.125, +0) event_send_core: Sending event 44 to 0x5555747100 with 0x7fffffe608 param (in lv_event.c line #405)
[Trace] (129.125, +0) event_send_core: Sending event 44 to 0x5555747100 with 0x7fffffe608 param (in lv_event.c line #405)
[Trace] (129.125, +0) event_send_core: Sending event 25 to 0x5555747100 with 0x7fffffebc8 param (in lv_event.c line #405)
[Trace] (129.125, +0) event_send_core: Sending event 23 to 0x5555746748 with 0x7fffffecd8 param (in lv_event.c line #405)
[Trace] (129.125, +0) event_send_core: Sending event 24 to 0x5555746748 with 0x7fffffecd8 param (in lv_event.c line #405)
[Trace] (129.125, +0) event_send_core: Sending event 44 to 0x5555746748 with 0x7fffffe708 param (in lv_event.c line #405)
[Trace] (129.130, +5) event_send_core: Sending event 44 to 0x5555746748 with 0x7fffffe708 param (in lv_event.c line #405)
[Trace] (129.130, +0) event_send_core: Sending event 25 to 0x5555746748 with 0x7fffffecd8 param (in lv_event.c line #405)
[Trace] (129.130, +0) event_send_core: Sending event 20 to 0x5555746280 with 0x7fffffebc8 param (in lv_event.c line #405)
[Trace] (129.130, +0) event_send_core: Sending event 21 to 0x5555746280 with 0x7fffffebc8 param (in lv_event.c line #405)
[Trace] (129.130, +0) event_send_core: Sending event 26 to 0x5555746280 with 0x7fffffe908 param (in lv_event.c line #405)
[Trace] (129.130, +0) lv_mem_test: passed (in lv_mem.c line #225)
[Trace] (129.130, +0) event_send_core: Sending event 27 to 0x5555746280 with 0x7fffffe908 param (in lv_event.c line #405)
[Trace] (129.130, +0) event_send_core: Sending event 22 to 0x5555746280 with 0x7fffffebc8 param (in lv_event.c line #405)
[Trace] (129.130, +0) event_send_core: Sending event 23 to 0x5555746280 with 0x7fffffebc8 param (in lv_event.c line #405)
[Trace] (129.130, +0) event_send_core: Sending event 24 to 0x5555746280 with 0x7fffffebc8 param (in lv_event.c line #405)
[Trace] (129.130, +0) event_send_core: Sending event 25 to 0x5555746280 with 0x7fffffebc8 param (in lv_event.c line #405)
[Trace] (129.130, +0) event_send_core: Sending event 20 to 0x55557462f8 with 0x7fffffebc8 param (in lv_event.c line #405)
[Trace] (129.130, +0) event_send_core: Sending event 21 to 0x55557462f8 with 0x7fffffebc8 param (in lv_event.c line #405)
[Trace] (129.130, +0) event_send_core: Sending event 26 to 0x55557462f8 with 0x7fffffe908 param (in lv_event.c line #405)
[Trace] (129.130, +0) lv_mem_test: passed (in lv_mem.c line #225)
[Trace] (129.130, +0) event_send_core: Sending event 27 to 0x55557462f8 with 0x7fffffe908 param (in lv_event.c line #405)
[Trace] (129.130, +0) event_send_core: Sending event 22 to 0x55557462f8 with 0x7fffffebc8 param (in lv_event.c line #405)
[Trace] (129.130, +0) event_send_core: Sending event 23 to 0x55557462f8 with 0x7fffffebc8 param (in lv_event.c line #405)
[Trace] (129.130, +0) event_send_core: Sending event 24 to 0x55557462f8 with 0x7fffffebc8 param (in lv_event.c line #405)
[Trace] (129.130, +0) event_send_core: Sending event 25 to 0x55557462f8 with 0x7fffffebc8 param (in lv_event.c line #405)
[Trace] (129.130, +0) call_flush_cb: Calling flush_cb on (0;0)(1023;49) area with 0x5555784540 image pointer (in lv_refr.c line #979)
[Trace] (129.145, +15) lv_mem_free: freeing 0x5555763d08 (in lv_mem.c line #161)
[Trace] (129.145, +0) lv_mem_free: freeing 0x55557639f8 (in lv_mem.c line #161)
[Trace] (129.145, +0) lv_mem_free: freeing 0x5555763a98 (in lv_mem.c line #161)
[Trace] (129.145, +0) lv_mem_free: freeing 0x55557639a8 (in lv_mem.c line #161)
[Trace] (129.145, +0) lv_mem_free: freeing 0x5555763a58 (in lv_mem.c line #161)
[Trace] (129.145, +0) lv_mem_free: freeing 0x5555763bc0 (in lv_mem.c line #161)
[Trace] (129.145, +0) lv_mem_free: freeing 0x5555763c68 (in lv_mem.c line #161)
[Trace] (129.145, +0) _lv_disp_refr_timer: finished (in lv_refr.c line #316)
[Trace] (129.145, +0) lv_timer_exec: timer callback 0x55555e44b8 finished (in lv_timer.c line #314)
[Trace] (129.145, +0) lv_mem_test: passed (in lv_mem.c line #225)
[Trace] (129.145, +0) lv_timer_exec: calling timer callback: 0x55555fc098 (in lv_timer.c line #312)
[Trace] (129.145, +0) lv_timer_exec: timer callback 0x55555fc098 finished (in lv_timer.c line #314)
[Trace] (129.145, +0) lv_mem_test: passed (in lv_mem.c line #225)
[Trace] (129.145, +0) lv_timer_exec: calling timer callback: 0x555559dcc8 (in lv_timer.c line #312)
[Trace] (129.145, +0) lv_mem_free: freeing 0x55557638f8 (in lv_mem.c line #161)
[Trace] (129.145, +0) lv_mem_alloc: allocating 30 bytes (in lv_mem.c line #125)
[Trace] (129.145, +0) lv_mem_alloc: allocated at 0x55557631d0 (in lv_mem.c line #151)
[Trace] (129.145, +0) lv_mem_free: freeing 0x55557638c8 (in lv_mem.c line #161)
[Trace] (129.145, +0) lv_mem_free: freeing 0x5555763930 (in lv_mem.c line #161)
[Trace] (129.145, +0) lv_mem_free: freeing 0x5555763818 (in lv_mem.c line #161)
[Trace] (129.145, +0) lv_mem_alloc: allocating 20 bytes (in lv_mem.c line #125)
[Trace] (129.145, +0) lv_mem_alloc: allocated at 0x5555763818 (in lv_mem.c line #151)
[Trace] (129.145, +0) lv_mem_free: freeing 0x55557631d0 (in lv_mem.c line #161)
[Trace] (129.145, +0) lv_mem_free: freeing 0x5555763850 (in lv_mem.c line #161)
[Trace] (129.145, +0) event_send_core: Sending event 19 to 0x555575e4c8 with 0x7fffffecec param (in lv_event.c line #405)
[Trace] (129.150, +5) lv_mem_free: freeing 0x5555763768 (in lv_mem.c line #161)
[Trace] (129.150, +0) lv_mem_free: freeing 0x5555763818 (in lv_mem.c line #161)
[Trace] (129.150, +0) lv_mem_free: freeing 0x55557637a0 (in lv_mem.c line #161)
[Trace] (129.150, +0) event_send_core: Sending event 19 to 0x555575e4c8 with 0x7fffffecec param (in lv_event.c line #405)
[Trace] (129.150, +0) lv_mem_free: freeing 0x555575e5f8 (in lv_mem.c line #161)
[Trace] (129.150, +0) lv_mem_free: freeing 0x5555747470 (in lv_mem.c line #161)
[Trace] (129.150, +0) lv_mem_realloc: reallocating 0x55557636a0 with 176 size (in lv_mem.c line #184)
[Trace] (129.150, +0) lv_mem_realloc: allocated at 0x55557636a0 (in lv_mem.c line #203)
[Trace] (129.150, +0) lv_mem_free: freeing 0x555575e630 (in lv_mem.c line #161)
[Trace] (129.150, +0) lv_timer_exec: timer callback 0x555559dcc8 finished (in lv_timer.c line #314)
[Trace] (129.150, +0) lv_mem_test: passed (in lv_mem.c line #225)
[Trace] (129.150, +0) lv_timer_handler: finished (0 ms until the next timer call) (in lv_timer.c line #144)
[Trace] (129.165, +15) lv_timer_handler: begin (in lv_timer.c line #69)
[Trace] (129.165, +0) lv_timer_exec: calling timer callback: 0x55556007ac (in lv_timer.c line #312)
[Trace] (129.185, +20) lv_timer_exec: timer callback 0x55556007ac finished (in lv_timer.c line #314)
[Trace] (129.185, +0) lv_mem_test: passed (in lv_mem.c line #225)
[Trace] (129.185, +0) lv_timer_exec: calling timer callback: 0x5555600930 (in lv_timer.c line #312)
[Trace] (129.185, +0) lv_mem_free: freeing 0x5555746be0 (in lv_mem.c line #161)
[Trace] (129.185, +0) lv_mem_alloc: allocating 25 bytes (in lv_mem.c line #125)
[Trace] (129.185, +0) lv_mem_alloc: allocated at 0x5555746be0 (in lv_mem.c line #151)
[Trace] (129.185, +0) lv_mem_alloc: allocating 100 bytes (in lv_mem.c line #125)
[Trace] (129.185, +0) lv_mem_alloc: allocated at 0x555575e5f8 (in lv_mem.c line #151)
[Trace] (129.185, +0) lv_mem_alloc: allocating 100 bytes (in lv_mem.c line #125)
[Trace] (129.185, +0) lv_mem_alloc: allocated at 0x5555763298 (in lv_mem.c line #151)
[Trace] (129.185, +0) lv_mem_free: freeing 0x5555763298 (in lv_mem.c line #161)
[Trace] (129.185, +0) lv_mem_free: freeing 0x555575e5f8 (in lv_mem.c line #161)
[Trace] (129.185, +0) lv_mem_realloc: reallocating 0x555575e0f8 with 17 size (in lv_mem.c line #184)
[Trace] (129.185, +0) lv_mem_realloc: allocated at 0x555575e0f8 (in lv_mem.c line #203)
[Trace] (129.185, +0) lv_mem_alloc: allocating 64 bytes (in lv_mem.c line #125)
[Trace] (129.185, +0) lv_mem_alloc: allocated at 0x555575e5f8 (in lv_mem.c line #151)
[Trace] (129.185, +0) lv_mem_alloc: allocating 64 bytes (in lv_mem.c line #125)
[Trace] (129.185, +0) lv_mem_alloc: allocated at 0x555575e640 (in lv_mem.c line #151)
[Trace] (129.185, +0) lv_mem_free: freeing 0x555575e640 (in lv_mem.c line #161)
[Trace] (129.185, +0) lv_mem_free: freeing 0x555575e5f8 (in lv_mem.c line #161)
[Trace] (129.185, +0) lv_mem_realloc: reallocating 0x5555747fe8 with 4 size (in lv_mem.c line #184)
[Trace] (129.185, +0) lv_mem_realloc: allocated at 0x5555747fe8 (in lv_mem.c line #203)
[Trace] (129.185, +0) lv_mem_alloc: allocating 12 bytes (in lv_mem.c line #125)
[Trace] (129.185, +0) lv_mem_alloc: allocated at 0x5555747470 (in lv_mem.c line #151)
[Trace] (129.185, +0) lv_mem_alloc: allocating 12 bytes (in lv_mem.c line #125)
[Trace] (129.185, +0) lv_mem_alloc: allocated at 0x55557631d0 (in lv_mem.c line #151)
[Trace] (129.185, +0) lv_mem_free: freeing 0x55557631d0 (in lv_mem.c line #161)
[Trace] (129.185, +0) lv_mem_free: freeing 0x5555747470 (in lv_mem.c line #161)
[Trace] (129.185, +0) lv_mem_realloc: reallocating 0x55557480e8 with 4 size (in lv_mem.c line #184)
[Trace] (129.185, +0) lv_mem_realloc: allocated at 0x55557480e8 (in lv_mem.c line #203)
[Trace] (129.185, +0) lv_mem_alloc: allocating 12 bytes (in lv_mem.c line #125)
[Trace] (129.185, +0) lv_mem_alloc: allocated at 0x5555747470 (in lv_mem.c line #151)
[Trace] (129.185, +0) lv_mem_alloc: allocating 12 bytes (in lv_mem.c line #125)
[Trace] (129.185, +0) lv_mem_alloc: allocated at 0x55557631d0 (in lv_mem.c line #151)
[Trace] (129.185, +0) lv_mem_free: freeing 0x55557631d0 (in lv_mem.c line #161)
[Trace] (129.185, +0) lv_mem_free: freeing 0x5555747470 (in lv_mem.c line #161)
[Trace] (129.185, +0) lv_mem_realloc: reallocating 0x5555748168 with 4 size (in lv_mem.c line #184)
[Trace] (129.185, +0) lv_mem_realloc: allocated at 0x5555748168 (in lv_mem.c line #203)
[Trace] (129.185, +0) lv_mem_alloc: allocating 12 bytes (in lv_mem.c line #125)
[Trace] (129.185, +0) lv_mem_alloc: allocated at 0x5555747470 (in lv_mem.c line #151)
[Trace] (129.185, +0) lv_mem_alloc: allocating 12 bytes (in lv_mem.c line #125)
[Trace] (129.185, +0) lv_mem_alloc: allocated at 0x55557631d0 (in lv_mem.c line #151)
[Trace] (129.185, +0) lv_mem_free: freeing 0x55557631d0 (in lv_mem.c line #161)
[Trace] (129.185, +0) lv_mem_free: freeing 0x5555747470 (in lv_mem.c line #161)
[Trace] (129.185, +0) lv_mem_realloc: reallocating 0x55557481e8 with 4 size (in lv_mem.c line #184)
[Trace] (129.185, +0) lv_mem_realloc: allocated at 0x55557481e8 (in lv_mem.c line #203)
[Trace] (129.185, +0) lv_mem_alloc: allocating 12 bytes (in lv_mem.c line #125)
[Trace] (129.185, +0) lv_mem_alloc: allocated at 0x5555747470 (in lv_mem.c line #151)
[Trace] (129.185, +0) lv_mem_alloc: allocating 12 bytes (in lv_mem.c line #125)
[Trace] (129.185, +0) lv_mem_alloc: allocated at 0x55557631d0 (in lv_mem.c line #151)
[Trace] (129.185, +0) lv_mem_free: freeing 0x55557631d0 (in lv_mem.c line #161)
[Trace] (129.185, +0) lv_mem_free: freeing 0x5555747470 (in lv_mem.c line #161)
[Trace] (129.185, +0) lv_mem_realloc: reallocating 0x5555747f20 with 4 size (in lv_mem.c line #184)
[Trace] (129.185, +0) lv_mem_realloc: allocated at 0x5555747f20 (in lv_mem.c line #203)
[Trace] (129.185, +0) lv_mem_alloc: allocating 12 bytes (in lv_mem.c line #125)
[Trace] (129.185, +0) lv_mem_alloc: allocated at 0x5555747470 (in lv_mem.c line #151)
[Trace] (129.185, +0) lv_mem_alloc: allocating 12 bytes (in lv_mem.c line #125)
[Trace] (129.185, +0) lv_mem_alloc: allocated at 0x55557631d0 (in lv_mem.c line #151)
[Trace] (129.185, +0) lv_mem_free: freeing 0x55557631d0 (in lv_mem.c line #161)
[Trace] (129.185, +0) lv_mem_free: freeing 0x5555747470 (in lv_mem.c line #161)
[Trace] (129.185, +0) lv_mem_realloc: reallocating 0x5555748330 with 4 size (in lv_mem.c line #184)
[Trace] (129.185, +0) lv_mem_realloc: allocated at 0x5555748330 (in lv_mem.c line #203)
[Trace] (129.185, +0) lv_mem_alloc: allocating 12 bytes (in lv_mem.c line #125)
[Trace] (129.185, +0) lv_mem_alloc: allocated at 0x5555747470 (in lv_mem.c line #151)
[Trace] (129.185, +0) lv_mem_alloc: allocating 12 bytes (in lv_mem.c line #125)
[Trace] (129.185, +0) lv_mem_alloc: allocated at 0x55557631d0 (in lv_mem.c line #151)
[Trace] (129.185, +0) lv_mem_free: freeing 0x55557631d0 (in lv_mem.c line #161)
[Trace] (129.185, +0) lv_mem_free: freeing 0x5555747470 (in lv_mem.c line #161)
[Trace] (129.185, +0) lv_timer_exec: timer callback 0x5555600930 finished (in lv_timer.c line #314)
[Trace] (129.185, +0) lv_mem_test: passed (in lv_mem.c line #225)
[Trace] (129.185, +0) lv_timer_exec: calling timer callback: 0x55555ecacc (in lv_timer.c line #312)
[Trace] (129.185, +0) lv_indev_read_timer_cb: begin (in lv_indev.c line #66)
[Trace] (129.185, +0) _lv_indev_read: calling indev_read_cb (in lv_hal_indev.c line #151)
[Trace] (129.185, +0) lv_indev_read_timer_cb: finished (in lv_indev.c line #119)
[Trace] (129.185, +0) lv_timer_exec: timer callback 0x55555ecacc finished (in lv_timer.c line #314)
[Trace] (129.185, +0) lv_mem_test: passed (in lv_mem.c line #225)
[Trace] (129.185, +0) lv_timer_exec: calling timer callback: 0x55555ecacc (in lv_timer.c line #312)
[Trace] (129.185, +0) lv_indev_read_timer_cb: begin (in lv_indev.c line #66)
[Trace] (129.185, +0) _lv_indev_read: calling indev_read_cb (in lv_hal_indev.c line #151)
[Trace] (129.185, +0) lv_indev_read_timer_cb: finished (in lv_indev.c line #119)
[Trace] (129.185, +0) lv_timer_exec: timer callback 0x55555ecacc finished (in lv_timer.c line #314)
[Trace] (129.185, +0) lv_mem_test: passed (in lv_mem.c line #225)
[Trace] (129.185, +0) lv_timer_exec: calling timer callback: 0x55555ecacc (in lv_timer.c line #312)
[Trace] (129.185, +0) lv_indev_read_timer_cb: begin (in lv_indev.c line #66)
[Trace] (129.185, +0) _lv_indev_read: calling indev_read_cb (in lv_hal_indev.c line #151)
[Info] (129.185, +0) indev_proc_release: released (in lv_indev.c line #930)
[Trace] (129.185, +0) event_send_core: Sending event 8 to 0x555575e4c8 with 0x55557463c0 param (in lv_event.c line #405)
[Trace] (129.185, +0) lv_mem_buf_get: begin, getting 1024 bytes (in lv_mem.c line #266)
[Trace] (129.185, +0) lv_mem_realloc: reallocating (nil) with 1024 size (in lv_mem.c line #184)
[Trace] (129.190, +5) lv_mem_realloc: allocated at 0x5555763298 (in lv_mem.c line #203)
[Trace] (129.190, +0) lv_mem_buf_get: allocated (buffer id: 0, address: 0x5555763298) (in lv_mem.c line #304)
[Trace] (129.195, +5) lv_mem_realloc: reallocating 0x55557636a0 with 192 size (in lv_mem.c line #184)
[Trace] (129.195, +0) lv_mem_realloc: allocated at 0x55557636a0 (in lv_mem.c line #203)
[Trace] (129.195, +0) lv_mem_alloc: allocating 24 bytes (in lv_mem.c line #125)
[Trace] (129.195, +0) lv_mem_alloc: allocated at 0x5555747470 (in lv_mem.c line #151)
[Trace] (129.195, +0) lv_mem_alloc: allocating 48 bytes (in lv_mem.c line #125)
[Trace] (129.195, +0) lv_mem_alloc: allocated at 0x555575e5f8 (in lv_mem.c line #151)
[Trace] (129.195, +0) lv_anim_start: begin (in lv_anim.c line #78)
[Trace] (129.195, +0) lv_mem_alloc: allocating 112 bytes (in lv_mem.c line #125)
[Trace] (129.195, +0) lv_mem_alloc: allocated at 0x555575e630 (in lv_mem.c line #151)
[Trace] (129.195, +0) lv_anim_start: finished (in lv_anim.c line #113)
[Trace] (129.195, +0) lv_mem_alloc: allocating 20 bytes (in lv_mem.c line #125)
[Trace] (129.195, +0) lv_mem_alloc: allocated at 0x55557631d0 (in lv_mem.c line #151)
[Trace] (129.195, +0) lv_mem_alloc: allocating 48 bytes (in lv_mem.c line #125)
[Trace] (129.195, +0) lv_mem_alloc: allocated at 0x5555763768 (in lv_mem.c line #151)
[Trace] (129.195, +0) lv_anim_start: begin (in lv_anim.c line #78)
[Trace] (129.195, +0) lv_mem_alloc: allocating 112 bytes (in lv_mem.c line #125)
[Trace] (129.195, +0) lv_mem_alloc: allocated at 0x55557637a0 (in lv_mem.c line #151)
[Trace] (129.195, +0) lv_anim_start: finished (in lv_anim.c line #113)
[Trace] (129.195, +0) lv_mem_realloc: reallocating 0x55557631d0 with 30 size (in lv_mem.c line #184)
[Trace] (129.195, +0) lv_mem_realloc: allocated at 0x55557631d0 (in lv_mem.c line #203)
[Trace] (129.195, +0) lv_mem_alloc: allocating 48 bytes (in lv_mem.c line #125)
[Trace] (129.195, +0) lv_mem_alloc: allocated at 0x5555763818 (in lv_mem.c line #151)
[Trace] (129.195, +0) lv_anim_start: begin (in lv_anim.c line #78)
[Trace] (129.195, +0) lv_mem_alloc: allocating 112 bytes (in lv_mem.c line #125)
[Trace] (129.195, +0) lv_mem_alloc: allocated at 0x5555763850 (in lv_mem.c line #151)
[Trace] (129.195, +0) lv_anim_start: finished (in lv_anim.c line #113)
[Trace] (129.195, +0) lv_mem_realloc: reallocating 0x55557631d0 with 40 size (in lv_mem.c line #184)
[Trace] (129.195, +0) lv_mem_realloc: allocated at 0x55557638c8 (in lv_mem.c line #203)
[Trace] (129.195, +0) lv_mem_alloc: allocating 48 bytes (in lv_mem.c line #125)
[Trace] (129.195, +0) lv_mem_alloc: allocated at 0x55557638f8 (in lv_mem.c line #151)
[Trace] (129.195, +0) lv_anim_start: begin (in lv_anim.c line #78)
[Trace] (129.195, +0) lv_mem_alloc: allocating 112 bytes (in lv_mem.c line #125)
[Trace] (129.195, +0) lv_mem_alloc: allocated at 0x5555763930 (in lv_mem.c line #151)
[Trace] (129.195, +0) lv_anim_start: finished (in lv_anim.c line #113)
[Trace] (129.195, +0) lv_mem_buf_release: begin (address: 0x5555763298) (in lv_mem.c line #320)
[Trace] (129.195, +0) event_send_core: Sending event 19 to 0x555575e4c8 with 0x7fffffeaac param (in lv_event.c line #405)
[Trace] (129.195, +0) event_send_core: Sending event 4 to 0x555575e4c8 with 0x55557463c0 param (in lv_event.c line #405)
[Trace] (129.195, +0) event_send_core: Sending event 7 to 0x555575e4c8 with 0x55557463c0 param (in lv_event.c line #405)

If you need more let me know how much…

Thanks

Am I just doing the wrong thing if I want a screen outside of the normal tabview?

Thanks

I think I accidentally found and fixed the prolem (in my code), its now been running over 10 mins and no crash where it would crash between 15 and 60 seconds before…

I have a struct that was 6 rows but there were 7 being populated into it. I suspect that once the 7th came along it messed the memory mapping up and pushed the scr2 out of alignment. Now this is correct the crash doesnt seem to happen anymore.

I did think that under this circumstance the app would have crashed on adding the 7th but it didnt?!?

Sorry for bothering you with this.

kind regards