Page 1 of 1

Spring crashes as game begins

Posted: 22 Jul 2007, 19:19
by Phosphoer
'Ello I'm new to TA Spring. I've been playing the original Total Annihilation for years so I was pretty excited to try out Spring.

Anyway I downloaded the regular installer and a copy of Spring SP, as instructed by the guide. I installed Spring, placed Spring SP in the same folder as spring.exe, and copied the contents of SP's lobby folder into Spring's lobby folder. The guide said I was ready to play SP now, so I opened that up, set up the game with a human Arm and a computer Core, set the map to Small Divide, turned on ghosted buildings, and clicked start. The game loaded, then gave the countdown until the game begins. As soon as it reached zero SP quit and a popup box said that Spring has crashed.
Any ideas what I'm doing wrong?
Here's the stacktrace if it'll help.

Code: Select all

Using script Commanders
Map: SmallDivide.smf
Mod: "XTA v9" from XTAPE.sdz
Created server on port 8452
Created local client with number 0
Listening to local client on connection 0
Content error:
Opening map file
Loading Map
Loading detail textures
Creating overhead texture
Creating ground shading
Loading tile file
Reading tiles
Reading tile map
Creating projectile texture
Number of damage types: 9
Loading units and weapons
Warning to many unit categories 33 missed all
Warning to many unit categories 33 missed all
Initializing map features
Parsing unit icons
Creating unit textures
Reading estimate path costs
Creating sky
Spring 0.75b2
Reloaded ctrlpanel with: LuaUI/ctrlpanel.txt
LuaUI: bound F11 to the widget selector
LuaUI: bound CTRL+F11 to tweak mode
Failed to load: gui_idle_builders.lua  (Include() could not load 'LuaUI/Headers/spring.h.lua'
)
LuaUI v0.2
Player Player joined as 0
AI\Bot-libs\AAI.dll has C++ interface
GlobalAI1: land map detected
GlobalAI1: New map-learning file created
GlobalAI1: AAI loaded
Spring 0.75b2 has crashed.
Exception: Access violation (0xc0000005)
Exception Address: 0x69606115
DLL information:
0x00400000    spring
0x7c900000    ntdll
0x7c800000    kernel32
0x77dd0000    ADVAPI32
0x77e70000    RPCRT4
0x73f10000    dsound
0x77c10000    msvcrt
0x7e410000    USER32
0x77f10000    GDI32
0x774e0000    ole32
0x76b40000    WINMM
0x77c00000    VERSION
0x68b20000    GLU32
0x5ed00000    OPENGL32
0x73760000    DDRAW
0x73bc0000    DCIMAN32
0x76c90000    IMAGEHLP
0x71ad0000    WSOCK32
0x71ab0000    WS2_32
0x71aa0000    WS2HELP
0x10000000    SDL
0x7c340000    MSVCR71
0x00d00000    DevIL
0x66fc0000    freetype6
0x61b80000    zlib1
0x003d0000    glew32
0x00e90000    ILU
0x5cd70000    serwvdrv
0x5b0a0000    umdmxfrm
0x5ad70000    uxtheme
0x019f0000    nview
0x77f60000    SHLWAPI
0x7c9c0000    SHELL32
0x76bf0000    PSAPI
0x77120000    OLEAUT32
0x5d090000    COMCTL32
0x773d0000    comctl32
0x77690000    NTMARTA
0x76f60000    WLDAP32
0x71bf0000    SAMLIB
0x74720000    MSCTF
0x69500000    nvoglnt
0x71a50000    mswsock
0x662b0000    hnetcfg
0x71a90000    wshtcpip
0x76c30000    WINTRUST
0x77a80000    CRYPT32
0x77b20000    MSASN1
0x72d20000    wdmaud
0x72d10000    msacm32
0x77be0000    MSACM32
0x77bd0000    midimap
0x73ee0000    KsUser
0x038d0000    AAI
0x59a60000    DBGHELP
Stacktrace:

Update:

Posted: 22 Jul 2007, 20:02
by Phosphoer
Update: The game appears to work in multiplayer, no one was able to join because of a port problem or something but I was able to move my commander around.

