Skip to content

[BUG] The lvgl simulator freezes when the mouse enters the page #17865

@le-cheng

Description

@le-cheng

Description / Steps to reproduce the issue

make distclean
./tools/configure.sh sim:lvgl_lcd && make -j$(nproc)

./nuttx
Move the mouse on the page

[LVGL] [User]   (0.000, +0)      check_stack_size: tid: 3, Stack size : 67504 lv_nuttx_entry.c:297
[LVGL] [User]   (0.000, +0)      lv_nuttx_lcd_create: lcd /dev/lcd0 opening lv_nuttx_lcd.c:77
[LVGL] [User]   (0.000, +0)      lv_nuttx_lcd_create: lcd /dev/lcd0 open success lv_nuttx_lcd.c:84
[LVGL] [User]   (0.000, +0)      lv_nuttx_touchscreen_create: touchscreen /dev/input0 opening lv_nuttx_touchscreen.c:68
[LVGL] [User]   (0.000, +0)      lv_nuttx_touchscreen_create: touchscreen /dev/input0 open success lv_nuttx_touchscreen.c:75
[LVGL] [Warn]   (0.000, +0)      lv_demo_widgets: LV_FONT_MONTSERRAT_20 is not enabled for the widgets demo. Using LV_FONT_DEFAULT instead. lv_demo_widgets.c:143
dump_assert_info: Current Version: NuttX  0.0.0 a5a29bdbbb Jan 13 2026 18:30:20 sim
dump_assert_info: Assertion failed : at file: semaphore/sem_wait.c:146 task: Idle_Task process: Kernel 0x40002560
dump_tasks:    PID GROUP PRI POLICY   TYPE    NPX STATE   EVENT      SIGMASK          STACKBASE  STACKSIZE      USED   FILLED    COMMAND
dump_task:       0     0   0 FIFO     Kthread -   Running            0000000000000000 0x7ffd683d5a00     69600      2232     3.2%    Idle_Task
dump_task:       1     0 224 FIFO     Kthread -   Waiting Semaphore  0000000000000000 0x79b6d0fe86f0     67488       608     0.9%    hpwork 0x400c90e0 0x400c9160
dump_task:       2     0 100 FIFO     Kthread -   Waiting Semaphore  0000000000000000 0x79b6d0ff9080     67488       608     0.9%    lpwork 0x400c9020 0x400c90a0
dump_task:       3     3 100 FIFO     Task    -   Waiting Signal     0000000000000000 0x79b6d1009df0     67504      5048     7.4%    lvgldemo_main widgets

On which OS does this issue occur?

[OS: Linux]

What is the version of your OS?

ubuntu 24.04

NuttX Version

master 20260113

Issue Architecture

[Arch: simulator]

Issue Area

[Area: Drivers]

Host information

Perhaps the touch driver uses a blocking function in the interrupt

Verification

  • I have verified before submitting the report.

Metadata

Metadata

Assignees

Labels

Arch: simulatorIssues related to the SIMulatorArea: DriversDrivers issuesOS: LinuxIssues related to Linux (building system, etc)Type: BugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions