Genymobile / Genymobile/scrcpy
scrcpy ignores signals received concurrently with X server dying
- Dominant language
- C
- Stars
- 150k
- Forks
- 13.7k
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 2
Description
- [x] I have read the [FAQ](https://github.com/Genymobile/scrcpy/blob/master/FAQ.md).
- [x] I have searched in existing [issues](https://github.com/Genymobile/scrcpy/issues).
**Environment**
- OS: Gentoo
- scrcpy version: 1.24
- installation method: ebuild
- device model: Pixel XL
- Android version: 11
**Describe the bug**
If I kill scrcpy and the X server at the same time, scrcpy fails to exit, and instead floods the terminal with:
```
WARN: Could not post new frame event:
```
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is named. Reproduce the failure by stopping scrcpy and the X server concurrently, then trace the signal and X-server shutdown handling; done means scrcpy exits cleanly without flooding the terminal with repeated frame-event warnings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100