using CocosDenshion's SimpleAudioEngine to play sound results in memory access violation [error 0xC0000005]

Hi All,

I’m testing out some example code using the SimpleAudioEngine, Visual Studio 2010, and the following source:

#include "SimpleAudioEngine.h" using namespace CocosDenshion; ... SimpleAudioEngine::sharedEngine()->playBackgroundMusic("dragon_roar01.mp3",true) ; ...

results in the following error on application exit while debugging
“Unhandled exception at 0x74b1a4b9 in DragonAudio.exe: 0xC0000005: Access violation reading location 0xfeeefeee.”

I also noticed that when I have the loop option set to true as above, the application seems to be
spawning and exiting many threads, potentially one for each sound loop… is that necessary? The full build (for libCocosDenshion) and debug
output follows:

`BUILD

1>------ Build started: Project: libCocosDenshion, Configuration: Release Win32 ------
1>Build started 5/29/2012 6:37:20 PM.
1>InitializeBuildStatus:
1> Creating “Release.win32\libCocosDenshion.unsuccessfulbuild” because “AlwaysCreate” was specified.
1>ClCompile:
1> SimpleAudioEngine.cpp
1>ManifestResourceCompile:
1> All outputs are up-to-date.
1>LINK : warning LNK4075: ignoring ‘/INCREMENTAL’ due to ‘/OPT:ICF’ specification
1> Creating library C:\Users\jeffreyc\Desktop\dev\cpp\DragonAudio\src\Release.win32\libCocosDenshion.lib and object C:\Users\jeffreyc\Desktop\dev\cpp\DragonAudio\src\Release.win32\libCocosDenshion.exp
1>Manifest:
1> All outputs are up-to-date.
1>LinkEmbedManifest:
1> All outputs are up-to-date.
1> CocosDenshion.win32.vcxproj -> C:\Users\jeffreyc\Desktop\dev\cpp\DragonAudio\src\Release.win32\libCocosDenshion.dll
1>FinalizeBuildStatus:
1> Deleting file “Release.win32\libCocosDenshion.unsuccessfulbuild”.
1> Touching “Release.win32\libCocosDenshion.lastbuildstate”.
1>
1>Build succeeded.
1>
1>Time Elapsed 00:00:03.51
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

1>------ Build started: Project: libcocos2d, Configuration: Release Win32 ------
1>Build started 5/29/2012 6:38:26 PM.
1>InitializeBuildStatus:
1> Creating “Release.win32\libcocos2d.unsuccessfulbuild” because “AlwaysCreate” was specified.
1>ClCompile:
1> All outputs are up-to-date.
1>ManifestResourceCompile:
1> All outputs are up-to-date.
1>PreLinkEvent:
1> 16 File(s) copied
1>Link:
1> All outputs are up-to-date.
1>Manifest:
1> All outputs are up-to-date.
1>FinalizeBuildStatus:
1> Deleting file “Release.win32\libcocos2d.unsuccessfulbuild”.
1> Touching “Release.win32\libcocos2d.lastbuildstate”.
1>
1>Build succeeded.
1>
1>Time Elapsed 00:00:00.73
2>------ Build started: Project: DragonAudio, Configuration: Release Win32 ------
2>Build started 5/29/2012 6:38:27 PM.
2>InitializeBuildStatus:
2> Creating “Release.win32\DragonAudio.unsuccessfulbuild” because “AlwaysCreate” was specified.
2>ClCompile:
2> AppDelegate.cpp
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCAnimation.h(49): warning C4251: ‘cocos2d::CCAnimation::m_nameStr’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCAnimation’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCUserDefault.h(113): warning C4251: ‘cocos2d::CCUserDefault::m_sFilePath’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCUserDefault’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCMenuItem.h(194): warning C4251: ‘cocos2d::CCMenuItemFont::m_strFontName’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCMenuItemFont’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCString.h(36): warning C4251: ‘cocos2d::CCString::m_sString’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCString’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCParticleSystem.h(173): warning C4251: ‘cocos2d::CCParticleSystem::m_sPlistFile’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCParticleSystem’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCLabelAtlas.h(68): warning C4251: ‘cocos2d::CCLabelAtlas::m_sString’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCLabelAtlas’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCLabelBMFont.h(92): warning C4251: ‘cocos2d::CCBMFontConfiguration::m_sAtlasName’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCBMFontConfiguration’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCLabelBMFont.h(155): warning C4251: ‘cocos2d::CCLabelBMFont::m_sString_initial’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCLabelBMFont’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCTMXObjectGroup.h(64): warning C4251: ‘cocos2d::CCTMXObjectGroup::m_sGroupName’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCTMXObjectGroup’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCTMXLayer.h(155): warning C4251: ‘cocos2d::CCTMXLayer::m_sLayerName’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCTMXLayer’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCTMXXMLParser.h(76): warning C4251: ‘cocos2d::CCTMXLayerInfo::m_sName’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCTMXLayerInfo’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCTMXXMLParser.h(103): warning C4251: ‘cocos2d::CCTMXTilesetInfo::m_sName’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCTMXTilesetInfo’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCTMXXMLParser.h(109): warning C4251: ‘cocos2d::CCTMXTilesetInfo::m_sSourceImage’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCTMXTilesetInfo’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCTMXXMLParser.h(181): warning C4251: ‘cocos2d::CCTMXMapInfo::m_sTMXFileName’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCTMXMapInfo’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCTMXXMLParser.h(183): warning C4251: ‘cocos2d::CCTMXMapInfo::m_sCurrentString’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCTMXMapInfo’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2> AudioProc.cpp
2>…\Classes\AudioProc.cpp(27): warning C4551: function call missing argument list
2>…\Classes\AudioProc.cpp(50): warning C4244: ‘initializing’ : conversion from ‘std::streamoff’ to ‘size_t’, possible loss of data
2>…\Classes\AudioProc.cpp(107): warning C4018: ‘>=’ : signed/unsigned mismatch
2> DragonAudioScene.cpp
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCAnimation.h(49): warning C4251: ‘cocos2d::CCAnimation::m_nameStr’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCAnimation’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCUserDefault.h(113): warning C4251: ‘cocos2d::CCUserDefault::m_sFilePath’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCUserDefault’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCMenuItem.h(194): warning C4251: ‘cocos2d::CCMenuItemFont::m_strFontName’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCMenuItemFont’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCString.h(36): warning C4251: ‘cocos2d::CCString::m_sString’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCString’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCParticleSystem.h(173): warning C4251: ‘cocos2d::CCParticleSystem::m_sPlistFile’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCParticleSystem’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCLabelAtlas.h(68): warning C4251: ‘cocos2d::CCLabelAtlas::m_sString’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCLabelAtlas’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCLabelBMFont.h(92): warning C4251: ‘cocos2d::CCBMFontConfiguration::m_sAtlasName’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCBMFontConfiguration’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCLabelBMFont.h(155): warning C4251: ‘cocos2d::CCLabelBMFont::m_sString_initial’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCLabelBMFont’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCTMXObjectGroup.h(64): warning C4251: ‘cocos2d::CCTMXObjectGroup::m_sGroupName’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCTMXObjectGroup’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCTMXLayer.h(155): warning C4251: ‘cocos2d::CCTMXLayer::m_sLayerName’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCTMXLayer’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCTMXXMLParser.h(76): warning C4251: ‘cocos2d::CCTMXLayerInfo::m_sName’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCTMXLayerInfo’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCTMXXMLParser.h(103): warning C4251: ‘cocos2d::CCTMXTilesetInfo::m_sName’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCTMXTilesetInfo’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCTMXXMLParser.h(109): warning C4251: ‘cocos2d::CCTMXTilesetInfo::m_sSourceImage’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCTMXTilesetInfo’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCTMXXMLParser.h(181): warning C4251: ‘cocos2d::CCTMXMapInfo::m_sTMXFileName’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCTMXMapInfo’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>c:\users\jeffreyc\desktop\dev\cpp\dragonaudio\src\cocos2dx\include\CCTMXXMLParser.h(183): warning C4251: ‘cocos2d::CCTMXMapInfo::m_sCurrentString’ : class ‘std::basic_string<_Elem,_Traits,_Ax>’ needs to have dll-interface to be used by clients of class ‘cocos2d::CCTMXMapInfo’
2> with
2> [
2> _Elem=char,
2> _Traits=std::char_traits,
2> _Ax=std::allocator
2> ]
2>Link:
2> Generating code
2> Finished generating code
2> HelloWorld.win32.vcxproj -> C:\Users\jeffreyc\Desktop\dev\cpp\DragonAudio\src\Release.win32\DragonAudio.exe
2>FinalizeBuildStatus:
2> Deleting file “Release.win32\DragonAudio.unsuccessfulbuild”.
2> Touching “Release.win32\DragonAudio.lastbuildstate”.
2>
2>Build succeeded.
2>
2>Time Elapsed 00:00:06.62
========== Build: 2 succeeded, 0 failed, 2 up-to-date, 0 skipped ==========

DEBUG

‘DragonAudio.exe’: Loaded ‘C:\Users\jeffreyc\Desktop\dev\cpp\DragonAudio\src\Release.win32\DragonAudio.exe’, Symbols loaded.
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\ntdll.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\kernel32.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\KernelBase.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Users\jeffreyc\Desktop\dev\cpp\DragonAudio\src\Release.win32\libcocos2d.dll’, Symbols loaded.
‘DragonAudio.exe’: Loaded ‘C:\Users\jeffreyc\Desktop\dev\cpp\DragonAudio\src\Release.win32\libEGL.dll’, Binary was not built with debug information.
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\user32.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\gdi32.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\lpk.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\usp10.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\msvcrt.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\advapi32.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\sechost.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\rpcrt4.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\sspicli.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\cryptbase.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\shell32.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\shlwapi.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Users\jeffreyc\Desktop\dev\cpp\DragonAudio\src\Release.win32\libgles_cm.dll’, Binary was not built with debug information.
‘DragonAudio.exe’: Loaded ‘C:\Users\jeffreyc\Desktop\dev\cpp\DragonAudio\src\Release.win32\libxml2.dll’, Binary was not built with debug information.
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\wsock32.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\ws2_32.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\nsi.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Users\jeffreyc\Desktop\dev\cpp\DragonAudio\src\Release.win32\iconv.dll’, Binary was not built with debug information.
‘DragonAudio.exe’: Loaded ‘C:\Users\jeffreyc\Desktop\dev\cpp\DragonAudio\src\Release.win32\zlib1.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Users\jeffreyc\Desktop\dev\cpp\DragonAudio\src\Release.win32\pthreadVCE2.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\msvcp100.dll’, Symbols loaded.
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\msvcr100.dll’, Symbols loaded.
‘DragonAudio.exe’: Loaded ‘C:\Users\jeffreyc\Desktop\dev\cpp\DragonAudio\src\Release.win32\libCocosDenshion.dll’, Symbols loaded.
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\winmm.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\imm32.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\msctf.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\uxtheme.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Program Files (x86)\McAfee\SiteAdvisor Enterprise\saHook.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\ole32.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\profapi.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\dwmapi.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\opengl32.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\glu32.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\ddraw.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\dciman32.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\setupapi.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\cfgmgr32.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\oleaut32.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\devobj.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\atiglpxx.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\atioglxx.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\version.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\atigktxx.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\aticfx32.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\atiadlxy.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\userenv.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\wtsapi32.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\psapi.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\wintrust.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\crypt32.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\msasn1.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\MMDevAPI.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\propsys.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\wdmaud.drv’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\ksuser.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\avrt.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\AudioSes.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\msacm32.drv’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\msacm32.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\midimap.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\mciqtz32.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\quartz.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\clbcatq.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\devenum.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\ntmarta.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\Wldap32.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\msdmo.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\DShowRdpFilter.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\winsta.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\slc.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\msiltcfg.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\msi.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\sfc.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\sfc_os.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Program Files (x86)\Common Files\Sonic Shared\SonicHDDemuxer.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Program Files (x86)\Common Files\Sonic Shared\msvcr71.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Program Files (x86)\Common Files\Sonic Shared\msvcp71.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\qasf.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\MP3DMOD.DLL’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\mfplat.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Program Files (x86)\Common Files\Sonic Shared\CinemasterAudio.DLL’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\dsound.dll’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\powrprof.dll’, Cannot find or open the PDB file
The thread ‘Win32 Thread’ (0x2888) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2a20) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2784) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2b90) has exited with code 0 (0x0).
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\l3codeca.acm’, Cannot find or open the PDB file
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\msmpeg2adec.dll’, Cannot find or open the PDB file
The thread ‘Win32 Thread’ (0x1d98) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x19a8) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x1644) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x28c0) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x20b8) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2994) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x26f0) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x167c) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x100c) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2aac) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x41c) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x23e4) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x29f4) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2910) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x25dc) has exited with code 0 (0x0).
‘DragonAudio.exe’: Unloaded ‘C:\Windows\SysWOW64\mciqtz32.dll’
‘DragonAudio.exe’: Loaded ‘C:\Windows\SysWOW64\mciqtz32.dll’, Cannot find or open the PDB file
The thread ‘Win32 Thread’ (0x1640) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x21c4) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x1354) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2b14) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x20a4) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x28c4) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2988) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x22cc) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2a00) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x17f0) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x22d0) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x328) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2ad8) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2934) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x297c) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x27b0) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0xccc) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2820) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2520) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x140) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x178c) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2858) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x28c) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x1c38) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x1794) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2628) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x25f8) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2734) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x1c90) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x1c94) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x29dc) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2974) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x28a4) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x68c) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x270c) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x1808) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2930) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x12a4) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x24d4) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x20ac) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x1e4c) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2970) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2968) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2854) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2b00) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x26b8) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0xe98) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x25c4) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x271c) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x24d0) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x1e7c) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x1eb0) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2710) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2be4) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x2978) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x1cf8) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x1bcc) has exited with code 0 (0x0).
The thread ‘Win32 Thread’ (0x484) has exited with code 0 (0x0).
First-chance exception at 0x74b1a4b9 in DragonAudio.exe: 0xC0000005: Access violation reading location 0xfeeefeee.
Unhandled exception at 0x74b1a4b9 in DragonAudio.exe: 0xC0000005: Access violation reading location 0xfeeefeee.

ERROR

Unhandled exception at 0x74b1a4b9 in DragonAudio.exe: 0xC0000005: Access violation reading location 0xfeeefeee.`

Any insight would be appreciated!
thanks,
CCJ

Did you invoke SimpleAudioEngine::end() before exiting?

I thought I had in one trial, but evidently not as this fixed the issue. Thanks for the help!
Just as a side-note, I’m new to CC2D/CC2DX and I was following an otherwise great tutorial here http://www.raywenderlich.com/11338/cocos2d-x-for-ios-and-android-space-game the only problem is when he discusses adding sound he neglects to mention the need to invoke SimpleAudioEngine::end() at some point before the application exits. I’ll add a comment to his tutorial for others who might be tripped up here

thanks again,
CCJ