[Solved] Access violation crash on windows

[Solved] Access violation crash on windows

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
yanom
Posts: 323
Joined: 10 Jul 2009, 23:34

[Solved] Access violation crash on windows

Post by yanom »

So I'm running spring standalone on a fairly new workstation that has Windows and an i5 processor with integrated graphics (no discrete graphics card). When I try to start up spring, it gets to the "loading maps" phase, then crashes, saying "access violation". (Possibly relevant - I do not have administrator access on this machine.) This is the infolog.txt it leaves behind:

Code: Select all

Using configuration source: "P:\spring-91.0\springsettings.cfg"
[CMyMath::Init] CPU SSE mask: 127, flags:
	SSE 1.0:  1,  SSE 2.0:  1
	SSE 3.0:  1, SSSE 3.0:  1
	SSE 4.1:  1,  SSE 4.2:  1
	SSE 4.0A: 0,  SSE 5.0A: 0
	using streflop SSE FP-math mode, CPU supports SSE instructions
OS: Microsoft Windows
Microsoft Windows 7 Business Edition, 64-bit Service Pack 1 (build 7601)
Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz; 3976MB RAM, 7952MB pagefile
OS: emulated 32bit mode
[Watchdog] Installed (HangTimeout: 10sec)
Available log sections: KeyBindings, CSMFGroundTextures, RoamMeshDrawer, BumpWater, DynWater, SkyBox, FarTextureHandler, Model, Piece, ModelDrawer, OBJParser, WorldObjectModelRenderer, Texture, Font, CollisionVolume, GroundMoveType, Path, UnitScript, AutohostInterface, ArchiveScanner, VFS, Sound, LuaSocket
Enabled log sections: Sound(LOG_LEVEL_INFO)
Enable or disable log sections using the LogSections configuration key
  or the SPRING_LOG_SECTIONS environment variable (both comma separated).
  Use "none" to disable the default log sections.
LogOutput initialized.
Spring 91.0
Build date/time: Aug 30 2012 21:05:51
Build environment: boost-104800, GNU libstdc++ version 20100429
Compiler: gcc-4.4.4
Using read-write data directory: P:\spring-91.0\
Scanning: P:\spring-91.0\maps
Scanning: P:\spring-91.0\base
Scanning: P:\spring-91.0\games
Supported Video modes: 1280x1024, 1152x864, 1024x768, 848x480, 800x600, 656x496, 640x480
Video mode set to 1280x1024/32bit
[f=0000000] SDL version:  1.2.10
[f=0000000] GL version:   3.0.0 - Build 8.15.10.2342
[f=0000000] GL vendor:    Intel
[f=0000000] GL renderer:  Intel(R) HD Graphics Family
[f=0000000] GLSL version: 1.30  - Intel Build 8.15.10.2342
[f=0000000] GLEW version: 1.5.8
[f=0000000] Video RAM:    unknown
[f=0000000] GL info:
	haveARB: 1, haveGLSL: 0, ATI hacks: 0
	FBO support: 1, NPOT-texture support: 1, 24bit Z-buffer support: 1
	maximum texture size: 4096, compress MIP-map textures: 0
	maximum SmoothPointSize: 10, maximum vec4 varying/attributes: 10/16
	maximum drawbuffers: 8, maximum recommended indices/vertices: 1024/1024
	number of UniformBufferBindings: 0 (0kB)
