Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2345 closed defect (fixed)

Crash in CSoundManager::ClearPlayListItems() Line 489, after AlcInit failed

Reported by: historic_bruno Owned by: ben
Priority: Should Have Milestone: Alpha 16
Component: Core engine Keywords:
Cc: stwf Patch:

Description

Described in this forum post: http://www.wildfiregames.com/forum/index.php?showtopic=18019

The sound manager fails to initialize properly on that system, as indicated by this debug output:

 [4240] ERROR: Sound: AlcInit failed, m_Device=108C7F00 m_Context=00000000 dev_name=OpenAL Soft err=40961

and later it crashes. System info is attached.

Attachments (1)

crashlog.txt (17.1 KB ) - added by historic_bruno 10 years ago.
Crashlog / system info

Download all attachments as: .zip

Change History (4)

by historic_bruno, 10 years ago

Attachment: crashlog.txt added

Crashlog / system info

comment:1 by historic_bruno, 10 years ago

Call stack of the crash:

>	pyrogenesis.exe!CSoundManager::ClearPlayListItems()  Line 489 + 0xf bytes	C++
 	pyrogenesis.exe!ScriptInterface::call<void,&JSI_Sound::ClearPlaylist>(JSContext * cx=0x00ecf0c8, unsigned int argc=0, unsigned __int64 * vp=0x04990150)  Line 103 + 0xba bytes	C++
 	mozjs185-ps-release-1.0.dll!5d870d10() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for mozjs185-ps-release-1.0.dll]	
 	pyrogenesis.exe!std::vector<CProfiler2::ThreadStorage *,std::allocator<CProfiler2::ThreadStorage *> >::_Umove<CProfiler2::ThreadStorage * *>(CProfiler2::ThreadStorage * * _First=, CProfiler2::ThreadStorage * * _Last=, CProfiler2::ThreadStorage * * _Ptr=)  Line 1141 + 0x28 bytes	C++

comment:2 by ben, 10 years ago

Owner: set to ben
Resolution: fixed
Status: newclosed

In 14725:

Improves error handling in sound manager. Fixes some crashes and errors that could occur when OpenAL failed to init properly, fixes #2183, #2345

comment:3 by historic_bruno, 10 years ago

Milestone: BacklogAlpha 16

Fixed the immediate cause of the crash, but I don't know why OpenAL failed to init, or if there's anything we can do about it.

Note: See TracTickets for help on using tickets.