New issue
 Projects > cocos2d-x > Issues > Bug #4394

socketio test crashes when closing tests (win32)

Bug #4394 [New]
intotherude 2014-03-16 11:52

When I test the socketio test, press the "connect" menu label, the test connects correctly. After that, when I go back to the main menu and exit the tests using the button in the top-right corner, I get the following crash:

Unhandled exception at 0x0F90A3BC (msvcr120d.dll) in cpp-tests.exe: 0xC0000005: Access violation reading location 0xFEEEFEF6.

When I break, Visual studio shows me the following code that triggers the error:
bool IsTicketValid()
return (m_ticketState & StateIsTicketValid) != 0;
in the file "rtlocks.cpp", which is not part of cocos2d.

I noticed this in my game, then I ran the test and saw that the error also happened.

Atom PDF

Start date:2014-03-16
Due date:
% Done:


Target version:-