apache / apache/nuttx

sleep() got woken by SIGCHLD

Open
#10,386 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
4k
Forks
1.7k
Avg merge
1d 17h
Merged PRs (30d)
237

Description

nxsig_tcbdispatch seems to wake up a task even for ignored signals.
i got surprised as SIGCHLD woken up my app unexpectedly.

Contributor guide

Open the contributing guide

Research direction

Start by tracing nxsig_tcbdispatch and the sleep wake-up path, focusing on how ignored SIGCHLD is handled. Reproduce the report with an application sleeping while a child exits, then verify that an ignored SIGCHLD no longer wakes the task unexpectedly.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.