apache / apache/nuttx

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

Open
#17,865 2 comments 0 reactions 1 assignee Claimed by @aviralgarg05 View on GitHub
Arch: simulator Area: Drivers OS: Linux Type: Bug
Dominant language
C
Stars
4k
Forks
1.7k
Avg merge
1d 17h
Merged PRs (30d)
237

Description

### Description / Steps to reproduce the issue

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

./nuttx
Move the mouse on the page
```bash
[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

- [x] I have verified before submitting the report.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.