CocoStudioV1.2.0 + Cocos2d-x V2.2.2内存泄漏

CocoStudioV1.2.0 + Cocos2d-x V2.2.2

用CocoStudioV1.2.0 做一个最简单的UI,UI上放一张图片, 点击该图片时设置为退出程序。 退出程序时VLD报内存泄漏。

程序如下:
AppDelegate.cpp:
#include “AppDelegate.h”
#include “StartUpScene.h”

USING_NS_CC;

AppDelegate::AppDelegate() {

}

AppDelegate::~AppDelegate()
{
}

bool AppDelegate::applicationDidFinishLaunching() {
// initialize director
CCDirector* pDirector = CCDirector::sharedDirector();
CCEGLView* pEGLView = CCEGLView::sharedOpenGLView();

pDirector->setOpenGLView(pEGLView);
 pEGLView->setDesignResolutionSize( 1920, 1080, kResolutionNoBorder );    
// turn on display FPS
pDirector->setDisplayStats(true);

// set FPS. the default value is 1.0/60 if you don't call this
pDirector->setAnimationInterval(1.0 / 60);

// create a scene. it's an autorelease object

// CCScene *pScene = HelloWorld::scene();
StartUpScene *pScene = new StartUpScene();
pScene->autorelease();
// run
pDirector->runWithScene(pScene);

return true;

}

// This function will be called when the app is inactive. When comes a phone call,it’s be invoked too
void AppDelegate::applicationDidEnterBackground() {
CCDirector::sharedDirector()->stopAnimation();

// if you use SimpleAudioEngine, it must be pause
// SimpleAudioEngine::sharedEngine()->pauseBackgroundMusic();

}

// this function will be called when the app is active again
void AppDelegate::applicationWillEnterForeground() {
CCDirector::sharedDirector()->startAnimation();

// if you use SimpleAudioEngine, it must resume here
// SimpleAudioEngine::sharedEngine()->resumeBackgroundMusic();

}

StartUpScene.h:
#ifndef TestCpp__StartUpScene
#define TestCpp__StartUpScene

#include “cocos2d.h”
#include “cocos-ext.h”
//#include “…/…/testBasic.h”

USING_NS_CC;
USING_NS_CC_EXT;
using namespace cocos2d::gui;

class StartUpScene : public CCScene
{
public:
StartUpScene(bool bPortrait = false);
~StartUpScene();

virtual void onEnter();
virtual void onExit();


void imageLogoCallback(CCObject* pSender, TouchEventType type);

protected:
gui::TouchGroup * m_pUILayer;
};

#endif /* defined(TestCpp__StartUpScene) */

StartUpScene.cpp:

#include “StartUpScene.h”

StartUpScene::StartUpScene(bool bPortrait)
: m_pUILayer(NULL)
{
CCScene::init();
}

StartUpScene::~StartUpScene()
{

}

void StartUpScene::onEnter()
{
CCScene::onEnter();

m_pUILayer = gui::TouchGroup::create();
m_pUILayer->scheduleUpdate();
addChild(m_pUILayer);

// register root from json
gui::Widget * pWidget = dynamic_cast<gui::Widget*>(GUIReader::shareReader()->widgetFromJsonFile("testscene/testscene.ExportJson"));
m_pUILayer->addWidget(pWidget);

  ImageView * pImageView = static_cast< ImageView *>( m_pUILayer->getWidgetByName( "ImageViewLogo" ) );
pImageView->addTouchEventListener(this, toucheventselector(StartUpScene::imageLogoCallback));

}

void StartUpScene::onExit()
{
removeAllChildren();
// m_pUILayer->removeFromParent();

CCArmatureDataManager::purge();

// SceneReader::sharedSceneReader()->purgeSceneReader();
SceneReader::purge();
// GUIReader::purgeGUIReader();
GUIReader::purge();
// cocos2d::extension::ActionManager::shareManager()->purgeActionManager();
ActionManager::purge();
CCScene::onExit();
}

void StartUpScene::imageLogoCallback(CCObject* pSender, TouchEventType type)
{
if (type == TOUCH_EVENT_ENDED)
{
CCDirector::sharedDirector()->end();
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
exit(0);
#endif
}
}

