Missing sound causes game to crash if a dot is typed

Missing sound causes game to crash if a dot is typed

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
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Missing sound causes game to crash if a dot is typed

Post by Caydr »

Start any mod, type:

. (a dot)

You send a message "."

Everyone wonders what the hell you're doing. Life goes on.

Open a mod, delete the sounds folder, rezip it.

Now type:

. (a dot)

Game crashes.

I believe the specific sound is either:
beep4.wav
button9.wav
beep6.wav
since these are the ones the infolog specifically mentions are missing.

Relevant infolog section:

Code: Select all

LogOutput initialized.
Spring 0.79.1.2 (0.79.1.2-0-gbb45722{@}-cmake-tdm)
Available log subsystems: mapinfo, CollisionVolume, unit, VFS-detail, VFS, ArchiveScanner, Sound
Enabled log subsystems: Sound
Enable or disable log subsystems using the LogSubsystems configuration key
  or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
[CMyMath::Init] CPU SSE mask: 126, flags:
	SSE 1.0:  1,  SSE 2.0:  1
	SSE 3.0:  1, SSSE 3.0:  1
	SSE 4.1:  1,  SSE 4.2:  0
	SSE 4.0A: 0,  SSE 5.0A: 0
	using streflop SSE FP-math mode, CPU supports SSE instructions