[f=0000000] VSync disabled
[f=0000000] Joysticks found: 0
[f=0000000] Warning: Joystick 0 not found
[f=0000000] CPU Cores: 4
[f=0000000] CPU affinity not set
[f=0000000] Loading startscript from: P:\spring-91.0\script.txt
[f=0000000] Connecting to local server
[f=0000000] [Sound] OpenAL info:
[f=0000000] [Sound]   Available Devices:
[f=0000000] [Sound]               DirectSound Software
[f=0000000] [Sound]   Device:     DirectSound Software
[f=0000000] [Sound]   Vendor:         OpenAL Community
[f=0000000] [Sound]   Version:        1.1 ALSOFT 1.11.753
[f=0000000] [Sound]   Renderer:       OpenAL Soft
[f=0000000] [Sound]   AL Extensions:  AL_EXTX_buffer_sub_data AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_OFFSET AL_EXTX_sample_buffer_object AL_EXT_source_distance_model AL_LOKI_quadriphonic
[f=0000000] [Sound]   ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_disconnect ALC_EXT_EFX ALC_EXTX_thread_local_context
[f=0000000] [Sound]   EFX Enabled: yes
[f=0000000] [Sound]   Max Sounds: 128
[f=0000000] Binding UDP socket to IP (v6) :: port 8452
[f=0000000] [UDPListener] successfully bound socket on port 8452
[f=0000000] PreGame::StartServer: 15 ms
[f=0000000] Using map: CT_Conflict_Lunav2
[f=0000000] Using game: Frontier $VERSION
[f=0000000] Using game archive: frontier.sdd
[f=0000000] recording demo: demos/20121018_094050_CT_Conflict_Lunav2_91.sdf
[f=0000000] PreGame::GameDataReceived: 1015 ms
[f=0000000] User number 0 (team 0, allyteam 0)
[f=0000000] LoadingScreen: single-threaded
[f=0000000] Loading Radar Icons
[f=0000000] Loading GameData Definitions
[f=0000000] Loading all definitions:  0.346000
[f=0000000] Game::LoadDefs (GameData): 358 ms
[f=0000000] Loading Sound Definitions
[f=0000000] [Sound]  parsed 5 sounds from gamedata/sounds.lua
[f=0000000] [Sound] Warning: Unable to open audio file: sounds/beep4.wav
[f=0000000] Game::LoadDefs (Sound): 4 ms
[f=0000000] Parsing Map Information
[f=0000000] Loading SMF
[f=0000000] Loading Map (103 MB)
[f=0000000] Statistics for RectangleOptimizer: 0%
[f=0000000] Statistics for RectangleOptimizer: 0%
[f=0000000] Error: Spring 91.0 has crashed.
[f=0000000] Error: DLL information:
[f=0000000] Error: 0x00400000	spring
[f=0000000] Error: 0x77ab0000	ntdll
[f=0000000] Error: 0x75580000	kernel32
[f=0000000] Error: 0x75850000	KERNELBASE
[f=0000000] Error: 0x10000000	DevIL
[f=0000000] Error: 0x74fd0000	MSVCP80
[f=0000000] Error: 0x74f30000	MSVCR80
[f=0000000] Error: 0x75280000	msvcrt
[f=0000000] Error: 0x75360000	USER32
[f=0000000] Error: 0x75e50000	GDI32
[f=0000000] Error: 0x76200000	LPK
[f=0000000] Error: 0x763b0000	USP10
[f=0000000] Error: 0x75ac0000	ADVAPI32
[f=0000000] Error: 0x76000000	sechost
[f=0000000] Error: 0x75760000	RPCRT4
[f=0000000] Error: 0x75190000	SspiCli
[f=0000000] Error: 0x75180000	CRYPTBASE
[f=0000000] Error: 0x6f710000	GLU32
[f=0000000] Error: 0x6c690000	OPENGL32
[f=0000000] Error: 0x6f2e0000	DDRAW
[f=0000000] Error: 0x71370000	DCIMAN32
[f=0000000] Error: 0x76210000	SETUPAPI
[f=0000000] Error: 0x75930000	CFGMGR32
[f=0000000] Error: 0x758a0000	OLEAUT32
[f=0000000] Error: 0x75960000	ole32
[f=0000000] Error: 0x76190000	DEVOBJ
[f=0000000] Error: 0x727a0000	dwmapi
[f=0000000] Error: 0x75330000	IMAGEHLP
[f=0000000] Error: 0x6fbc0000	mingwm10
[f=0000000] Error: 0x76520000	SHELL32
[f=0000000] Error: 0x760c0000	SHLWAPI
[f=0000000] Error: 0x76020000	WS2_32
[f=0000000] Error: 0x76120000	NSI
[f=0000000] Error: 0x62e80000	zlib1
[f=0000000] Error: 0x6b600000	OpenAL32
[f=0000000] Error: 0x746c0000	WINMM
[f=0000000] Error: 0x70780000	vorbisfile
[f=0000000] Error: 0x68140000	ogg
[f=0000000] Error: 0x64cc0000	vorbis
[f=0000000] Error: 0x66fc0000	freetype6
[f=0000000] Error: 0x62aa0000	glew32
[f=0000000] Error: 0x00330000	SDL
[f=0000000] Error: 0x7c340000	MSVCR71
[f=0000000] Error: 0x76130000	IMM32
[f=0000000] Error: 0x76450000	MSCTF
[f=0000000] Error: 0x6fa00000	SOPHOS~1
[f=0000000] Error: 0x75750000	PSAPI
[f=0000000] Error: 0x74ee0000	AMINIT32
[f=0000000] Error: 0x6f500000	dsound
[f=0000000] Error: 0x72be0000	POWRPROF
[f=0000000] Error: 0x751f0000	CLBCatQ
[f=0000000] Error: 0x72250000	MMDevApi
[f=0000000] Error: 0x711f0000	PROPSYS
[f=0000000] Error: 0x722a0000	wdmaud
[f=0000000] Error: 0x72550000	ksuser
[f=0000000] Error: 0x72290000	AVRT
[f=0000000] Error: 0x721d0000	AUDIOSES
[f=0000000] Error: 0x72240000	msacm32
[f=0000000] Error: 0x727c0000	MSACM32
[f=0000000] Error: 0x72230000	midimap
[f=0000000] Error: 0x74f00000	profapi
[f=0000000] Error: 0x727e0000	uxtheme
[f=0000000] Error: 0x059c0000	ig4icd32
[f=0000000] Error: 0x721a0000	DINPUT
[f=0000000] Error: 0x72220000	HID
[f=0000000] Error: 0x75720000	WINTRUST
[f=0000000] Error: 0x75460000	CRYPT32
[f=0000000] Error: 0x77a80000	MSASN1
[f=0000000] Error: 0x72e70000	swi_ifslsp
[f=0000000] Error: 0x74dc0000	VERSION
[f=0000000] Error: 0x72e30000	mswsock
[f=0000000] Error: 0x72bc0000	wship6
[f=0000000] Error: 0x72e20000	wshtcpip
[f=0000000] Error: 0x72a80000	dbghelp
[f=0000000] Error: Exception: Access violation (0xc0000005)
[f=0000000] Error: Exception Address: 0x0060b7f3
[f=0000000] Error: Stacktrace:
[f=0000000] Error: (0) P:\spring-91.0\spring.exe [0x0060B7F3]
[f=0000000] Error: (1) P:\spring-91.0\spring.exe [0x0046C196]
[f=0000000] Error: (2) P:\spring-91.0\spring.exe [0x0076BEFA]
[f=0000000] Error: (3) P:\spring-91.0\spring.exe [0x0042AF98]
[f=0000000] Error: (4) P:\spring-91.0\spring.exe [0x00936011]
[f=0000000] Error: (5) P:\spring-91.0\spring.exe [0x0093144A]
[f=0000000] Error: (6) P:\spring-91.0\spring.exe [0x009246EB]
[f=0000000] Error: (7) P:\spring-91.0\spring.exe [0x009247C4]
[f=0000000] Error: (8) P:\spring-91.0\spring.exe [0x009248E1]
[f=0000000] Error: (9) P:\spring-91.0\spring.exe(skirmishAiCallback_Unit_SupportedCommand_getParams+0xc009) [0x009C1B99]
[f=0000000] Error: (10) P:\spring-91.0\spring.exe [0x004010B4]
[f=0000000] Error: (11) P:\spring-91.0\spring.exe [0x00401128]
[f=0000000] Error: (12) C:\Windows\syswow64\kernel32.dll(BaseThreadInitThunk+0x12) [0x7559339A]
[f=0000000] Error: (13) C:\Windows\SysWOW64\ntdll.dll(RtlInitializeExceptionChain+0x63) [0x77AE9EF2]
[f=0000000] Error: (14) C:\Windows\SysWOW64\ntdll.dll(RtlInitializeExceptionChain+0x36) [0x77AE9EC5]
[f=0000000] Statistics for local connection:
Received: 398 bytes
Sent: 4 bytes