程序退出时VLD日志:
Visual Leak Detector Version 2.3 installed.
‘test.exe’ (Win32): Loaded ‘C:\Windows\SysWOW64\uxtheme.dll’. Cannot find or open the PDB file.
‘test.exe’ (Win32): Loaded ‘C:\Windows\SysWOW64\dwmapi.dll’. Cannot find or open the PDB file.
‘test.exe’ (Win32): Loaded ‘C:\Windows\SysWOW64\ig4icd32.dll’. Cannot find or open the PDB file.
‘test.exe’ (Win32): Loaded ‘C:\Windows\SysWOW64\version.dll’. Cannot find or open the PDB file.
‘test.exe’ (Win32): Unloaded ‘C:\Windows\SysWOW64\version.dll’
OpenGL version = 3.1.0 - Build 9.17.10.2932
Ready for GLSL
Ready for OpenGL 2.0
‘test.exe’ (Win32): Loaded ‘C:\Windows\SysWOW64\ole32.dll’. Cannot find or open the PDB file.
‘test.exe’ (Win32): Loaded ‘C:\Windows\SysWOW64\kernel.appcore.dll’. Cannot find or open the PDB file.
‘test.exe’ (Win32): Loaded ‘C:\Windows\SysWOW64\SHCore.dll’. Cannot find or open the PDB file.

cocos2d.x.version: 2.2.2 cocos2d.x.compiled_with_profiler: false cocos2d.x.compiled_with_gl_state_cache: true gl.vendor: Intel gl.renderer: Intel(R) HD Graphics 3000 gl.version: 3.1.0 - Build 9.17.10.2932 gl.max_texture_size: 8192 gl.max_texture_units: 16 gl.supports_PVRTC: false gl.supports_NPOT: true gl.supports_BGRA8888: false gl.supports_discard_framebuffer: false gl.supports_vertex_array_object: true iversion 1200 file name == filename == testscene.ExportJson cocos2d: deallocing CCDirector 0488D840 WARNING: Visual Leak Detector detected memory leaks! ---------- Block 6 at 0x0130A378: 8 bytes ---------- Call Stack: c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (824): test.exe!std::_Tree_alloc<0,std::_Tree_base_types<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator< + 0xA bytes c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (799): test.exe!std::_Tree_alloc<0,std::_Tree_base_types<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator< + 0x8 bytes c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (894): test.exe!std::_Tree_buy<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::ex c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1008): test.exe!std::_Tree_comp<0,std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1072): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic c:\program files (x86)\microsoft visual studio 11.0\vc\include\map (93): test.exe!std::map<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic_string<char,std::ch c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (67): test.exe!cocos2d::extension::ObjectFactory::ObjectFactory c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (78): test.exe!cocos2d::extension::ObjectFactory::getInstance + 0x2B bytes c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (39): test.exe!cocos2d::extension::ObjectFactory::TInfo::TInfo + 0x9 bytes c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\components\cccomattribute.cpp (30): test.exe!`dynamic initializer for 'cocos2d::extension::CCComAttribute::Type'' + 0x6D bytes f:\dd\vctools\crt_bld\self_x86\crt\src\crt0dat.c (894): MSVCR110D.dll!_initterm f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (460): test.exe!__tmainCRTStartup + 0xF bytes f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (377): test.exe!wWinMainCRTStartup 0x7799495D (File and line number not available): KERNEL32.DLL!BaseThreadInitThunk + 0xE bytes 0x77E498EE (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x84 bytes 0x77E498C4 (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x5A bytes Data: 8C 7D 31 01 00 00 00 00 .}1..... ........

---------- Block 4 at 0x01317D88: 16 bytes ----------
Call Stack:
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (78): test.exe!cocos2d::extension::ObjectFactory::getInstance + 0x7 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (39): test.exe!cocos2d::extension::ObjectFactory::TInfo::TInfo + 0x9 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\components\cccomattribute.cpp (30): test.exe!`dynamic initializer for ‘cocos2d::extension::CCComAttribute::Type’’ + 0x6D bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crt0dat.c (894): MSVCR110D.dll!_initterm
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (460): test.exe!__tmainCRTStartup + 0xF bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (377): test.exe!wWinMainCRTStartup
0x7799495D (File and line number not available): KERNEL32.DLL!BaseThreadInitThunk + 0xE bytes
0x77E498EE (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x84 bytes
0x77E498C4 (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x5A bytes
Data:
98 F7 8F 00 78 A3 30 01 D8 7D 31 01 04 00 00 00 …x.0. .}1…

---------- Block 5 at 0x01317DD8: 76 bytes ----------
Call Stack:
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (842): test.exe!std::_Tree_alloc<0,std::_Tree_base_types<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator< + 0x18 bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (797): test.exe!std::_Tree_alloc<0,std::_Tree_base_types<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator< + 0x8 bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (894): test.exe!std::_Tree_buy<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::ex
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1008): test.exe!std::_Tree_comp<0,std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1072): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic
c:\program files (x86)\microsoft visual studio 11.0\vc\include\map (93): test.exe!std::map<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic_string<char,std::ch
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (67): test.exe!cocos2d::extension::ObjectFactory::ObjectFactory
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (78): test.exe!cocos2d::extension::ObjectFactory::getInstance + 0x2B bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (39): test.exe!cocos2d::extension::ObjectFactory::TInfo::TInfo + 0x9 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\components\cccomattribute.cpp (30): test.exe!`dynamic initializer for ‘cocos2d::extension::CCComAttribute::Type’’ + 0x6D bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crt0dat.c (894): MSVCR110D.dll!_initterm
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (460): test.exe!__tmainCRTStartup + 0xF bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (377): test.exe!wWinMainCRTStartup
0x7799495D (File and line number not available): KERNEL32.DLL!BaseThreadInitThunk + 0xE bytes
0x77E498EE (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x84 bytes
0x77E498C4 (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x5A bytes
Data:
F0 7E 31 01 50 80 31 01 10 83 31 01 01 01 CD CD .~1.P.1. …1…
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD … …
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD … …
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD … …
CD CD CD CD CD CD CD CD CD CD CD CD … …

---------- Block 9 at 0x01317EF0: 76 bytes ----------
Call Stack:
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (898): test.exe!std::_Tree_buy<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::ex + 0x18 bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (945): test.exe!std::_Tree_buy<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::ex + 0x4E bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1648): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1845): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x1A bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1812): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x3A bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1137): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x28 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (142): test.exe!cocos2d::extension::ObjectFactory::registerType + 0x45 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (40): test.exe!cocos2d::extension::ObjectFactory::TInfo::TInfo
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\components\cccomattribute.cpp (30): test.exe!`dynamic initializer for ‘cocos2d::extension::CCComAttribute::Type’’ + 0x6D bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crt0dat.c (894): MSVCR110D.dll!_initterm
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (460): test.exe!__tmainCRTStartup + 0xF bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (377): test.exe!wWinMainCRTStartup
0x7799495D (File and line number not available): KERNEL32.DLL!BaseThreadInitThunk + 0xE bytes
0x77E498EE (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x84 bytes
0x77E498C4 (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x5A bytes
Data:
D8 7D 31 01 50 80 31 01 D8 7D 31 01 01 00 CD CD .}1.P.1. .}1…
78 7F 31 01 43 43 43 6F 6D 41 74 74 72 69 62 75 x.1.CCCo mAttribu
74 65 00 CD 0E 00 00 00 0F 00 00 00 C0 7F 31 01 te… …1.
43 43 43 6F 6D 41 74 74 72 69 62 75 74 65 00 CD CCComAtt ribute…
0E 00 00 00 0F 00 00 00 A0 11 87 00 … …

