2025-06-14 04:42 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002092Spring engineLinuxpublic2010-09-07 18:07
Reporterdogma 
Assigned Tozerver 
PrioritynormalSeveritycrashReproducibilityrandom
StatusresolvedResolutionfixed 
Product Version0.82.5 
Target VersionFixed in Version0.82.5 
Summary0002092: 0.82.5 on Linux randomly crashes multiple times during a game
DescriptionOccasionally the crash is a bus error, instead of a SIGSEGV, without a stacktrace. I recompiled with debugging symbols to get a usable trace:

Segmentation fault (SIGSEGV) in spring 0.82.5.0
Stacktrace:
/usr/local/bin/spring() [0x97ef97]
/lib/libc.so.6(+0x323b0) [0x7fa6cd5a43b0]
/usr/local/bin/spring() [0x6c3447]
/usr/local/bin/spring() [0x6c354a]
/usr/local/bin/spring() [0x6c6510]
/usr/local/bin/spring() [0x44f05b]
/usr/local/bin/spring() [0x45804f]
/usr/local/bin/spring() [0x959fbd]
/usr/local/bin/spring() [0x9610aa]
/usr/local/bin/spring() [0x917a49]
/lib/libc.so.6(__libc_start_main+0xfd) [0x7fa6cd590d2d]
/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/rts/Rendering/Icon.h:20
/home/dull/jhoblitt/spring/spring_0.82.5/rts/Rendering/UnitDrawer.cpp:542
/home/dull/jhoblitt/spring/spring_0.82.5/rts/Rendering/UnitDrawer.cpp:470
/home/dull/jhoblitt/spring/spring_0.82.5/rts/Game/Game.cpp:2887
/home/dull/jhoblitt/spring/spring_0.82.5/rts/Game/Game.cpp:3212
/home/dull/jhoblitt/spring/spring_0.82.5/rts/System/SpringApp.cpp:1073
/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/rts/System/Main.cpp:55
??:0
??:0
Spring crashed Segmentation fault (SIGSEGV)
Additional Information$ uname -a
Linux dull 2.6.31-gentoo-r6 0000004 SMP PREEMPT Sun Aug 8 23:28:18 MST 2010 x86_64 Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz GenuineIntel GNU/Linux

$ gcc -v
Using 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

-Relationships
+Relationships

-Notes

~0005467

zerver (reporter)

This is the fix, although it says "MT" it seems single thread version was somehow affected too.

http://github.com/spring/spring/commit/d8a9b437fc0a16726bb51c17f4f862658436a991

~0005468

dogma (reporter)

Please excuse my ignorance of how spring/springlobby work... How do I test this? When I switch to 0.82-branch via git, I get checksum errors trying to connect to a public game.

~0005469

zerver (reporter)

Now that 0.82.5.1 is released, you can just check out that tag. Otherwise you may have to patch the GameVersion.cpp manually.
+Notes

-Issue History
Date Modified Username Field Change
2010-09-06 20:26 dogma New Issue
2010-09-06 23:14 zerver Note Added: 0005467
2010-09-06 23:14 zerver Status new => resolved
2010-09-06 23:14 zerver Fixed in Version => 0.82.5
2010-09-06 23:14 zerver Resolution open => fixed
2010-09-06 23:14 zerver Assigned To => zerver
2010-09-06 23:31 dogma Note Added: 0005468
2010-09-06 23:31 dogma Status resolved => assigned
2010-09-06 23:31 dogma Resolution fixed => reopened
2010-09-07 02:54 zerver Note Added: 0005469
2010-09-07 18:07 zerver Status assigned => resolved
2010-09-07 18:07 zerver Resolution reopened => fixed
+Issue History