You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After researching Spring engine documentation and running:
./spring --list-config-vars | grep -i sound
Found the correct configuration variable:
Sound = 0 (bool) - Completely disables OpenAL
Previous attempts used wrong variables:
❌ snd_disable (doesn't exist)
❌ --nosound flag (doesn't exist)
❌ apulse wrapper (still segfaults)
❌ SDL_AUDIODRIVER=dummy (doesn't prevent OpenAL init)
This should FINALLY fix the alcCaptureOpenDevice segfault by preventing
OpenAL initialization entirely.
Simplified crash detection - no more special audio crash handling since
we shouldn't get audio crashes anymore.
# With Sound = 0, we should NOT get audio crashes anymore
206
202
if grep -q "CrashHandler.*Error.*Aborted\|CrashHandler.*Error.*Segmentation\|XIO.*fatal.*error\|terminate called without an active exception" test-data/infolog.txt; then
207
-
# Check if crash is audio-related (known CI limitation) vs actual bug
208
-
if grep -q "alcOpenDevice\|ALSA.*pcm\|OpenALDevice\|Sound::Init" test-data/infolog.txt; then
209
-
echo "⚠️ WARNING: Spring crashed on audio initialization (known CI limitation)"
210
-
echo " This is expected in CI with no audio hardware"
211
-
echo " Checking if SpringBoard scanned successfully before crash..."
212
-
213
-
# Verify SpringBoard was scanned successfully
214
-
# Check for scanning completion - Spring logs archive count after scanning
215
-
if grep -q "Scanning.*games" test-data/infolog.txt; then
216
-
echo "✓ SpringBoard was scanned (found 'Scanning.*games' in logs)"
217
-
# Show what was found
218
-
echo " Archive scanner logs:"
219
-
grep -E "Scanning|Found.*archives|SpringBoard" test-data/infolog.txt | head -5 || true
220
-
# Accept audio crash as long as scanning happened - this validates the RmlUi conversion
221
-
echo ""
222
-
echo "✅ SMOKE TEST PASSED (with expected audio crash)"
223
-
echo " SpringBoard successfully scanned - RmlUi conversion is valid"
224
-
exit 0
225
-
else
226
-
echo "✗ FAIL: SpringBoard didn't scan before audio crash"
0 commit comments