---------- Block 10 at 0x01317F78: 8 bytes ----------
Call Stack:
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (671): test.exe!std::_String_alloc<0,std::_String_base_types<char,std::allocator > >::_Alloc_proxy + 0xA bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (651): test.exe!std::_String_alloc<0,std::_String_base_types<char,std::allocator > >::_String_alloc<0,std::_String_base_types<char,std::allocator > >
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (733): test.exe!std::basic_string<char,std::char_traits,std::allocator >::basic_string<char,std::char_traits,std::allocator > + 0x68 bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\utility (182): test.exe!std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo><std + 0x57 bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (945): test.exe!std::_Tree_buy<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::ex + 0xD1 bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1648): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1845): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x1A bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1812): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x3A bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1137): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x28 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (142): test.exe!cocos2d::extension::ObjectFactory::registerType + 0x45 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (40): test.exe!cocos2d::extension::ObjectFactory::TInfo::TInfo
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\components\cccomattribute.cpp (30): test.exe!`dynamic initializer for ‘cocos2d::extension::CCComAttribute::Type’’ + 0x6D bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crt0dat.c (894): MSVCR110D.dll!_initterm
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (460): test.exe!__tmainCRTStartup + 0xF bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (377): test.exe!wWinMainCRTStartup
0x7799495D (File and line number not available): KERNEL32.DLL!BaseThreadInitThunk + 0xE bytes
0x77E498EE (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x84 bytes
0x77E498C4 (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x5A bytes
Data:
00 7F 31 01 00 00 00 00 …1… …

---------- Block 11 at 0x01317FC0: 8 bytes ----------
Call Stack:
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (671): test.exe!std::_String_alloc<0,std::_String_base_types<char,std::allocator > >::_Alloc_proxy + 0xA bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (651): test.exe!std::_String_alloc<0,std::_String_base_types<char,std::allocator > >::_String_alloc<0,std::_String_base_types<char,std::allocator > >
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (749): test.exe!std::basic_string<char,std::char_traits,std::allocator >::basic_string<char,std::char_traits,std::allocator > + 0x56 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (43): test.exe!cocos2d::extension::ObjectFactory::TInfo::TInfo + 0x4A bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\utility (183): test.exe!std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo><std
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (945): test.exe!std::_Tree_buy<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::ex + 0xD1 bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1648): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1845): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x1A bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1812): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x3A bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1137): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x28 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (142): test.exe!cocos2d::extension::ObjectFactory::registerType + 0x45 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (40): test.exe!cocos2d::extension::ObjectFactory::TInfo::TInfo
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\components\cccomattribute.cpp (30): test.exe!`dynamic initializer for ‘cocos2d::extension::CCComAttribute::Type’’ + 0x6D bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crt0dat.c (894): MSVCR110D.dll!_initterm
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (460): test.exe!__tmainCRTStartup + 0xF bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (377): test.exe!wWinMainCRTStartup
0x7799495D (File and line number not available): KERNEL32.DLL!BaseThreadInitThunk + 0xE bytes
0x77E498EE (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x84 bytes
0x77E498C4 (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x5A bytes
Data:
1C 7F 31 01 00 00 00 00 …1… …

---------- Block 16 at 0x01318050: 76 bytes ----------
Call Stack:
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (898): test.exe!std::_Tree_buy<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::ex + 0x18 bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (945): test.exe!std::_Tree_buy<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::ex + 0x4E bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1648): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1845): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x1A bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1820): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x3D bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1137): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x28 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (142): test.exe!cocos2d::extension::ObjectFactory::registerType + 0x45 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (40): test.exe!cocos2d::extension::ObjectFactory::TInfo::TInfo
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\components\cccomaudio.cpp (31): test.exe!`dynamic initializer for ‘cocos2d::extension::CCComAudio::Type’’ + 0x6D bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crt0dat.c (894): MSVCR110D.dll!_initterm
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (460): test.exe!__tmainCRTStartup + 0xF bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (377): test.exe!wWinMainCRTStartup
0x7799495D (File and line number not available): KERNEL32.DLL!BaseThreadInitThunk + 0xE bytes
0x77E498EE (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x84 bytes
0x77E498C4 (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x5A bytes
Data:
F0 7E 31 01 D8 7D 31 01 B0 81 31 01 01 00 CD CD .~1…}1. …1…
D8 80 31 01 43 43 43 6F 6D 41 75 64 69 6F 00 CD …1.CCCo mAudio…
CD CD CD CD 0A 00 00 00 0F 00 00 00 20 81 31 01 … …1.
43 43 43 6F 6D 41 75 64 69 6F 00 CD CD CD CD CD CCComAud io…
0A 00 00 00 0F 00 00 00 E0 21 87 00 … .!..

---------- Block 17 at 0x013180D8: 8 bytes ----------
Call Stack:
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (671): test.exe!std::_String_alloc<0,std::_String_base_types<char,std::allocator > >::_Alloc_proxy + 0xA bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (651): test.exe!std::_String_alloc<0,std::_String_base_types<char,std::allocator > >::_String_alloc<0,std::_String_base_types<char,std::allocator > >
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (733): test.exe!std::basic_string<char,std::char_traits,std::allocator >::basic_string<char,std::char_traits,std::allocator > + 0x68 bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\utility (182): test.exe!std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo><std + 0x57 bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (945): test.exe!std::_Tree_buy<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::ex + 0xD1 bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1648): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1845): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x1A bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1820): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x3D bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1137): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x28 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (142): test.exe!cocos2d::extension::ObjectFactory::registerType + 0x45 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (40): test.exe!cocos2d::extension::ObjectFactory::TInfo::TInfo
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\components\cccomaudio.cpp (31): test.exe!dynamic initializer for 'cocos2d::extension::CCComAudio::Type'' + 0x6D bytes f:\dd\vctools\crt_bld\self_x86\crt\src\crt0dat.c (894): MSVCR110D.dll!_initterm f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (460): test.exe!__tmainCRTStartup + 0xF bytes f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (377): test.exe!wWinMainCRTStartup 0x7799495D (File and line number not available): KERNEL32.DLL!BaseThreadInitThunk + 0xE bytes 0x77E498EE (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x84 bytes 0x77E498C4 (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x5A bytes Data: 60 80 31 01 00 00 00 00 .1… …

---------- Block 18 at 0x01318120: 8 bytes ----------
Call Stack:
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (671): test.exe!std::_String_alloc<0,std::_String_base_types<char,std::allocator > >::_Alloc_proxy + 0xA bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (651): test.exe!std::_String_alloc<0,std::_String_base_types<char,std::allocator > >::_String_alloc<0,std::_String_base_types<char,std::allocator > >
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (749): test.exe!std::basic_string<char,std::char_traits,std::allocator >::basic_string<char,std::char_traits,std::allocator > + 0x56 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (43): test.exe!cocos2d::extension::ObjectFactory::TInfo::TInfo + 0x4A bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\utility (183): test.exe!std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo><std
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (945): test.exe!std::_Tree_buy<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::ex + 0xD1 bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1648): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1845): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x1A bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1820): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x3D bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1137): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x28 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (142): test.exe!cocos2d::extension::ObjectFactory::registerType + 0x45 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (40): test.exe!cocos2d::extension::ObjectFactory::TInfo::TInfo
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\components\cccomaudio.cpp (31): test.exe!`dynamic initializer for ‘cocos2d::extension::CCComAudio::Type’’ + 0x6D bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crt0dat.c (894): MSVCR110D.dll!_initterm
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (460): test.exe!__tmainCRTStartup + 0xF bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (377): test.exe!wWinMainCRTStartup
0x7799495D (File and line number not available): KERNEL32.DLL!BaseThreadInitThunk + 0xE bytes
0x77E498EE (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x84 bytes
0x77E498C4 (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x5A bytes
Data:
7C 80 31 01 00 00 00 00 |.1… …

---------- Block 23 at 0x013181B0: 76 bytes ----------
Call Stack:
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (898): test.exe!std::_Tree_buy<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::ex + 0x18 bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (945): test.exe!std::_Tree_buy<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::ex + 0x4E bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1648): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1845): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x1A bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1820): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x3D bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1137): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x28 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (142): test.exe!cocos2d::extension::ObjectFactory::registerType + 0x45 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (40): test.exe!cocos2d::extension::ObjectFactory::TInfo::TInfo
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\components\cccomcontroller.cpp (29): test.exe!`dynamic initializer for ‘cocos2d::extension::CCComController::Type’’ + 0x6D bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crt0dat.c (894): MSVCR110D.dll!_initterm
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (460): test.exe!__tmainCRTStartup + 0xF bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (377): test.exe!wWinMainCRTStartup
0x7799495D (File and line number not available): KERNEL32.DLL!BaseThreadInitThunk + 0xE bytes
0x77E498EE (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x84 bytes
0x77E498C4 (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x5A bytes
Data:
D8 7D 31 01 50 80 31 01 10 83 31 01 01 00 CD CD .}1.P.1. …1…
38 82 31 01 43 43 43 6F 6D 43 6F 6E 74 72 6F 6C 8.1.CCCo mControl
6C 65 72 00 0F 00 00 00 0F 00 00 00 80 82 31 01 ler… …1.
43 43 43 6F 6D 43 6F 6E 74 72 6F 6C 6C 65 72 00 CCComCon troller.
0F 00 00 00 0F 00 00 00 70 35 87 00 … p5…

---------- Block 24 at 0x01318238: 8 bytes ----------
Call Stack:
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (671): test.exe!std::_String_alloc<0,std::_String_base_types<char,std::allocator > >::_Alloc_proxy + 0xA bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (651): test.exe!std::_String_alloc<0,std::_String_base_types<char,std::allocator > >::_String_alloc<0,std::_String_base_types<char,std::allocator > >
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (733): test.exe!std::basic_string<char,std::char_traits,std::allocator >::basic_string<char,std::char_traits,std::allocator > + 0x68 bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\utility (182): test.exe!std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo><std + 0x57 bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (945): test.exe!std::_Tree_buy<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::ex + 0xD1 bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1648): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1845): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x1A bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1820): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x3D bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1137): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x28 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (142): test.exe!cocos2d::extension::ObjectFactory::registerType + 0x45 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (40): test.exe!cocos2d::extension::ObjectFactory::TInfo::TInfo
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\components\cccomcontroller.cpp (29): test.exe!`dynamic initializer for ‘cocos2d::extension::CCComController::Type’’ + 0x6D bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crt0dat.c (894): MSVCR110D.dll!_initterm
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (460): test.exe!__tmainCRTStartup + 0xF bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (377): test.exe!wWinMainCRTStartup
0x7799495D (File and line number not available): KERNEL32.DLL!BaseThreadInitThunk + 0xE bytes
0x77E498EE (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x84 bytes
0x77E498C4 (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x5A bytes
Data:
C0 81 31 01 00 00 00 00 …1… …

---------- Block 25 at 0x01318280: 8 bytes ----------
Call Stack:
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (671): test.exe!std::_String_alloc<0,std::_String_base_types<char,std::allocator > >::_Alloc_proxy + 0xA bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (651): test.exe!std::_String_alloc<0,std::_String_base_types<char,std::allocator > >::_String_alloc<0,std::_String_base_types<char,std::allocator > >
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (749): test.exe!std::basic_string<char,std::char_traits,std::allocator >::basic_string<char,std::char_traits,std::allocator > + 0x56 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (43): test.exe!cocos2d::extension::ObjectFactory::TInfo::TInfo + 0x4A bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\utility (183): test.exe!std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo><std
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (945): test.exe!std::_Tree_buy<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::ex + 0xD1 bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1648): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1845): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x1A bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1820): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x3D bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1137): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x28 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (142): test.exe!cocos2d::extension::ObjectFactory::registerType + 0x45 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (40): test.exe!cocos2d::extension::ObjectFactory::TInfo::TInfo
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\components\cccomcontroller.cpp (29): test.exe!`dynamic initializer for ‘cocos2d::extension::CCComController::Type’’ + 0x6D bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crt0dat.c (894): MSVCR110D.dll!_initterm
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (460): test.exe!__tmainCRTStartup + 0xF bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (377): test.exe!wWinMainCRTStartup
0x7799495D (File and line number not available): KERNEL32.DLL!BaseThreadInitThunk + 0xE bytes
0x77E498EE (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x84 bytes
0x77E498C4 (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x5A bytes
Data:
DC 81 31 01 00 00 00 00 …1… …

---------- Block 30 at 0x01318310: 76 bytes ----------
Call Stack:
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (898): test.exe!std::_Tree_buy<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::ex + 0x18 bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (945): test.exe!std::_Tree_buy<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::ex + 0x4E bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1648): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1845): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x1A bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1820): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x3D bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1137): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x28 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (142): test.exe!cocos2d::extension::ObjectFactory::registerType + 0x45 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (40): test.exe!cocos2d::extension::ObjectFactory::TInfo::TInfo
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\components\cccomrender.cpp (30): test.exe!`dynamic initializer for ‘cocos2d::extension::CCComRender::Type’’ + 0x6D bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crt0dat.c (894): MSVCR110D.dll!_initterm
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (460): test.exe!__tmainCRTStartup + 0xF bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (377): test.exe!wWinMainCRTStartup
0x7799495D (File and line number not available): KERNEL32.DLL!BaseThreadInitThunk + 0xE bytes
0x77E498EE (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x84 bytes
0x77E498C4 (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x5A bytes
Data:
D8 7D 31 01 B0 81 31 01 D8 7D 31 01 00 00 CD CD .}1…1. .}1…
98 83 31 01 43 43 43 6F 6D 52 65 6E 64 65 72 00 …1.CCCo mRender.
CD CD CD CD 0B 00 00 00 0F 00 00 00 E0 83 31 01 … …1.
43 43 43 6F 6D 52 65 6E 64 65 72 00 CD CD CD CD CCComRen der…
0B 00 00 00 0F 00 00 00 B0 3B 87 00 … .;…

