Skip to content

fix(stability): fix Android 10/OPPO crashes caused by background child process termination #179

Merged
luoyesiqiu merged 1 commit into
luoyesiqiu:mainfrom
blackandwhiteforzj:fix-ptrace-compatibility
Jun 1, 2026
Merged

fix(stability): fix Android 10/OPPO crashes caused by background child process termination #179
luoyesiqiu merged 1 commit into
luoyesiqiu:mainfrom
blackandwhiteforzj:fix-ptrace-compatibility

Conversation

@blackandwhiteforzj

Copy link
Copy Markdown

This PR addresses stability issues and Native crashes on Android 10+ devices (specifically customized OEM ROMs like OPPO/ColorOS 7) when returning from the background or mapping system assets.
False-Positive Crash on Background Resume: Aggressive background energy managers frequently kill the anti-risk child process (sending SIGKILL). Upon resuming, the monitoring thread's waitpid detects the child's termination, falsely registers it as debugger tempering, and triggers a self-protective dpt_crash().

@luoyesiqiu luoyesiqiu merged commit 6618323 into luoyesiqiu:main Jun 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants