Skip to content

Guard closedir when task dir open fails#217

Open
linyilei wants to merge 10 commits intobytedance:devfrom
linyilei:codex/android-sampling-closedir-null
Open

Guard closedir when task dir open fails#217
linyilei wants to merge 10 commits intobytedance:devfrom
linyilei:codex/android-sampling-closedir-null

Conversation

@linyilei
Copy link
Copy Markdown

@linyilei linyilei commented Apr 9, 2026

Summary

  • only call closedir() after /proc/self/task opens successfully so dumping thread names does not crash on a null directory handle

Verification

  • ./gradlew :rhea-inhouse:assembleDebug

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.

3 participants