2025-07-17 13:27 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003184Spring engineLinuxpublic2012-07-22 23:32
Reporterspliff 
Assigned TojK 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionno change required 
Product Version89.0 
Target VersionFixed in Version 
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.
Checked infolog.txt for Errors
Attached Files
  • txt file icon infolog.txt (10,067 bytes) 2012-07-13 11:25 -
    Using configuration source: "/backup/spliff/.springrc"
    [CMyMath::Init] CPU SSE mask: 888, flags:
    	SSE 1.0:  1,  SSE 2.0:  1
    	SSE 3.0:  1, SSSE 3.0:  0
    	SSE 4.1:  0,  SSE 4.2:  0
    	SSE 4.0A: 1,  SSE 5.0A: 0
    	using streflop SSE FP-math mode, CPU supports SSE instructions
    OS: Linux 3.4.3-gentoo #5 SMP Wed Jul 4 14:07:07 EST 2012 x86_64
    OS: 64bit native mode
    [Watchdog] Installed (HangTimeout: 10sec)
    Debug: Adding /spring/linux/final/ to directories
    Debug: Adding /backup/spliff/.spring/ to directories
    Debug: Adding /share/games/spring/ to directories
    Available log sections: KeyBindings, CSMFGroundTextures, RoamMeshDrawer, BumpWater, DynWater, SkyBox, FarTextureHandler, Model, Piece, ModelDrawer, OBJParser, WorldObjectModelRenderer, Texture, Font, CollisionVolume, GroundMoveType, Path, UnitScript, AutohostInterface, ArchiveScanner, VFS, Sound, LuaSocket
    Enabled log sections: Sound(LOG_LEVEL_DEBUG)
    Enable or disable log sections using the LogSections configuration key
      or the SPRING_LOG_SECTIONS environment variable (both comma separated).
      Use "none" to disable the default log sections.
    LogOutput initialized.
    Spring 89.0.1-18-g3117638 develop (Debug OMP)
    Build date/time: Jul 13 2012 02:34:45
    Build environment: boost-104900, GNU libstdc++ version 20120301
    Compiler: gcc-4.6.3
    Using read-write data directory: /spring/linux/final/
    Using read-only data directory: /backup/spliff/.spring/
    Scanning: /backup/spliff/.spring/maps
    Scanning: /backup/spliff/.spring/base
    Scanning: /backup/spliff/.spring/games
    Scanning: /spring/linux/final/base
    Supported Video modes: 2560x1600, 2048x1536, 1920x1200, 1920x1080, 1856x1392, 1800x1440, 1792x1344, 1680x1050, 1600x1200, 1440x900, 1400x1050, 1280x1024, 1280x960, 1280x800, 1280x768, 1280x720, 1024x768, 800x600, 640x480
    Video mode set to 1280x1024/32bit (windowed)
    [f=0000000] SDL version:  1.2.15
    [f=0000000] GL version:   4.2.11733 Compatibility Profile Context
    [f=0000000] GL vendor:    ATI Technologies Inc.
    [f=0000000] GL renderer:  AMD Radeon HD 6800 Series 
    [f=0000000] GLSL version: 4.20
    [f=0000000] GLEW version: 1.7.0
    [f=0000000] Video RAM:    total 750MB, available 912MB
    [f=0000000] GL info:
    	haveARB: 1, haveGLSL: 1, ATI hacks: 1
    	FBO support: 1, NPOT-texture support: 1, 24bit Z-buffer support: 0
    	maximum texture size: 16384, compress MIP-map textures: 0
    	maximum SmoothPointSize: 63, maximum vec4 varying/attributes: 32/29
    	maximum drawbuffers: 8, maximum recommended indices/vertices: 16777215/2147483647
    	number of UniformBufferBindings: 75
    [f=0000000] VSync disabled
    [f=0000000] Joysticks found: 0
    [f=0000000] Warning: Joystick 0 not found
    [f=0000000] [LuaSocket] Adding rule 1 0.0.0.0:3000
    [f=0000000] [LuaSocket] Adding rule 1 0.0.0.0:8201
    [f=0000000] [LuaSocket] Adding rule 1 localhost:3001
    [f=0000000] [LuaSocket] Adding rule 1 192.168.1.36:3002
    [f=0000000] CPU Cores: 6
    [f=0000000] CPU affinity not set
    [f=0000000] Loading startscript from: test.txt
    [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] Connecting to local server
    [f=0000000] [ArchiveScanner] GetArchives: DeltaSiegeDry (depth 0)
    [f=0000000] [ArchiveScanner] GetArchives: Map Helper v1 (depth 1)
    [f=0000000] [ArchiveScanner] GetArchives: Metalstorm-Enigma-0.1.sdd (depth 0)
    [f=0000000] [ArchiveScanner] GetArchives: Metalstorm v0.2 (depth 1)
    [f=0000000] [ArchiveScanner] GetArchives: springcontent.sdz (depth 2)
    [f=0000000] [ArchiveScanner] GetArchives: Spring Bitmaps (depth 3)
    [f=0000000] [ArchiveScanner] GetArchives: cursors.sdz (depth 2)
    [f=0000000] [ArchiveScanner] GetArchives: Spring content v1 (depth 2)
    [f=0000000] [ArchiveScanner] GetArchives: Spring Bitmaps (depth 3)
    [f=0000000] [ArchiveScanner] GetArchives: Enigma AI v0.1 (depth 1)
    [f=0000000] [ArchiveScanner] GetArchives: Spring content v1 (depth 1)
    [f=0000000] [ArchiveScanner] GetArchives: Spring Bitmaps (depth 2)
    [f=0000000] [ArchiveScanner] /backup/spliff/.spring/games/Metalstorm-Enigma-0.1.sdd checksum: -207465903/4087501393
    [f=0000000] [ArchiveScanner] /backup/spliff/.spring/games/Metalstorm-0.2.sdd checksum: 77201459/77201459
    [f=0000000] [ArchiveScanner] /spring/linux/final/base/springcontent.sdz checksum: -1689688625/2605278671
    [f=0000000] [ArchiveScanner] /spring/linux/final/base/spring/bitmaps.sdz checksum: -1951780851/2343186445
    [f=0000000] [ArchiveScanner] /spring/linux/final/base/cursors.sdz checksum: -1354362122/2940605174
    [f=0000000] [ArchiveScanner] /backup/spliff/.spring/games/EnigmaAI-0.1.sdd checksum: -876211747/3418755549
    [f=0000000] [ArchiveScanner] archive checksum Metalstorm-Enigma-0.1.sdd: -2091187061/2203780235
    [f=0000000] [ArchiveScanner] GetArchives: DeltaSiegeDry(1).sd7 (depth 0)
    [f=0000000] [ArchiveScanner] GetArchives: Map Helper v1 (depth 1)
    [f=0000000] [ArchiveScanner] /backup/spliff/.spring/maps/DeltaSiegeDry(1).sd7 checksum: 1476127569/1476127569
    [f=0000000] [ArchiveScanner] /spring/linux/final/base/maphelper.sdz checksum: -1195842867/3099124429
    [f=0000000] [ArchiveScanner] archive checksum DeltaSiegeDry(1).sd7: -280819300/4014147996
    [f=0000000] Binding UDP socket to IP (v4) 192.168.1.36 port 8452
    [f=0000000] [UDPListener] successfully bound socket on port 8452
    [f=0000000] PreGame::StartServer: 49 ms
    [f=0000000] Using map: DeltaSiegeDry
    [f=0000000] [ArchiveScanner] GetArchives: DeltaSiegeDry (depth 0)
    [f=0000000] [ArchiveScanner] GetArchives: Map Helper v1 (depth 1)
    [f=0000000] [ArchiveScanner] GetArchives: DeltaSiegeDry (depth 0)
    [f=0000000] [ArchiveScanner] GetArchives: Map Helper v1 (depth 1)
    [f=0000000] [ArchiveScanner] /backup/spliff/.spring/maps/DeltaSiegeDry(1).sd7 checksum: 1476127569/1476127569
    [f=0000000] [ArchiveScanner] /spring/linux/final/base/maphelper.sdz checksum: -1195842867/3099124429
    [f=0000000] [ArchiveScanner] archive checksum DeltaSiegeDry: -280819300/4014147996
    [f=0000000] Using game: Metalstorm with Enigma AI v0.1 (MS 0.2)
    [f=0000000] [ArchiveScanner] GetArchives: Metalstorm with Enigma AI v0.1 (MS 0.2) (depth 0)
    [f=0000000] [ArchiveScanner] GetArchives: Metalstorm v0.2 (depth 1)
    [f=0000000] [ArchiveScanner] GetArchives: springcontent.sdz (depth 2)
    [f=0000000] [ArchiveScanner] GetArchives: Spring Bitmaps (depth 3)
    [f=0000000] [ArchiveScanner] GetArchives: cursors.sdz (depth 2)
    [f=0000000] [ArchiveScanner] GetArchives: Spring content v1 (depth 2)
    [f=0000000] [ArchiveScanner] GetArchives: Spring Bitmaps (depth 3)
    [f=0000000] [ArchiveScanner] GetArchives: Enigma AI v0.1 (depth 1)
    [f=0000000] [ArchiveScanner] GetArchives: Spring content v1 (depth 1)
    [f=0000000] [ArchiveScanner] GetArchives: Spring Bitmaps (depth 2)
    [f=0000000] Using game archive: Metalstorm-Enigma-0.1.sdd
    [f=0000000] [ArchiveScanner] GetArchives: Metalstorm-Enigma-0.1.sdd (depth 0)
    [f=0000000] [ArchiveScanner] GetArchives: Metalstorm v0.2 (depth 1)
    [f=0000000] [ArchiveScanner] GetArchives: springcontent.sdz (depth 2)
    [f=0000000] [ArchiveScanner] GetArchives: Spring Bitmaps (depth 3)
    [f=0000000] [ArchiveScanner] GetArchives: cursors.sdz (depth 2)
    [f=0000000] [ArchiveScanner] GetArchives: Spring content v1 (depth 2)
    [f=0000000] [ArchiveScanner] GetArchives: Spring Bitmaps (depth 3)
    [f=0000000] [ArchiveScanner] GetArchives: Enigma AI v0.1 (depth 1)
    [f=0000000] [ArchiveScanner] GetArchives: Spring content v1 (depth 1)
    [f=0000000] [ArchiveScanner] GetArchives: Spring Bitmaps (depth 2)
    [f=0000000] [ArchiveScanner] /backup/spliff/.spring/games/Metalstorm-Enigma-0.1.sdd checksum: -207465903/4087501393
    [f=0000000] [ArchiveScanner] /backup/spliff/.spring/games/Metalstorm-0.2.sdd checksum: 77201459/77201459
    [f=0000000] [ArchiveScanner] /spring/linux/final/base/springcontent.sdz checksum: -1689688625/2605278671
    [f=0000000] [ArchiveScanner] /spring/linux/final/base/spring/bitmaps.sdz checksum: -1951780851/2343186445
    [f=0000000] [ArchiveScanner] /spring/linux/final/base/cursors.sdz checksum: -1354362122/2940605174
    [f=0000000] [ArchiveScanner] /backup/spliff/.spring/games/EnigmaAI-0.1.sdd checksum: -876211747/3418755549
    [f=0000000] [ArchiveScanner] archive checksum Metalstorm-Enigma-0.1.sdd: -2091187061/2203780235
    [f=0000000] recording demo: demos/20120713_190826_DeltaSiegeDry_89.0.1-18-g3117638 develop.sdf
    [f=0000000] PreGame::GameDataReceived: 24 ms
    [f=0000000] User number 0 (team 1, allyteam 0)
    [f=0000000] Error: missing return table from gamedata/modrules.lua
    [f=0000000] Error: Failed loading mod-rules, using defaults; error: missing return table from gamedata/modrules.lua
    [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]
    
    txt file icon infolog.txt (10,067 bytes) 2012-07-13 11:25 +

-Relationships
+Relationships

-Notes

~0008973

spliff (reporter)

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

~0008975

jK (developer)

Last edited: 2012-07-13 17:50

View 2 revisions

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

~0008977

abma (administrator)

Last edited: 2012-07-13 23:30

View 2 revisions

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)

~0009040

spliff (reporter)

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

-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 View Revisions
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 View Revisions
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
+Issue History