2025-07-23 17:46 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003365Spring engineGeneralpublic2012-12-09 00:32
ReporterGoogle_Frog 
Assigned Toabma 
PrioritynormalSeverityblockReproducibilityalways
StatusresolvedResolutionfixed 
Product Version91.0.1+git 
Target Version92.0Fixed in Version 
Summary0003365: Spring fails to start through ZKL
DescriptionGames launched with ZKL fail to start. Spring starts but exits itself immediately, no change is made to infolog and there is no error message popup. Launching via spring.exe works fine.

91.0.1-588-g723101f
Additional InformationRelated probably http://springrts.com/mantis/view.php?id=3353
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0009490

abma (administrator)

Last edited: 2012-12-08 18:29

View 2 revisions

can you try to start it from console with:

spring.exe >log.txt

and add log.txt to this report please?

one part of the startup code needs a nvidia card, which i don't have... so i can't test it.

also imo we have to remove the auto-restart code of spring and print an error / warning message that env-vars have to be set :-/

~0009491

jK (developer)

Last edited: 2012-12-08 21:04

View 2 revisions

the cause is the 2nd workaround in my execv replacement ;)

Windows is missing the feature to replace processes with others, instead execv starts a new process and exits the old one, so the lobby assumes spring exited.
Now adding my workaround to ExecuteProcess is not feasible cause it is also used in Lua to restart spring with another script.txt. When using my workaround there, the old process would wait for the new one to exit, and while waiting it won't free its memory. So we either differ these both calls again, or the Lua one does a clean exit (just for windows) and before killing the process it would start the new one.

~0009492

abma (administrator)

or we don't restart at all...

thats maybe for the moment just a quickfix, but i still don't see the real benefit of auto-restarting spring / setting env vars. env-vars can be set by lobbies / users.
+Notes

-Issue History
Date Modified Username Field Change
2012-12-08 06:44 Google_Frog New Issue
2012-12-08 18:27 abma Product Version => 91.0.1+git
2012-12-08 18:27 abma Target Version => 92.0
2012-12-08 18:28 abma Note Added: 0009490
2012-12-08 18:29 abma Note Edited: 0009490 View Revisions
2012-12-08 21:04 jK Note Added: 0009491
2012-12-08 21:04 jK Note Edited: 0009491 View Revisions
2012-12-09 00:28 abma Changeset attached => spring develop accdcb6c
2012-12-09 00:28 abma Assigned To => abma
2012-12-09 00:28 abma Status new => resolved
2012-12-09 00:28 abma Resolution open => fixed
2012-12-09 00:32 abma Note Added: 0009492
+Issue History