---------- Block 31 at 0x01318398: 8 bytes ----------
Call Stack:
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (671): test.exe!std::_String_alloc<0,std::_String_base_types<char,std::allocator > >::_Alloc_proxy + 0xA bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (651): test.exe!std::_String_alloc<0,std::_String_base_types<char,std::allocator > >::_String_alloc<0,std::_String_base_types<char,std::allocator > >
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (733): test.exe!std::basic_string<char,std::char_traits,std::allocator >::basic_string<char,std::char_traits,std::allocator > + 0x68 bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\utility (182): test.exe!std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo><std + 0x57 bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (945): test.exe!std::_Tree_buy<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::ex + 0xD1 bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1648): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1845): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x1A bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1820): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x3D bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1137): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x28 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (142): test.exe!cocos2d::extension::ObjectFactory::registerType + 0x45 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (40): test.exe!cocos2d::extension::ObjectFactory::TInfo::TInfo
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\components\cccomrender.cpp (30): test.exe!`dynamic initializer for ‘cocos2d::extension::CCComRender::Type’’ + 0x6D bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crt0dat.c (894): MSVCR110D.dll!_initterm
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (460): test.exe!__tmainCRTStartup + 0xF bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (377): test.exe!wWinMainCRTStartup
0x7799495D (File and line number not available): KERNEL32.DLL!BaseThreadInitThunk + 0xE bytes
0x77E498EE (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x84 bytes
0x77E498C4 (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x5A bytes
Data:
20 83 31 01 00 00 00 00 …1… …

---------- Block 32 at 0x013183E0: 8 bytes ----------
Call Stack:
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (671): test.exe!std::_String_alloc<0,std::_String_base_types<char,std::allocator > >::_Alloc_proxy + 0xA bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (651): test.exe!std::_String_alloc<0,std::_String_base_types<char,std::allocator > >::_String_alloc<0,std::_String_base_types<char,std::allocator > >
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstring (749): test.exe!std::basic_string<char,std::char_traits,std::allocator >::basic_string<char,std::char_traits,std::allocator > + 0x56 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (43): test.exe!cocos2d::extension::ObjectFactory::TInfo::TInfo + 0x4A bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\utility (183): test.exe!std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo><std
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (945): test.exe!std::_Tree_buy<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::extension::ObjectFactory::TInfo>,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,cocos2d::ex + 0xD1 bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1648): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1845): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x1A bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1820): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x3D bytes
c:\program files (x86)\microsoft visual studio 11.0\vc\include\xtree (1137): test.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,cocos2d::extension::ObjectFactory::TInfo,std::less<std::basic_string<char,std::char_traits,std::allocator > >,std::allocator<std::pair<std::basic + 0x28 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (142): test.exe!cocos2d::extension::ObjectFactory::registerType + 0x45 bytes
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\trigger\objectfactory.cpp (40): test.exe!cocos2d::extension::ObjectFactory::TInfo::TInfo
c:\users\dick\documents\projects\cocos2d-x-2.2.2\extensions\cocostudio\components\cccomrender.cpp (30): test.exe!`dynamic initializer for ‘cocos2d::extension::CCComRender::Type’’ + 0x6D bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crt0dat.c (894): MSVCR110D.dll!_initterm
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (460): test.exe!__tmainCRTStartup + 0xF bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (377): test.exe!wWinMainCRTStartup
0x7799495D (File and line number not available): KERNEL32.DLL!BaseThreadInitThunk + 0xE bytes
0x77E498EE (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x84 bytes
0x77E498C4 (File and line number not available): ntdll.dll!RtlInitializeExceptionChain + 0x5A bytes
Data:
3C 83 31 01 00 00 00 00 <.1… …

Visual Leak Detector detected 15 memory leaks (1008 bytes).
Largest number used: 137462 bytes.
Total allocations: 144517 bytes.
Visual Leak Detector is now exiting.
The program ’ test.exe’ has exited with code 0 (0x0).

尊敬的dz130 你好:
我仔细的查看了一下vld的信息,vld打印显示了TInfo这个类的泄漏,Tinfo是记录组件,条件以及动作类信息,用于反射创建组件,条件以及动作,这些Tinfo需要保存在ObjectFactory里面,ObjectFactory需要在游戏退出的时候释放,所以请在你的onExit里面添加:cocos2d::extension::ObjectFactory::getInstance()->destroyInstance(); ,感谢您的使用与关注,如果有什么问题可以联系我,我的QQ 553489226 开水。

感谢开水的回复,

在AppDelegate::~AppDelegate中调用destroyInstance后VLD不报内存泄漏了。

:14: 顶贴啊