2024-04-25 22:33 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0005885Spring engineLuapublic2018-02-06 17:47
ReporterFloris 
Assigned ToKloot 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version104.0 +git 
Target VersionFixed 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.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0018780

Kloot (developer)

Last edited: 2018-02-06 17:21

View 2 revisions

infolog?

~0018782

Floris (reporter)

i must note its not a real problem for me because i can just check if user is spec or not

~0018783

Kloot (developer)

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.

~0018784

Kloot (developer)

Last edited: 2018-02-06 17:47

View 2 revisions

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

+Notes

-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 View Revisions
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 View Revisions
+Issue History