2025-07-21 06:23 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002137Spring engineLinuxpublic2010-09-25 18:44
Reporterdogma 
Assigned Tozerver 
PrioritynormalSeveritycrashReproducibilityrandom
StatusresolvedResolutionfixed 
Product Version0.82.5 
Target VersionFixed in Version0.82.5.1 
Summary0002137: 0.82.5.1 on linux randomly crashes
DescriptionIs this possibly a gcc semantics issue?

Segmentation fault (SIGSEGV) in spring 0.82.5.1
Stacktrace:
/usr/local/bin/spring() [0x97f047]
/lib/libc.so.6(+0x323b0) [0x7f00441283b0]
/usr/local/bin/spring() [0x4d5387]
/usr/local/bin/spring() [0x887c67]
/usr/local/bin/spring() [0x87d7bb]
/usr/local/bin/spring() [0x87d835]
/usr/local/bin/spring() [0x450bb9]
/usr/local/bin/spring() [0x465a05]
/usr/local/bin/spring() [0x46baca]
/usr/local/bin/spring() [0x959f9b]
/usr/local/bin/spring() [0x96115a]
/usr/local/bin/spring() [0x917af9]
/lib/libc.so.6(__libc_start_main+0xfd) [0x7f0044114d2d]
/usr/local/bin/spring() [0x44a0d9]
Translated Stacktrace:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/include/g++-v4/ext/atomicity.h:0
??:0
/home/dull/jhoblitt/spring/spring_0.82.5.1/rts/Game/Player.cpp:195
/home/dull/jhoblitt/spring/spring_0.82.5.1/rts/Sim/Units/Unit.cpp:271
/home/dull/jhoblitt/spring/spring_0.82.5.1/rts/Sim/Units/UnitHandler.cpp:208
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/include/g++-v4/bits/stl_vector.h:453
/home/dull/jhoblitt/spring/spring_0.82.5.1/rts/Game/Game.cpp:3603
/home/dull/jhoblitt/spring/spring_0.82.5.1/rts/Game/Game.cpp:3958
/usr/include/boost-1_42/boost/smart_ptr/shared_ptr.hpp:0
/home/dull/jhoblitt/spring/spring_0.82.5.1/rts/System/SpringApp.cpp:1052
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/include/g++-v4/ext/atomicity.h:0
/home/dull/jhoblitt/spring/spring_0.82.5.1/rts/System/Main.cpp:55
??:0
??:0
Spring crashed Segmentation fault (SIGSEGV)
Additional InformationUsing built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: /var/portage/portage/sys-devel/gcc-4.4.4-r1/work/gcc-4.4.4/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.4 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.4 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.4/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.4/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.4.4/python --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.4.4-r1 p1.0, pie-0.4.5'
Thread model: posix
gcc version 4.4.4 (Gentoo 4.4.4-r1 p1.0, pie-0.4.5)
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • txt file icon infolog.txt (4,166 bytes) 2010-09-25 16:57 -
    LogOutput initialized.
    Spring 0.82.5.1
    Build date/time: Sep  7 2010 10:12:10
    Available log subsystems: CollisionVolume, unit, VFS-detail, VFS, ArchiveScanner, Sound
    Enabled log subsystems: Sound
    Enable or disable log subsystems using the LogSubsystems configuration key
      or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
    using configuration source "/home/dull/jhoblitt/.springrc"
    [CMyMath::Init] CPU SSE mask: 127, flags:
    	SSE 1.0:  1,  SSE 2.0:  1
    	SSE 3.0:  1, SSSE 3.0:  1
    	SSE 4.1:  1,  SSE 4.2:  1
    	SSE 4.0A: 0,  SSE 5.0A: 0
    	using streflop SSE FP-math mode, CPU supports SSE instructions
    OS: Linux
    OS: 64bit native mode
    Using read-write data directory: /home/dull/jhoblitt/.spring/
    Using read-only data directory: /usr/local/share/games/spring/
    Scanning: /usr/local/share/games/spring/base
    Scanning: /home/dull/jhoblitt/.spring/maps
    Scanning: /home/dull/jhoblitt/.spring/base
    Scanning: /home/dull/jhoblitt/.spring/mods
    Supported Video modes: 1920x1080, 1400x1050, 1280x1024, 1280x960, 1152x864, 1024x768, 960x720, 928x696, 896x672, 832x624, 800x600, 720x400, 700x525, 640x512, 640x480, 640x400, 640x350, 576x432, 512x384, 416x312, 400x300, 360x200, 320x240, 320x200, 320x175
    Video mode set to 1680x1050/32bit (windowed)
    [      0] SDL:  1.2.14
    [      0] GL:   3.3.0 NVIDIA 260.19.06
    [      0] GL:   NVIDIA Corporation
    [      0] GL:   GeForce GTX 275/PCI/SSE2
    [      0] GLSL: 3.30 NVIDIA via Cg compiler
    [      0] GLEW: 1.5.5
    [      0] Joysticks found: 0
    [      0] Joystick 0 not found
    [      0] Loading startscript from: /home/dull/jhoblitt/.spring//script.txt
    [      0] Connecting to 83.216.216.133:8459 using name dogma
    [      0] Video mode set to 1920x1003/32bit (windowed)
    [      0] Sound: OpenAL info:
    [      0] Sound:   Vendor:     OpenAL Community
    [      0] Sound:   Version:    1.1 ALSOFT 1.12.854
    [      0] Sound:   Renderer:   OpenAL Soft
    [      0] Sound:   AL Extensions: AL_EXTX_buffer_sub_data 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_EXTX_sample_buffer_object AL_EXT_source_distance_model AL_LOKI_quadriphonic
    [      0] Sound:   ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_disconnect ALC_EXT_EFX ALC_EXT_thread_local_context
    [      0] Sound:                   ALC_EXT_EFX found (required for air absorption): yes
    [      0] Sound:   Device:     PulseAudio Software
    [      0] Sound:   Available Devices:  
    [      0] Sound:                       PulseAudio Software
    [      0] Sound:                       ALSA Software
    [      0] Sound: air absorption disabled
    [      0] Starting demo recording
    [      0] Using map DeltaSiegeDry
    [      0] Recording demo demos/20100925_075437_DeltaSiegeDry_0.82.5.sdf
    [      0] Using mod Balanced Annihilation V7.19
    [      0] Using mod archive BA719.sd7
    [      0] Loading client data: 27 ms
    [      0] User number 30 (team 144, allyteam 0)
    [      0] Segmentation fault (SIGSEGV) in spring 0.82.5.1
    [      0] Stacktrace:
    [      0] /usr/local/bin/spring() [0x97f047]
    [      0] /lib/libc.so.6(+0x323b0) [0x7fe6da15f3b0]
    [      0] /usr/local/bin/spring() [0x733dfe]
    [      0] /usr/local/bin/spring() [0x49c2fb]
    [      0] /usr/local/bin/spring() [0x49cd65]
    [      0] /usr/local/bin/spring() [0x959f9b]
    [      0] /usr/local/bin/spring() [0x96115a]
    [      0] /usr/local/bin/spring() [0x917af9]
    [      0] /lib/libc.so.6(__libc_start_main+0xfd) [0x7fe6da14bd2d]
    [      0] /usr/local/bin/spring() [0x44a0d9]
    [      0] Translated Stacktrace:
    [      0] /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/include/g++-v4/ext/atomicity.h:0
    [      0] ??:0
    [      0] /home/dull/jhoblitt/spring/spring_0.82.5.1/rts/Rendering/GL/myGL.cpp:262
    [      0] /home/dull/jhoblitt/spring/spring_0.82.5.1/rts/Game/PreGame.cpp:280
    [      0] /home/dull/jhoblitt/spring/spring_0.82.5.1/rts/Game/PreGame.cpp:160
    [      0] /home/dull/jhoblitt/spring/spring_0.82.5.1/rts/System/SpringApp.cpp:1052
    [      0] /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/include/g++-v4/ext/atomicity.h:0
    [      0] /home/dull/jhoblitt/spring/spring_0.82.5.1/rts/System/Main.cpp:55
    [      0] ??:0
    [      0] ??:0
    
    txt file icon infolog.txt (4,166 bytes) 2010-09-25 16:57 +
  • ? file icon 20100925_075437_unnamed_0.82.5.sdf (6,594 bytes) 2010-09-25 16:57

