Crash on UnitDestroyed

Crash on UnitDestroyed

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
Eaglebird
Posts: 263
Joined: 02 Aug 2005, 23:49

Crash on UnitDestroyed

Post by Eaglebird »

I'm running XP Pro SP2 with 512mb RAM and a 3.4ghz processor on an nVidia 6600GT.

I encountered this error on my own map, but it was more to do with units.
I was rather annoyed at the AI for having so many ships, so I built a nuke silo to take out his stockpile. I had launched at least 35 nukes previously, before one hit -something-, and the game froze, and crashed.

I couldn't see the unit, though it was a sea unit of some sort, and was in radar contact. I was near my unit limit.

Code: Select all

Spring 0.74b3 has crashed.
Exception: Access violation (0xc0000005)
Exception Address: 0x02e713bf
DLL information:
0x00400000	spring
0x7c900000	ntdll
0x7c800000	kernel32
0x77dd0000	ADVAPI32
0x77e70000	RPCRT4
0x73f10000	dsound
0x77c10000	msvcrt
0x77d40000	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
0x00b00000	DevIL
0x66fc0000	freetype6
0x61b80000	zlib1
0x003d0000	glew32
0x5ad70000	uxtheme
0x01b40000	ctagent
0x69500000	nvoglnt
0x71a50000	mswsock
0x662b0000	hnetcfg
0x71a90000	wshtcpip
0x76f20000	DNSAPI
0x76d60000	iphlpapi
0x76fb0000	winrnr
0x76f60000	WLDAP32
0x76fc0000	rasadhlp
0x76c30000	WINTRUST
0x77a80000	CRYPT32
0x77b20000	MSASN1
0x72d20000	wdmaud
0x72d10000	msacm32
0x77be0000	MSACM32
0x77bd0000	midimap
0x73ee0000	KsUser
0x02e70000	AAI
0x59a60000	DBGHELP
Stacktrace:
(0) C:\Total Annihilations\TA Spring\TASpring\AI\Bot-libs\AAI.dll [0x02E713BF]
(1) C:\Total Annihilations\TA Spring\TASpring\AI\Bot-libs\AAI.dll [0x02E718CB]
(2) C:\Total Annihilations\TA Spring\TASpring\AI\Bot-libs\AAI.dll [0x02E76341]
(3) C:\Total Annihilations\TA Spring\TASpring\AI\Bot-libs\AAI.dll [0x02E8A352]
(4) C:\Total Annihilations\TA Spring\TASpring\spring.exe [0x004D2841]
(5) C:\Total Annihilations\TA Spring\TASpring\spring.exe [0x006C4979]
(6) C:\Total Annihilations\TA Spring\TASpring\spring.exe [0x006C5837]
(7) C:\Total Annihilations\TA Spring\TASpring\spring.exe [0x0052A475]
(8) C:\Total Annihilations\TA Spring\TASpring\spring.exe [0x004DC0D0]
(9) C:\Total Annihilations\TA Spring\TASpring\spring.exe [0x004EAD10]
(10) C:\Total Annihilations\TA Spring\TASpring\spring.exe [0x004ECDF4]
(11) C:\Total Annihilations\TA Spring\TASpring\spring.exe [0x007142C6]
(12) C:\Total Annihilations\TA Spring\TASpring\spring.exe [0x00719B96]
(13) C:\Total Annihilations\TA Spring\TASpring\spring.exe [0x00719F52]
(14) C:\Total Annihilations\TA Spring\TASpring\spring.exe [0x0071A0F2]
(15) C:\Total Annihilations\TA Spring\TASpring\spring.exe [0x007963E5]
(16) C:\Total Annihilations\TA Spring\TASpring\spring.exe [0x00401092]
(17) C:\Total Annihilations\TA Spring\TASpring\spring.exe [0x0040110F]
(18) C:\WINDOWS\system32\kernel32.dll(RegisterWaitForInputIdle+0x49) [0x7C816D4F]

(0)	??
	??:0

(1)	??
	??:0

(2)	??
	??:0

