2025-07-21 10:12 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0005105Spring engineGeneralpublic2016-02-26 14:55
ReporterFloris 
Assigned Tohokomoko 
PrioritynormalSeveritycrashReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version100.0+git 
Target VersionFixed in Version 
Summary0005105: Spring froze
DescriptionCompletely hanged, also at the rejoin.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
has duplicate 0005088resolvedhokomoko endless loop in CGround::LineGroundCol 
+Relationships

-Notes

~0015856

Kloot (developer)

demo please, this looks like 0005088

~0015857

Floris (reporter)

Last edited: 2016-02-23 17:31

View 2 revisions

demo is 0KB....

~0015858

jamerlan (reporter)

My demo of this battle was uploaded

~0015859

Floris (reporter)

replaying that demo makes it hang aswell

~0015860

Kloot (developer)

demo does not hang for me

~0015864

Kloot (developer)

Last edited: 2016-02-23 22:40

View 2 revisions

appears to be a windows-only issue.

running the demo in a regular (64-bit) linux dev-build doesn't hang (consistent with jamerlan not hanging), i.e. no nan's enter the simulation.

running the (32-bit) installer build through wine does hang (consistent with floris hanging in both game and demo), but is undebuggable for me.

any other takers?

~0015865

hokomoko (developer)

I'll check it

~0015867

hokomoko (developer)

Nope, not freezing here on win32 either.
I did hit
[f=0000001] Error: gl.CreateList: error(2) = [string "LuaUI/Widgets/gui_ecostats.lua"]:576: bad argument 0000003 to 'glTexRect' (number expected, got NAN (check your code for div0))
[f=0000011] Error: gl.CreateList: error(2) = [string "LuaUI/Widgets/gui_ecostats.lua"]:576: bad argument 0000003 to 'glTexRect' (number expected, got NAN (check your code for div0))
[f=0000021] Error: gl.CreateList: error(2) = [string "LuaUI/Widgets/gui_ecostats.lua"]:576: bad argument 0000003 to 'glTexRect' (number expected, got NAN (check your code for div0))

which you guys may want to check, I'll try running with a signal_nan build

~0015869

hokomoko (developer)

only managed to reproduce in a 64-bit debug build for some reason

~0015872

abma (administrator)

reproduce what? the nan error(s) or the hang?

DEBUG enables the same as DEBUG_LUANAN
https://github.com/spring/spring/blob/develop/rts/lib/lua/src/lauxlib.cpp#L182

~0015873

hokomoko (developer)

the hang.
also, not DEBUG_LUANAN, but DEBUG_SIGNAL_NANS which is supposed to shout on every nan hit in the engine.

~0015874

abma (administrator)

translated:

https://github.com/spring/spring/tree/100.0.1-1205-gce21402

rts/Map/Ground.cpp:334
rts/Game/TraceRay.cpp:269
rts/System/float3.h:105
rts/System/Sync/SyncedPrimitiveBase.h:48
rts/Sim/Weapons/Weapon.cpp:1005
rts/Sim/Units/CommandAI/MobileCAI.cpp:594
rts/Game/GameHelper.cpp:474
rts/Sim/Units/CommandAI/MobileCAI.cpp:1117
rts/Sim/Units/CommandAI/MobileCAI.cpp:1041
rts/Sim/Units/UnitHandler.cpp:267
rts/Game/Game.cpp:1469
rts/System/Sync/SyncChecker.h:37
rts/Game/Game.cpp:962
rts/System/SpringApp.cpp:973
rts/System/SpringApp.cpp:1009
rts/System/Main.cpp:48
rts/System/Main.cpp:107
/opt/mxe/tmp-gcc/gcc-4.8.1/mirror-mingw-w64-c28722c/trunk/mingw-w64-crt/crt/crtexe.c:317
??:0
??:0
??:0
??:0
thread.cpp:?
rts/System/Sound/OpenAL/Sound.cpp:379
/slave/mingwlibs/include/boost/function/function_template.hpp:154
/slave/mingwlibs/include/boost/function/function_template.hpp:767
thread.cpp:?
??:0
??:0

~0015881

hokomoko (developer)

not much luck here, as I get corrupt stack during debugging :S

@abma do you think you can run the demo with an address-sanitizer build?

~0015894

abma (administrator)

> do you think you can run the demo with an address-sanitizer build?

i already run it with such a build... i couldn't reproduce the hang and sanitizer did only report some memleaks, nothing else.

> only managed to reproduce in a 64-bit debug build for some reason

i found no way to reproduce the hang atm :-|

~0015899

hokomoko (developer)

Fix 8e997c3520784016c8a9a24434b60e847020b1a3 committed to develop branch: Fix 0005105 0005088, repo: spring changeset id: 6677
+Notes

-Issue History
Date Modified Username Field Change
2016-02-23 17:24 Floris New Issue
2016-02-23 17:24 Floris File Added: infolog.txt
2016-02-23 17:28 Kloot Note Added: 0015856
2016-02-23 17:28 Kloot Status new => feedback
2016-02-23 17:29 Kloot Relationship added has duplicate 0005088
2016-02-23 17:30 Floris Note Added: 0015857
2016-02-23 17:30 Floris Status feedback => new
2016-02-23 17:31 Floris Note Edited: 0015857 View Revisions
2016-02-23 17:33 jamerlan File Added: 20160223_191329_FolsomDamDeluxeV4_100.0.1-1205-gce21402 develop.sdfz
2016-02-23 17:33 jamerlan Note Added: 0015858
2016-02-23 17:36 Floris Note Added: 0015859
2016-02-23 17:44 Kloot Assigned To => Kloot
2016-02-23 17:44 Kloot Status new => assigned
2016-02-23 18:01 Kloot Note Added: 0015860
2016-02-23 22:34 Kloot Note Added: 0015864
2016-02-23 22:34 Kloot Assigned To Kloot =>
2016-02-23 22:34 Kloot Status assigned => feedback
2016-02-23 22:40 Kloot Note Edited: 0015864 View Revisions
2016-02-23 22:51 hokomoko Note Added: 0015865
2016-02-23 22:51 hokomoko Assigned To => hokomoko
2016-02-23 22:51 hokomoko Status feedback => assigned
2016-02-23 23:08 hokomoko Note Added: 0015867
2016-02-23 23:45 hokomoko Note Added: 0015869
2016-02-24 01:12 abma Note Added: 0015872
2016-02-24 01:19 hokomoko Note Added: 0015873
2016-02-24 01:51 abma Note Added: 0015874
2016-02-25 02:08 hokomoko Note Added: 0015881
2016-02-25 20:41 abma Note Added: 0015894
2016-02-26 14:55 hokomoko Changeset attached => spring develop 8e997c35
2016-02-26 14:55 hokomoko Note Added: 0015899
2016-02-26 14:55 hokomoko Status assigned => resolved
2016-02-26 14:55 hokomoko Resolution open => fixed
+Issue History