Skip to content

test(apple): capture audio crash reports - #804

Merged
houko merged 2 commits into
mainfrom
fix/audio-segfault-801
Nov 19, 2026
Merged

houko merged 2 commits into
mainfrom
fix/audio-segfault-801

Conversation

@houko

@houko houko commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Refs #801. This adds diagnostics and a reproduction loop; #801 stays open until a crash report is captured and the cause fixed.

Print recent macOS DiagnosticReports in a final step that runs when any step of the apple job fails, listing the reports written since the job started. Add a 200-run loop of TestASoundDecodesOnceAndPlaysOverlapping in fresh processes, so intermittent AVAudioEngine failures reproduce in CI with their crash report.

Local verification: go tool nsgo test ./internal/platform/apple passed with 107 tests and 2 skips. The overlapping playback test passed in 20 repeated runs.

@github-actions github-actions Bot added conflict Conflicts with the base branch; resolve it first size/S documentation Improvements or additions to documentation ci labels Nov 19, 2026
Move the crash report dump to a final step that runs on failure and lists reports written since the job started, so a crash in the stress loop or any later macOS step is captured too, name the failed run in the loop, and drop the core dump limit, whose cores nothing reads, and the changelog bullet for a CI-only change.
@houko
houko force-pushed the fix/audio-segfault-801 branch from 5eb0352 to cc128e9 Compare November 19, 2026 08:13
@github-actions github-actions Bot removed the conflict Conflicts with the base branch; resolve it first label Nov 19, 2026
@houko

houko commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator Author

Reviewed. Crash reports are now printed by a final failure-only step for every step of the apple job, the 200-run fresh-process stress loop passed here in 4m42s (job 15.5 of 30 minutes), and the body says Refs #801 so the issue stays open until a report is captured.

@houko
houko merged commit 80cfeb4 into main Nov 19, 2026
23 checks passed
@houko
houko deleted the fix/audio-segfault-801 branch November 19, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci documentation Improvements or additions to documentation size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant