View Issue Details

IDProjectCategoryView StatusLast Update
0003184Spring engineLinuxpublic2012-07-22 23:32
Reporterspliff Assigned TojK  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionno change required 
Product Version89.0 
Summary0003184: SIGFPE in OpenAL when eaxreverb is enabled
DescriptionSpring 89.0 with ALSA + Openal Soft crashes at launch screen unless you disable eaxreverb in ~/alsoftrc

Not sure if this only affects ALSA.

Attached info about HW + infolog. I compiled libopenal.so with debug symbols (-g3) but for some reason I can't get spring or GDB to show relevant function names in the stacktrace.
Steps To ReproduceRun Spring from commandline. On affected hardware you will get a crash at the launcher screen.

If you disable eaxreverb you don't get a crash.

cat ~/.alsoftrc
----

[general]
drivers = alsa
excludefx=eaxreverb # this line will prevent crash

[alsa]
device = default
Additional Information[f=0000000] [Sound] OpenAL info:
[f=0000000] [Sound] Available Devices:
[f=0000000] [Sound] ALSA Default
[f=0000000] [Sound] Device: ALSA Default
[f=0000000] [Sound] Vendor: OpenAL Community
[f=0000000] [Sound] Version: 1.1 ALSOFT 1.13
[f=0000000] [Sound] Renderer: OpenAL Soft
[f=0000000] [Sound] AL Extensions: AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model AL_LOKI_quadriphonic AL_SOFT_buffer_sub_data AL_SOFT_loop_points
[f=0000000] [Sound] ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_disconnect ALC_EXT_EFX ALC_EXT_thread_local_context
[f=0000000] [Sound] EFX Enabled: yes
[f=0000000] [Sound] Debug: EFX MaxSlots: 4
[f=0000000] [Sound] Debug: EFX MaxSlotsPerSource: 1
[f=0000000] [Sound] Max Sounds: 48
....
[f=0000000] Error: Floating point exception (SIGFPE) in spring 89.0.1-18-g3117638 develop (Debug OMP)
[f=0000000] Error: Stacktrace:
[f=0000000] LoadingScreen: single-threaded
[f=0000000] Loading Radar Icons
[f=0000000] Loading GameData Definitions
[f=0000000] Error: <0> /lib64/libpthread.so.0(+0x10810) [0x7fbc33f87810]
[f=0000000] Error: <1> /usr/lib64/libopenal.so.1(+0x1d070) [0x7fbc31112070]
[f=0000000] Error: <2> /usr/lib64/libopenal.so.1(+0x18086) [0x7fbc3110d086]
[f=0000000] Error: <3> /usr/lib64/libopenal.so.1(+0x3da89) [0x7fbc31132a89]
[f=0000000] Error: <4> /usr/lib64/libopenal.so.1(+0x1e8ca) [0x7fbc311138ca]
[f=0000000] Error: <5> /lib64/libpthread.so.0(+0x7f26) [0x7fbc33f7ef26]
[f=0000000] Error: <6> /lib64/libc.so.6(clone+0x6d) [0x7fbc3061ca4d]


=======


# cat ~/.asoundrc
pcm.!default {
        type plug
        slave.pcm "dmix"
}
pcm.dsp0 {
        type plug
        slave.pcm "dmix"
}
ctl.mixer0 {
        type hw
        card 0
}


=========


openal-info
Available playback devices:
    ALSA Default
    HDA ATI SB [VT1818S Analog] (hw:0,0) via ALSA
    HDA ATI SB [VT1818S Digital] (hw:0,1) via ALSA
    HDA ATI SB [VT1818S HP] (hw:0,2) via ALSA
    HD-Audio Generic [HDMI 0] (hw:1,3) via ALSA
Available capture devices:
    ALSA Default
    HDA ATI SB [VT1818S Analog] (hw:0,0) via ALSA
Default playback device: ALSA Default
Default capture device: ALSA Default
ALC version: 1.1

** Info for device "ALSA Default" **
ALC version: 1.1
ALC extensions:
    ALC_ENUMERATE_ALL_EXT, ALC_ENUMERATION_EXT, ALC_EXT_CAPTURE,
    ALC_EXT_disconnect, ALC_EXT_EFX, ALC_EXT_thread_local_context
OpenAL vendor string: OpenAL Community
OpenAL renderer string: OpenAL Soft
OpenAL version string: 1.1 ALSOFT 1.13
OpenAL extensions:
    AL_EXT_DOUBLE, AL_EXT_EXPONENT_DISTANCE, AL_EXT_FLOAT32, AL_EXT_IMA4,
    AL_EXT_LINEAR_DISTANCE, AL_EXT_MCFORMATS, AL_EXT_MULAW,
    AL_EXT_MULAW_MCFORMATS, AL_EXT_OFFSET, AL_EXT_source_distance_model,
    AL_LOKI_quadriphonic, AL_SOFT_buffer_sub_data, AL_SOFT_loop_points
EFX version: 1.0
Max auxiliary sends: 1
Supported filters:
    Low-pass
Supported effects:
    EAX Reverb, Reverb, Echo, Ring Modulator
TagsNo tags attached.
Attached Files
infolog.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

spliff

2012-07-13 11:33

reporter   ~0008973

Forgot to mention that UseEFX=0 has no effect on this issue.

jK

2012-07-13 17:50

developer   ~0008975

Last edited: 2012-07-13 17:50

You compiled spring with DEBUG2, spring will not crash with RELEASE, neither is it a crash it is an dev-important-only error

abma

2012-07-13 23:29

administrator   ~0008977

Last edited: 2012-07-13 23:30

thats afaik SIGNAN=TRUE, not debug. (signan is disabled as default)


hmm, wouldn't it make sense to not stop the engine on SIGFPE? (the stacktrace would/could help enough)

spliff

2012-07-17 05:38

reporter   ~0009040

Confirmed. Building release 89.0 through portage as normal doesn't show this issue.

Issue History

Date Modified Username Field Change
2012-07-13 11:25 spliff New Issue
2012-07-13 11:25 spliff File Added: infolog.txt
2012-07-13 11:33 spliff Note Added: 0008973
2012-07-13 17:50 jK Note Added: 0008975
2012-07-13 17:50 jK Note Edited: 0008975
2012-07-13 23:29 abma Note Added: 0008977
2012-07-13 23:29 abma Summary OpenAL crash when eaxreverb is enabled => SIGFPE in OpenAL when eaxreverb is enabled
2012-07-13 23:30 abma Note Edited: 0008977
2012-07-17 05:38 spliff Note Added: 0009040
2012-07-22 23:32 jK Status new => closed
2012-07-22 23:32 jK Assigned To => jK
2012-07-22 23:32 jK Resolution open => no change required