How to fix irregular Application crash in _lv_event_mark_deleted?

Hi,

After fixind a few obvious missing defines and fonts I found that code in dismiss_event_cb is not defined. Of course it can be also easily fixed but it might be the root of the problem as well, as I can’t see where it is initialized.

After changing it to if(lv_event_get_code(e) == LV_EVENT_CLICKED) it works well for me.

If it doesn’t help, please do these:

  • Enable LV_MEM_ADD_JUNK in lv_mem.c
  • Enable all LV_USE_ASSERT_* in lv_conf.h
  • Enable the logging of LVGL
1 Like