Unloading air units causes crash

Unloading air units causes crash

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Unloading air units causes crash

Post by REVENGE »

Attempted to load a construction aircraft into a hovercraft transport. Upon unloading, Spring crashed.

Here's the stacktrace:

Code: Select all

Using script Empty script
Map: neurope_a5.smf
Mod: "Balanced Annihilation V5.5 + Final Frontier" from BA 5.5 + FF.sdd
Created server on port 8452
Created local client with number 0
Listening to local client on connection 0
TransportHover: 1 
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: 67
Loading units and weapons
Warning to many unit categories 33 missed notstructure
Warning to many unit categories 33 missed tport
Warning to many unit categories 33 missed notstructure
Warning to many unit categories 33 missed fort
Initializing map features
Generating trees
Parsing unit icons
Creating unit textures
Unknown feature type wall
Unknown feature type cluster0
Unknown feature type cluster1
Unknown feature type cluster2
Unknown feature type cluster3
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
LuaUI v0.2
Player no name joined as 0
[string "LuaUI/Widgets/gui_center_n_select.lua"]:27: Bad unitID parameter in GetUnitPosition()
Removed widget: Select n Center!
<no name> .give AUndertaker @1873,-71,1576
<no name> .cheat
Cheating!
<no name> .give AUndertaker @1873,-71,1576
Giving 1 AUndertaker to team 0
<no name> .give armepoch @1873,-71,1576
Couldnt find wreckage info armepoch
armepoch is not a valid unitname
<no name> .give armbats @1873,-71,1576
Giving 1 armbats to team 0
<no name> .team 1
<no name> .give armbull @999,121,2156
Giving 1 armbull to team 1
<no name> .team 0
<no name> .give armatlas @796,118,1952
Giving 1 armatlas to team 0
Team1 (no name) fell flat
Game over
<no name> .team 1
<no name> .give armpw @1241,121,1997
Giving 1 armpw to team 1
<no name> .give armatlas @1241,121,1997
Giving 1 armatlas to team 1
<no name> .give armpw @1147,121,2046
Giving 1 armpw to team 1
<no name> .give CHyperion @1147,121,2046
Giving 1 CHyperion to team 1
HYPERION: Self destruct in 4 s
HYPERION: Self destruct in 3 s
HYPERION: Self destruct in 2 s
HYPERION: Self destruct in 1 s
<no name> .team 0
<no name> .give CHyperion @655,94,1945
Giving 1 CHyperion to team 0
Team1 (no name) lost their marbles
HYPERION: Self destruct in 4 s
HYPERION: Self destruct in 3 s
HYPERION: Self destruct in 2 s
<no name> .give corcom @1044,121,1181
Giving 1 corcom to team 0
HYPERION: Self destruct in 1 s
<no name> .give armhp @1144,121,2166
Giving 1 armhp to team 0
<no name> .nocost
Cheating!
<no name> .give armca @1432,121,2403
Giving 1 armca to team 0
Spring 0.75b2 has crashed.
Exception: Access violation (0xc0000005)
Exception Address: 0x007388d3
DLL information:
0x00400000	spring
0x77450000	ntdll
0x76d10000	kernel32
0x75fd0000	ADVAPI32
0x77050000	RPCRT4
0x6b810000	dsound
0x77120000	msvcrt
0x75f30000	USER32
0x75eb0000	GDI32
0x760f0000	ole32
0x74410000	WINMM
0x75da0000	OLEAUT32
0x743d0000	OLEACC
0x75060000	POWRPROF
0x744a0000	GLU32
0x6fe70000	OPENGL32
0x6c1e0000	DDRAW
0x6fd90000	DCIMAN32
0x76ec0000	SETUPAPI
0x70f50000	dwmapi
0x75f00000	IMAGEHLP
0x73b50000	WSOCK32
0x75e80000	WS2_32
0x775b0000	NSI
0x10000000	SDL
0x7c340000	MSVCR71
0x00240000	DevIL
0x66fc0000	freetype6
0x61b80000	zlib1
0x003d0000	glew32
0x00cb0000	ILU
0x77580000	IMM32
0x771d0000	MSCTF
0x775a0000	LPK
0x773d0000	USP10
0x74a20000	uxtheme
0x75d10000	CLBCatQ
0x69500000	nvoglv32
0x75360000	mswsock
0x75040000	wshtcpip
0x74eb0000	MMDevApi
0x76090000	SHLWAPI
0x74a60000	comctl32
0x74df0000	WINTRUST
0x75640000	CRYPT32
0x75790000	MSASN1
0x75bc0000	USERENV
0x75ba0000	Secur32
0x73e00000	audioses
0x73d90000	audioeng
0x74f70000	AVRT
0x75c70000	PSAPI
0x737f0000	dbghelp
Stacktrace:
(0) C:\Program Files\Spring\spring.exe(UnitDef_GetBuildOption+0x1a4e73) [0x007388D3]
(1) C:\Program Files\Spring\spring.exe(UnitDef_GetBuildOption+0x1a679a) [0x0073A1FA]
(2) C:\Program Files\Spring\spring.exe(UnitDef_GetBuildOption+0x1a4569) [0x00737FC9]
(3) C:\Program Files\Spring\spring.exe(UnitDef_GetBuildOption+0x1ad87a) [0x007412DA]
(4) C:\Program Files\Spring\spring.exe(UnitDef_GetBuildOption+0x18e799) [0x007221F9]
(5) C:\Program Files\Spring\spring.exe(UnitDef_GetBuildOption+0x6c01f) [0x005FFA7F]
(6) C:\Program Files\Spring\spring.exe(UnitDef_GetBuildOption+0x1f31e) [0x005B2D7E]
(7) C:\Program Files\Spring\spring.exe(UnitDef_GetBuildOption+0x4948a) [0x005DCEEA]
(8) C:\Program Files\Spring\spring.exe(UnitDef_GetBuildOption+0x4ab8e) [0x005DE5EE]
(9) C:\Program Files\Spring\spring.exe(UnitDef_GetBuildOption+0x286049) [0x00819AA9]
(10) C:\Program Files\Spring\spring.exe(UnitDef_GetBuildOption+0x28e208) [0x00821C68]
(11) C:\Program Files\Spring\spring.exe(UnitDef_GetBuildOption+0x28e5d8) [0x00822038]
(12) C:\Program Files\Spring\spring.exe(UnitDef_GetBuildOption+0x28e809) [0x00822269]
(13) C:\Program Files\Spring\spring.exe(UnitDef_GetBuildOption+0x37b6e7) [0x0090F147]
(14) C:\Program Files\Spring\spring.exe [0x00401292]
(15) C:\Program Files\Spring\spring.exe [0x004012DD]
(16) C:\Windows\system32\kernel32.dll(BaseThreadInitThunk+0x12) [0x76D53833]
(17) C:\Windows\system32\ntdll.dll(LdrInitializeThunk+0x4d) [0x7748A9BD]
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

Cannot reproduce, post the mod and exact steps to required to crash here: http://spring.clan-sy.com/mantis/view.php?id=594
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

*move to help & bugs*
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Post by REVENGE »

imbaczek wrote:Cannot reproduce, post the mod and exact steps to required to crash here: http://spring.clan-sy.com/mantis/view.php?id=594
In modrules.tdf, under heading section Transportability, set transportair=1. Subsequently, go ingame and .give any transport unit and .give any air unit. Load air unit, then unload. Crashes at unloading.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

thanks, fixed.
Post Reply

Return to “Engine”