Error: Spring: Unhandled exception Spring has crashed:
  Access violation.

A stacktrace has been written to:
  P:\spring-91.0\infolog.txt
Last edited by yanom on 26 Oct 2012, 03:00, edited 1 time in total.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Access violation crash on windows

Post by knorke »

[f=0000000] Error: (9) P:\spring-91.0\spring.exe(skirmishAiCallback_Unit_SupportedCommand_getParams+0xc009) [0x009C1B99]

this looks like broken ai but this:
http://paste.springfiles.com/view/6c119374
looks like bumpwater maybe?
afaik that map has no water but still try basic water (and then lowering other settings)

http://springrts.com/wiki/FAQ:trouble
did you see the "it crashes" things?
yanom
Posts: 323
Joined: 10 Jul 2009, 23:34

Re: Access violation crash on windows

Post by yanom »

All the graphics are on lowest settings. It's also worth noting that it runs fine under Linux on the same machine.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Access violation crash on windows

Post by hoijui »

the skirmishAiCallback_Unit_SupportedCommand_getParams shows up in most stack traces, simply because it is the last exported symbol, and memory addresses after it are shown relative to it. it does not indicate a problem with AI.
dont paste log files as text in a post, add them as attached files, or through pastebin.
yanom
Posts: 323
Joined: 10 Jul 2009, 23:34

Re: Access violation crash on windows

Post by yanom »

just determined the crash was due to corrupted maps. nvm.
Post Reply

Return to “Help & Bugs”