Commit 17bf0d9
committed
fix(smoke): _exit the C client once it has its frame
libmoq.a statically bundles moq-video (openh264/vaapi/cuda). Those worker
threads use priority-protected mutexes, and tearing them down at normal
process exit can trip glibc's __pthread_tpp_change_priority assertion and
abort with a core dump, even though the moq data path already delivered a
frame. The client only needs to confirm receipt, so _exit(0) right after,
skipping the dependency's atexit teardown. Fixes the flaky rust -> c leg.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QfH4fCnLu9WHGdAjwW8L3Y1 parent 6008782 commit 17bf0d9
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
164 | 169 | | |
165 | 170 | | |
166 | 171 | | |
| |||
0 commit comments