2025-07-20 22:12 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002181Spring engineGeneralpublic2010-10-21 19:15
Reporterzerver 
Assigned Tozerver 
PrioritynormalSeveritycrashReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version0.82.5 
Target VersionFixed in Version0.82.5.1 
Summary0002181: Mass crash in 82.6.1
DescriptionMajority of players crashed, I was running MT.

Note that the crash says
Exception Address: 0x00441cae
but then
[ 26140] (0) C:\Program Files\Spring\spring-multithreaded.exe [0x00041CAE]
Not sure why it has subtracted the base address 0x400000
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0005760

hoijui (reporter)

why it has subtracted the base address 0x400000:
http://github.com/spring/spring/commit/e28880384672227df9f994473c13a2846022c280
together with:
http://github.com/spring/spring/commit/5a44363e1e9504d9239027ada7c7afad42ef9bef

this is required for stack-traces with symbols in DLLs (eg Skirmish AIs) to be translatable.

~0005761

hoijui (reporter)

wrote a small shell script to test translation.
zerver, you did play with the 0.82.6.1 build from the new build-bot, right?

i got debug symbols here:
http://springrts.com/dl/buildbot/default/master/0.82.6.1/0.82.6.1_spring-multithreaded_dbg.7z

and ran your stack trace through in 4 variants:
i add-to-addr addr2line-addition
0 0x00000000 ""
1 0x00000000 "-j .text"
2 0x00400000 ""
3 0x00400000 "-j .text"

1 is as it is in use with the build-bot stack-trace translator now.
2 should be as it was in the past.

sadly, none of the 4 seems to make any sense :/
see attached file trans.html

~0005766

zerver (reporter)

Last edited: 2010-10-20 18:44

What I was able to extract makes me think there is some kind of problem with CUnit::lastAttacker pointing to a deleted or invalid object. Could also be problem with invalid allyteam.

http://github.com/spring/spring/blob/0.82.6.1/rts/Game/GameHelper.cpp#L1053

http://github.com/spring/spring/blob/0.82.6.1/rts/Sim/Weapons/Weapon.cpp#L524 (this line based on my guess)

http://github.com/spring/spring/blob/0.82.6.1/rts/Sim/Units/Unit.cpp#L860

http://github.com/spring/spring/blob/0.82.6.1/rts/Sim/Units/Unit.cpp#L820

http://github.com/spring/spring/blob/0.82.6.1/rts/Game/Game.cpp#L3608

http://github.com/spring/spring/blob/0.82.6.1/rts/System/SpringApp.cpp#L1006

~0005767

tvo (reporter)

stacktrace translator may be able to translate it now

~0005779

abma (administrator)

translated:
C:\Program Files\Spring\spring-multithreaded.exe 0x441cae rts/Game/GameHelper.cpp:1053
C:\Program Files\Spring\spring-multithreaded.exe 0xa13f94 rts/System/float3.h:114
C:\Program Files\Spring\spring-multithreaded.exe 0x994eda rts/Sim/Units/Unit.cpp:860
C:\Program Files\Spring\spring-multithreaded.exe 0x992d5d rts/Sim/Units/Unit.cpp:820
C:\Program Files\Spring\spring-multithreaded.exe 0x960ecc /usr/lib/gcc/i586-mingw32msvc/4.4.2/include/c++/bits/stl_list.h:143
C:\Program Files\Spring\spring-multithreaded.exe 0x403e0f rts/Game/Game.cpp:3608
C:\Program Files\Spring\spring-multithreaded.exe 0x429f82 rts/System/Sync/SyncChecker.h:40
C:\Program Files\Spring\spring-multithreaded.exe 0x431c60 rts/Game/Game.cpp:2832
C:\Program Files\Spring\spring-multithreaded.exe 0xa72169 rts/System/SpringApp.cpp:1006
C:\Program Files\Spring\spring-multithreaded.exe 0xfc5b86 cygming-crtend.c:0
C:\Program Files\Spring\spring-multithreaded.exe 0xf428d5 cygming-crtend.c:0
C:\WINDOWS\system32\MSVCRT.dll 0x77BCB530 ??:0
C:\WINDOWS\system32\kernel32.dll 0x77E6482F ??:0

~0005782

zerver (reporter)

http://github.com/spring/spring/commit/3a986c4b357c820d281db1c7b5bd253a0180dcc1
+Notes

-Issue History
Date Modified Username Field Change
2010-10-19 18:04 zerver New Issue
2010-10-19 18:04 zerver File Added: 20101019_174257_unnamed_0.82.6_crs861.sdf
2010-10-19 18:04 zerver File Added: infologcrs861.txt
2010-10-19 18:08 zerver Description Updated
2010-10-20 11:29 hoijui Note Added: 0005760
2010-10-20 13:08 hoijui Note Added: 0005761
2010-10-20 18:44 zerver Note Added: 0005766
2010-10-20 18:44 zerver Note Edited: 0005766
2010-10-20 19:27 hoijui File Added: trans.html
2010-10-20 23:21 tvo Note Added: 0005767
2010-10-21 16:36 abma Note Added: 0005779
2010-10-21 19:15 zerver Note Added: 0005782
2010-10-21 19:15 zerver Status new => resolved
2010-10-21 19:15 zerver Fixed in Version => 0.83/0.84
2010-10-21 19:15 zerver Resolution open => fixed
2010-10-21 19:15 zerver Assigned To => zerver
+Issue History