View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004738 | Spring engine | AI | public | 2015-04-10 18:46 | 2015-07-04 00:35 |
| Reporter | DeinFreund | Assigned To | abma | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | unable to reproduce | ||
| Product Version | 98.0 | ||||
| Summary | 0004738: Spring crashing after load of any custom JavaAI when using spring directory as write-dir | ||||
| Description | This happens even when using Spring 98.0, which works when using the engine directory as write-dir. Custom JavaAI describes a JavaAI which is stored in the Spring/AI directory. This causes zkl and reactswl to crash Spring when using a JavaAI. SpringLobby seems to use the engine dir as write-dir and thus avoids the crash. Example: Works: C:\Users\User\Documents\My Games\Spring\engine\98.0>spring.exe --write-dir "C:\Users\User\Documents\My Games\Spring\engine\98.0" "C:\Users\User\Documents\My Games\Spring\weblobby\script.spring" Crashes when loading SkirmishAI(see Infolog): C:\Users\User\Documents\My Games\Spring\engine\98.0>spring.exe --write-dir "C:\Users\User\Documents\My Games\Spring" "C:\Users\User\Documents\My Games\Spring\weblobby\script.spring" | ||||
| Steps To Reproduce | This has been only tested on this machine(Win7 64bit, Spring dir contains Spring 94.1) and is probably hard to reproduce on another machine. Using zkl or reactswl launch a game of Zero-K v1.3.4.1 on Badlands with a CAI fighting a JavaAI stored in Spring/AI using Spring 98.0. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Checked infolog.txt for Errors | |||||
|
|
what are the contents of "C:\Users\User\Documents\My Games\Spring\AI\..."? should be the same subpath as the java ai path in the engine\98 path also infolog.txt contains no crash/stacktrace, are you sure it crashes and doesn't cleanly exit for some reason? |
|
|
Spring\AI looks like the \AI of any engine (contains Interfaces and Skirmish). This should be the infolog I meant to upload: http://paste.springfiles.com/view/518e8c3e |
|
|
sorry, forgot to respond. very likely the used ai interfaces are incompatible to the selected engine version. please move them away and test if it works. |
|
|
the same applies to the ai's: very likely they have to be compiled for a specific engine version and can't be exchanged. if you do it will crash like you see it. |
|
|
Luckily the issue no longer persists |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-04-10 18:46 | DeinFreund | New Issue | |
| 2015-04-10 18:46 | DeinFreund | File Added: infolog.txt | |
| 2015-04-10 19:03 | abma | Note Added: 0014329 | |
| 2015-04-10 19:03 | abma | Status | new => feedback |
| 2015-04-10 19:05 | abma | Project | AI => Spring engine |
| 2015-04-10 19:05 | abma | Product Version | => 98.0 |
| 2015-04-10 20:10 | DeinFreund | Note Added: 0014330 | |
| 2015-04-10 20:10 | DeinFreund | Status | feedback => new |
| 2015-07-03 15:44 | abma | Note Added: 0014855 | |
| 2015-07-03 15:44 | abma | Assigned To | => abma |
| 2015-07-03 15:44 | abma | Status | new => feedback |
| 2015-07-03 15:44 | abma | Note Added: 0014856 | |
| 2015-07-04 00:34 | DeinFreund | Note Added: 0014867 | |
| 2015-07-04 00:34 | DeinFreund | Status | feedback => assigned |
| 2015-07-04 00:35 | abma | Status | assigned => closed |
| 2015-07-04 00:35 | abma | Resolution | open => unable to reproduce |