(3)	??
	??:0

(4)	CGlobalAIHandler::UnitDestroyed(CUnit*, CUnit*)
	C:/taspring_trunk/rts/ExternalAI/GlobalAIHandler.cpp:173

(5)	CUnit::KillUnit(bool, bool, CUnit*)
	C:/taspring_trunk/rts/Sim/Units/Unit.cpp:1258

(6)	CUnit::DoDamage(DamageArray const&, CUnit*, float3 const&)
	C:/taspring_trunk/rts/Sim/Units/Unit.cpp:633

(7)	CGameHelper::Update()
	C:/taspring_trunk/rts/Game/GameHelper.cpp:675

(8)	CGame::SimFrame()
	C:/taspring_trunk/rts/Game/Game.cpp:1891

(9)	CGame::ClientReadNet()
	C:/taspring_trunk/rts/Game/Game.cpp:2307

(10)	CGame::Update()
	C:/taspring_trunk/rts/Game/Game.cpp:1470

(11)	SpringApp::Update()
	C:/taspring_trunk/rts/System/Main.cpp:812

(12)	SpringApp::Run(int, char**)
	C:/taspring_trunk/rts/System/Main.cpp:990

(13)	Run(int, char**)
	C:/taspring_trunk/rts/System/Main.cpp:1047

(14)	WinMain@16
	C:/taspring_trunk/rts/System/Main.cpp:1096

(15)	main
	J:/MinGW/home/Sherpya/stage/mingw-runtime-3.10/main.c:78

(16)	__mingw_CRTStartup
	J:/MinGW/home/Sherpya/stage/mingw-runtime-3.10/crt1.c:226

(17)	WinMainCRTStartup
	J:/MinGW/home/Sherpya/stage/mingw-runtime-3.10/crt1.c:260

(18)	??
	??:0
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

(0) C:\Total Annihilations\TA Spring\TASpring\AI\Bot-libs\AAI.dll [0x02E713BF]
(1) C:\Total Annihilations\TA Spring\TASpring\AI\Bot-libs\AAI.dll [0x02E718CB]
(2) C:\Total Annihilations\TA Spring\TASpring\AI\Bot-libs\AAI.dll [0x02E76341]
(3) C:\Total Annihilations\TA Spring\TASpring\AI\Bot-libs\AAI.dll [0x02E8A352]
A little common sense can go a long way. I believe AAI belongs in the AI forum and there have been updated versions in the svn.

It may also help to give map and modnames.
User avatar
Eaglebird
Posts: 263
Joined: 02 Aug 2005, 23:49

Post by Eaglebird »

AF wrote:
(0) C:\Total Annihilations\TA Spring\TASpring\AI\Bot-libs\AAI.dll [0x02E713BF]
(1) C:\Total Annihilations\TA Spring\TASpring\AI\Bot-libs\AAI.dll [0x02E718CB]
(2) C:\Total Annihilations\TA Spring\TASpring\AI\Bot-libs\AAI.dll [0x02E76341]
(3) C:\Total Annihilations\TA Spring\TASpring\AI\Bot-libs\AAI.dll [0x02E8A352]
A little common sense can go a long way. I believe AAI belongs in the AI forum and there have been updated versions in the svn.

It may also help to give map and modnames.
It's also a 'crashbug'. The map was 'my own', a seven_islands remake yet to be released, and the mod was XTA
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Well its not a spring crashbug its an AAI crashbug. The easy fix is to switch to a different AI.
User avatar
Tim Blokdijk
Posts: 1242
Joined: 29 May 2005, 11:18

Post by Tim Blokdijk »

AF, a crash is a crash he is just trying to debug something. No need to show of your crash report reading skills at his expense.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Hardly, users rarely ever read a crash report, those that do usually dont understand it assuming its complicated, just like how most users cant understand the most basic error messagebox regardless of their english skills, like that GL ARB message that tells you your drivers are borked, users end up in the lobby in #main sayign I got GL_ARB and then get told their drivers are borked and suddenly everything makes sense..
Post Reply

Return to “Help & Bugs”