--snip--
OS: Microsoft  (build 7100)
Hardware: Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz; 3007MB RAM, 7101MB pagefile
--snip--
Video mode set to  1024 x 768 / 32 bit
[      0] SDL:  1.2.10
[      0] GL:   2.1.8664
[      0] GL:   ATI Technologies Inc.
[      0] GL:   ATI Radeon HD 4800 Series   
[      0] GLEW: 1.4.0
[      0] ATI hacks enabled
[      0] Testing mode enabled; game over disabled.
[      0] Connecting to local server
[      0] Starting demo recording
[      0] Using map Altored_Divide.smf
[      0] Recording demo demos/local_20090728_133737_Altored_Divide_0.79.1.sdf
[      0] Using script Commanders
[      0] Using mod Absolute Annihilation 2.491a
[      0] Using mod archive AASpring25.sdz
[      0] Became player 0 (team 0, allyteam 0)
[      0] Sound: OpenAL info:
[      0] Sound:   Vendor:     Creative Labs Inc.
[      0] Sound:   Version:    OpenAL version 1.1
[      0] Sound:   Renderer:   SB X-Fi Audio [0001]
[      0] Sound:   AL Extensions: EAX
EAX1.0
EAX2.0
EAX3.0
EAX4.0
EAX5.0
[      0] Sound:   ALC Extensions: None
[      0] Sound:   Device:     SB X-Fi Audio [0001]
[      0] Sound:   Available Devices:  
[      0] Sound:                       Generic Software
[      0] Sound:                       SB X-Fi Audio [0001]
[      0] Sound: CSound(): Sucessfully parsed 4 SoundItems from gamedata/sounds.lua
[      0] Sound: Unable to open audio file: sounds/beep4.wav
[      0] Sound: Unable to open audio file: sounds/button9.wav
[      0] Parsing unit icons
[      0] Parsing definitions
[      0] Loading all definitions:  0.472000
[      0] Loading map informations
[      0] Opening map file
[      0] Loading Map
[      0] Loading detail textures
[      0] Creating overhead texture
[      0] Creating ground shading
[      0] Loading tile file
[      0] Reading tiles
[      0] Reading tile map
[      0] Creating projectile texture
[      0] Number of damage types: 42
[      0] Loading weapon definitions
[      0] Loading unit definitions
[      0] Sound: Unable to open audio file: sounds/beep6.wav
[      0] Loading feature definitions
[      0] Generating trees
[      0] Creating unit textures
[      0] Initializing map features
[      0] Reading estimate path costs
[      0] Pathing data checksum: ddae5f88
[      0] Creating sky
[      0] Loading LuaRules
[      0] Loading LuaGaia
[      0] Loading LuaUI
[      0] Using LUAUI_DIRNAME = LuaUI/
[      0] Reloaded ctrlpanel with: LuaUI/ctrlpanel.txt
[      0] LuaUI: bound F11 to the widget selector
[      0] LuaUI: bound CTRL+F11 to tweak mode
[      0] LuaUI v0.3
[      0] Finalizing...
[      0] Spring 0.79.1.2 (0.79.1.2-0-gbb45722{@}-cmake-tdm)
[      0] Build date/time: Jun 23 2009 20:02:52
[      0] Player UnnamedPlayer connected with number 0 (client version 0.79.1.2 (0.79.1.2-0-gbb45722{@}-cmake-tdm))
[      0] GameID: 6c376f4aea05b4a7d0cce13179b8f899
[     58] <UnnamedPlayer> .
[     58] Spring 0.79.1.2 (0.79.1.2-0-gbb45722{@}-cmake-tdm) has crashed.
[     58] Exception: Access violation (0xc0000005)
[     58] Exception Address: 0x0092016b
[     58] DLL information:
[     58] 0x00400000	spring
[     58] 0x777a0000	ntdll
[     58] 0x778f0000	kernel32
[     58] 0x75970000	KERNELBASE
[     58] 0x10000000	DevIL
[     58] 0x775b0000	MSVCRT
[     58] 0x00260000	ILU
[     58] 0x773e0000	ADVAPI32
[     58] 0x75fd0000	sechost
[     58] 0x75d80000	RPCRT4
[     58] 0x6f860000	GLU32
[     58] 0x6f380000	OPENGL32
[     58] 0x77480000	GDI32
[     58] 0x75c20000	USER32
[     58] 0x77040000	LPK
[     58] 0x774d0000	USP10
[     58] 0x646d0000	DDRAW
[     58] 0x6ead0000	DCIMAN32
[     58] 0x75e30000	SETUPAPI
[     58] 0x75b30000	CFGMGR32
[     58] 0x76fb0000	OLEAUT32
[     58] 0x76200000	ole32
[     58] 0x75b10000	DEVOBJ
[     58] 0x742d0000	dwmapi
[     58] 0x75bf0000	IMAGEHLP
[     58] 0x6fbc0000	mingwm10
[     58] 0x76360000	SHELL32
[     58] 0x75cf0000	SHLWAPI
[     58] 0x77570000	WS2_32
[     58] 0x778e0000	NSI
[     58] 0x01bf0000	SDL
[     58] 0x73dc0000	WINMM
[     58] 0x7c340000	MSVCR71
[     58] 0x66fc0000	freetype6
[     58] 0x61b80000	zlib1
[     58] 0x6ed80000	glew32
[     58] 0x6b180000	vorbisfile
[     58] 0x63e00000	vorbis
[     58] 0x01c40000	ogg
[     58] 0x01c60000	OpenAL32
[     58] 0x75d50000	IMM32
[     58] 0x77310000	MSCTF
[     58] 0x758f0000	profapi
[     58] 0x74590000	uxtheme
[     58] 0x71db0000	tiptsf
[     58] 0x75870000	CRYPTBASE
[     58] 0x77220000	CLBCatQ
[     58] 0x6df60000	msiltcfg
[     58] 0x74df0000	VERSION
[     58] 0x703a0000	msi
[     58] 0x709e0000	SFC
[     58] 0x709d0000	sfc_os
[     58] 0x69030000	atioglxx
[     58] 0x02fb0000	atiadlxx
[     58] 0x759c0000	WINTRUST
[     58] 0x759f0000	CRYPT32
[     58] 0x75960000	MSASN1
[     58] 0x753a0000	mswsock
[     58] 0x74e80000	wshtcpip
[     58] 0x746e0000	MMDevAPI
[     58] 0x745d0000	PROPSYS
[     58] 0x73d50000	wdmaud
[     58] 0x73d40000	ksuser
[     58] 0x746d0000	AVRT
[     58] 0x73d00000	AUDIOSES
[     58] 0x73b80000	msacm32
[     58] 0x73b60000	MSACM32
[     58] 0x73b00000	midimap
[     58] 0x73e10000	dsound
[     58] 0x74db0000	POWRPROF
[     58] 0x03e90000	ct_oal
[     58] 0x03ed0000	CTDPROXY
[     58] 0x6ec40000	dbghelp
[     58] Stacktrace:
[     58] (0) C:\Program Files\Spring\spring.exe [0x0092016B]
[     58] (1) C:\Program Files\Spring\spring.exe [0x00918CE6]
[     58] (2) C:\Program Files\Spring\spring.exe [0x00911A06]
[     58] (3) C:\Program Files\Spring\spring.exe [0x0041AB2A]
[     58] (4) C:\Program Files\Spring\spring.exe [0x0041EADA]
[     58] (5) C:\Program Files\Spring\spring.exe [0x00421E32]
[     58] (6) C:\Program Files\Spring\spring.exe [0x008BA365]
[     58] (7) C:\Program Files\Spring\spring.exe [0x008C3A94]
[     58] (8) C:\Program Files\Spring\spring.exe [0x008B914C]
[     58] (9) C:\Program Files\Spring\spring.exe [0x008B9336]
[     58] (10) C:\Program Files\Spring\spring.exe(aiInterfaceCallback_DataDirs_getWriteableDir+0x4008) [0x0095F7B8]
[     58] (11) C:\Program Files\Spring\spring.exe [0x0040124B]
[     58] (12) C:\Program Files\Spring\spring.exe [0x004012B8]
[     58] (13) C:\Windows\system32\kernel32.dll(BaseThreadInitThunk+0x12) [0x779410DC]
[     58] (14) C:\Windows\SYSTEM32\ntdll.dll(RtlProcessFlsData+0xd3) [0x77801E9E]
[     58] (15) C:\Windows\SYSTEM32\ntdll.dll(RtlProcessFlsData+0xa6) [0x77801E71]
Spring is normally very error-tolerant. A CTD over a missing sound file is kind of strange... especially when it only happens if you begin a line with a period. I'd recommend bundling a free alternative starting in the next release even if the bug is fixed. A beep is fairly easy to make.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Missing sound causes game to crash if a dot is typed

Post by imbaczek »

http://planetspring.free.fr/spring/stac ... 03578.html

it is likely this code is fixed. join #buildserv and try on a more recent build.
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Re: Missing sound causes game to crash if a dot is typed

Post by Caydr »

I'll give it a try later in the week probably, I'm busy re-inventing the wheel right now...
Post Reply

Return to “Help & Bugs”