[LVGL + Flow] Segmentation fault when changing focus in a large application
Describe the bug Segmentation fault when changing focus in a large application
To Reproduce Steps to reproduce the behavior: When changing focus (scrolling the mouse wheel in LVGL X11 simulation) a segmentation fault occurs. The traceback shows a call to an event handler that does not belong to the active screen (just believe me, this is related to issue #677). The traceback also shows that this call is repeated cyclically and the crash is probably related to stack exhaustion. Increasing the size of the eez-framework obj does not affect this behavior.
The problem has also been observed since the release of eez-studio 0.21.0 and on the current main. On version 0.20.0, the crash issue is not reproducible.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
Desktop (please complete the following information):
- OS: Debian
- Version: 12
LVGL version
- 9.x