View Issue Details

IDProjectCategoryView StatusLast Update
0004907Spring engineBuildbotpublic2015-07-20 15:11
Reporterjamerlan Assigned Toabma  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version100.0 
Target Version101.0 
Summary0004907: (force?) disable SIGNAL_NANS on buildbot builds
Descriptionwas trying to play vs AI on duck

infolog.txt is attached
TagsNo tags attached.
Attached Files
infolog.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

jamerlan

2015-07-17 13:21

reporter   ~0015009

looks like AAI bot crashes. If I change bot to KAIK - it works

abma

2015-07-17 16:28

administrator   ~0015010

Floating point exception (SIGFPE) in spring 100.0

abma

2015-07-17 16:29

administrator   ~0015011

disable nan-checks and it could work.

abma

2015-07-18 10:08

administrator   ~0015012

oh, you are using an official build? (paths contain buildbot)

jamerlan

2015-07-18 13:15

reporter   ~0015013

yes, build was auto downloaded by lobby.
I just manually downloaded debug symbols (100.0_spring_dbg.7z) and extracted them to the /home/revenant/.spring/engine/100.0 folder

abma

2015-07-19 11:35

administrator   ~0015016

thats an error, SIGNAL_NANS should be disabled in buildbot/release builds.

https://github.com/spring/spring/blob/develop/CMakeLists.txt#L370

abma

2015-07-20 12:49

administrator   ~0015017

when doing this, add an info about SIGNAL_NAN in version:

https://github.com/spring/spring/blob/036b798fefe0e4a3bc82be8ecb8aa8806a6a9263/rts/Game/GameVersion.cpp#L68

abma

2015-07-20 12:59

administrator   ~0015018

Last edited: 2015-07-20 15:04

https://gcc.gnu.org/onlinedocs/gcc-3.4.4/gcc/Optimize-Options.html


This option causes the preprocessor macro __SUPPORT_SNAN__ to be defined.

https://github.com/spring/spring/commit/69eea1b7102b84de10554b121d5139ce5fd29b8d

abma

2015-07-20 15:11

administrator   ~0015019

Fix 830e2a6be89eff492d39f16e5c3a4a88d9365be2 committed to develop branch: fix 0004907:
integer SIGFPE in AAI, repo: spring changeset id: 5381

Issue History

Date Modified Username Field Change
2015-07-17 12:55 jamerlan New Issue
2015-07-17 12:55 jamerlan File Added: infolog.txt
2015-07-17 13:21 jamerlan Note Added: 0015009
2015-07-17 16:28 abma Note Added: 0015010
2015-07-17 16:28 abma Category General => AI
2015-07-17 16:28 abma Summary crash during game start => AAI / SIGFPE during game start
2015-07-17 16:29 abma Note Added: 0015011
2015-07-18 10:08 abma Note Added: 0015012
2015-07-18 10:08 abma Status new => feedback
2015-07-18 13:15 jamerlan Note Added: 0015013
2015-07-18 13:15 jamerlan Status feedback => new
2015-07-19 11:35 abma Note Added: 0015016
2015-07-19 11:36 abma Category AI => Buildbot
2015-07-19 11:36 abma Target Version => 101.0
2015-07-19 11:36 abma Summary AAI / SIGFPE during game start => (force?) disable SIGNAL_NANS on buildbot builds
2015-07-20 12:49 abma Note Added: 0015017
2015-07-20 12:50 abma Severity minor => major
2015-07-20 12:59 abma Note Added: 0015018
2015-07-20 13:00 abma Note Edited: 0015018
2015-07-20 15:04 abma Note Edited: 0015018
2015-07-20 15:11 abma Changeset attached => spring develop 830e2a6b
2015-07-20 15:11 abma Note Added: 0015019
2015-07-20 15:11 abma Assigned To => abma
2015-07-20 15:11 abma Status new => resolved
2015-07-20 15:11 abma Resolution open => fixed