View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0003365 | Spring engine | General | public | 2012-12-08 06:44 | 2012-12-09 00:32 | ||||
Reporter | Google_Frog | ||||||||
Assigned To | abma | ||||||||
Priority | normal | Severity | block | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 91.0.1+git | ||||||||
Target Version | 92.0 | Fixed in Version | |||||||
Summary | 0003365: Spring fails to start through ZKL | ||||||||
Description | Games 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 Information | Related probably http://springrts.com/mantis/view.php?id=3353 | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
abma (administrator) 2012-12-08 18:28 Last edited: 2012-12-08 18:29 |
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 :-/ |
jK (developer) 2012-12-08 21:04 Last edited: 2012-12-08 21:04 |
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. |
abma (administrator) 2012-12-09 00:32 |
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. |
![]() |
|||
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 |