Help on SP is still appreciated.



EDIT: JK lol it doesn't work in multiplayer. The only time it works is when its JUST me and no one else, player OR bot.

Posted: 22 Jul 2007, 22:49
by Auswaschbar
...
0x59a60000 DBGHELP
Stacktrace:
The stacktrace should follow here...

Posted: 22 Jul 2007, 23:15
by Phosphoer
In the log there isn't anything after stack trace.

Posted: 22 Jul 2007, 23:26
by imbaczek
that's very bad. are you using an antivirus? what's your machine's config and OS?

Posted: 23 Jul 2007, 05:28
by Phosphoer
I have norton antivirus and spy sweeper installed, although I'm pretty sure they are both turned off. I'm running Windows XP (bleh), on an HP Pavillion (even more bleh) at 2.8Ghz and an nVidia FX 5200. I have 768 MB of RAM. I just tried re-installing completely and it didn't work, I also tried getting XTA 8.1 instead of 9 since 8.1 is the one that worked in the guide, but it still didn't work.

Posted: 23 Jul 2007, 23:41
by Phosphoer
*nudges topic up a little*

Posted: 24 Jul 2007, 13:21
by Saktoth
Gonna be a Tech Support guy and say, reinstall, try again?

Posted: 24 Jul 2007, 20:34
by Phosphoer
I have re-downloaded the game completely and re-installed..still doesn't work -_-

*glares at computer*

Posted: 24 Jul 2007, 21:00
by Kloot
Does this also happen if you start Spring directly (without using SpringSP) and select the Commanders option from the menu, so AAI isn't loaded? Your infolog doesn't suggest an AI problem, but the lack of a stacktrace unfortunately means you'll have to rule things out by hand.

Posted: 25 Jul 2007, 06:26
by Phosphoer
Nope, I opened the Commanders script, it loaded fine as always, and a screen showing the map popped up with all the interface and everything. In the middle of the screen it said "Waiting for connections, press enter to start" So I pressed that and the game quit, the screen went all odd-colored for a second and then the same box popped up saying that spring has crashed. Same stuff in the infolog too >.<

Good try though thanks :)

Posted: 26 Jul 2007, 00:29
by Lizard
hi folks new poster here, I've also been getting a simlar problem so thought I'd register and share my experiences.


I'm using TAspring v 0.75b2 in conjunction with SPspring v 0.9 and I am also encountering the same problem - a crash to desktop after the map has loaded it occurs roughly at the point when the commander should be spawning. I found I could run a map once and then after that it would stop working however if I switched the AI type that was being used ( from AAI to KIA in my case I think ) the map would work again but again would not load on a second attempt with the new AI in place.


This got me to thinking it must be a file created during the first run of the map that is the cause of the problem, after a little digging I found a dat file located in the following directory spring/AI/AAI/learn/map, in my case the file was Battle_for_Eidola_Prime-v01_XTAPE.dat and I found that if I either removed this file from the folder or deleted it the map would work again .


... anyway I hope this helps to shed some light on the issue, previous to this I was using version 0.74b3 of spring and did not encounter this problem.

sorry I can't be much more help that this I'm still a bit of a newb with this myself - I've only been playing with it for a couple of weeks, I've gotta say though I'm really enjoying it I had a lot of fun with the original TA and core contingency back in the day .

Posted: 26 Jul 2007, 00:47
by Kloot
@Lizard

Your specific problem is caused by a bug in the version of AAI shipped with 0.75b2, which has been fixed in SVN. You can grab an updated AAI dll here.

@Phosphoer

I don't suppose you want to run Spring in a debugger for me? ;)

Posted: 26 Jul 2007, 01:17
by Lizard
yep the updated DLL fixed, thanks for the help. :)

Posted: 26 Jul 2007, 09:06
by Phosphoer
Sure I'll give it a shot, how do I go about debugging it?

Thanks for the continued help guys :)

BTW I tried downloading that AAI.dll just so that I wouldn't wonder if that was the problem, and it didn't fix the crash.

Posted: 28 Jul 2007, 23:02
by Phosphoer
Do I have to download the source to debug it?