View Issue Details

IDProjectCategoryView StatusLast Update
0005885Spring engineLuapublic2018-02-06 17:47
ReporterFloris Assigned ToKloot  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version104.0 +git 
Fixed in Version104.0 +git 
Summary0005885: calling Spring.GetTeamUnitsSorted(teamID) with enemy team param (when playing) crashes spring
Descriptioncalling Spring.GetTeamUnitsSorted(teamID) with enemy team param (when playing) crashes spring
TagsNo tags attached.
Attached Files
Checked infolog.txt for Errors

Activities

Kloot

2018-02-06 17:21

developer   ~0018780

Last edited: 2018-02-06 17:21

infolog?

Floris

2018-02-06 17:34

reporter   ~0018782

i must note its not a real problem for me because i can just check if user is spec or not
infolog.txt (Attachment missing)

Kloot

2018-02-06 17:40

developer   ~0018783

rts/Lua/LuaSyncedRead.cpp:1735
rts/lib/lua/src/ldo.cpp:321
rts/lib/lua/src/lvm.cpp:613
/opt/mxe/tmp-gcc/gcc-4.8.1.build/i686-w64-mingw32/libgcc/./gthr-default.h:628
rts/lib/lua/src/ldo.cpp:378
rts/lib/lua/src/ldo.cpp:465
rts/System/Misc/SpringTime.h:35
rts/lib/lua/src/lbaselib.cpp:378
rts/lib/lua/src/ldo.cpp:321
rts/lib/lua/src/lvm.cpp:613

strange-ish trace, also doesn't reproduce in a quick test with 151.

Kloot

2018-02-06 17:44

developer   ~0018784

Last edited: 2018-02-06 17:47

fixed in upstream maintenance, the "for (int unitDefID = 0;" would cause "unitDefHandler->GetUnitDefByID(unitDefID)" to return a nullptr

Issue History

Date Modified Username Field Change
2018-02-06 16:44 Floris New Issue
2018-02-06 17:21 Kloot Note Added: 0018780
2018-02-06 17:21 Kloot Note Edited: 0018780
2018-02-06 17:34 Floris File Added: infolog.txt
2018-02-06 17:34 Floris Note Added: 0018782
2018-02-06 17:40 Kloot Note Added: 0018783
2018-02-06 17:44 Kloot Assigned To => Kloot
2018-02-06 17:44 Kloot Status new => resolved
2018-02-06 17:44 Kloot Resolution open => fixed
2018-02-06 17:44 Kloot Fixed in Version => 104.0 +git
2018-02-06 17:44 Kloot Note Added: 0018784
2018-02-06 17:47 Kloot Note Edited: 0018784