-Relationships
duplicate of 0002120closed Spring segfaults at end of game 
+Relationships

-Notes

~0005579

abma (administrator)

are there different stacktraces?
can you attach infolog.txt please? (~/spring/.infolog.txt)

~0005580

dogma (reporter)

The stack traces seem to always originate in atomicity.h.

I'm afraid that I've played spring since the last crash but I will grab a copy next time it does. Or did you want a copy from a non-crashed game?

~0005587

abma (administrator)

...an infolog of an crashed game.

~0005593

hoijui (reporter)

debug builds of spring should store old logs under <spring-writable-data-dir>/log/

~0005609

abma (administrator)

if you get a crash, can you please attach the demo-file, too?

we've currently the problem, that we can't reproduce this crash...

~0005650

dogma (reporter)

I just got the crash trying to spec a long during DSD8v8 game. infolog & demo are attached to the ticket.

~0005652

zerver (reporter)

Player.cpp:195, this is the direct control bug again. If you compile from 0.82-branch the fix is included there.

http://github.com/spring/spring/commit/8cbfafcb7a821fa587e0993ece875820827f359a
+Notes

-Issue History
Date Modified Username Field Change
2010-09-19 22:44 dogma New Issue
2010-09-20 02:10 abma Summary 0.82.6.1 on linux randomly crashes => 0.82.5.1 on linux randomly crashes
2010-09-20 02:16 abma Note Added: 0005579
2010-09-20 04:37 dogma Note Added: 0005580
2010-09-20 11:18 Kloot Relationship added duplicate of 0002120
2010-09-20 19:51 abma Note Added: 0005587
2010-09-20 20:54 hoijui Note Added: 0005593
2010-09-21 22:39 abma Note Added: 0005609
2010-09-21 22:39 abma Status new => feedback
2010-09-25 16:57 dogma File Added: infolog.txt
2010-09-25 16:57 dogma File Added: 20100925_075437_unnamed_0.82.5.sdf
2010-09-25 16:58 dogma Note Added: 0005650
2010-09-25 18:44 zerver Note Added: 0005652
2010-09-25 18:44 zerver Status feedback => resolved
2010-09-25 18:44 zerver Fixed in Version => 0.83/0.84
2010-09-25 18:44 zerver Resolution open => fixed
2010-09-25 18:44 zerver Assigned To => zerver
+Issue History