Cocos2d-x SDK crash report

0 votes
cocos2d-x SDK crash report as below
 
cocos2d-x v3.5
 
Thread : Crashed: com.apple.main-thread
0  App iOS                   0x00042088 AppWarp::getJSONString(char const*, unsigned char*, int) (utilities.cpp:60)
1  App iOS                   0x00019817 cJSON_Delete (cJSON.c:90)
2  App iOS                   0x0004a45b AppWarp::buildRoomData(AppWarp::room_struct&, unsigned char*, int) (string:3191)
3  App iOS                   0x0004db79 AppWarp::Client::handleNotify(char*, int) (appwarp_extended.cpp:323)
4  App iOS                   0x0006f70d AppWarp::Client::socketNewMsgCallback(unsigned char*, int) (appwarp.cpp:510)
5  App iOS                   0x0002df63 AppWarp::Utility::Socket::checkMessages() (socket.cpp:101)
6  App iOS                   0x0006f2f3 AppWarp::Client::update(float) (appwarp.cpp:368)
7  App iOS                   0x001dd8a5 std::__1::function<void (float)>::operator()(float) const + 1503612
8  App iOS                   0x001dd05b cocos2d::Scheduler::update(float) + 1501490
9  App iOS                   0x001e4495 cocos2d::Director::drawScene() + 1531244
10 App iOS                   0x001e59d7 cocos2d::DisplayLinkDirector::mainLoop() + 1536686
11 QuartzCore                     0x2faaa803 CA::Display::DisplayLinkItem::dispatch() + 98
12 QuartzCore                     0x2faaa66b CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 366
13 IOMobileFramebuffer            0x3439282b IOMobileFramebufferVsyncNotifyFunc + 90
14 IOKit                          0x2da9c4e1 IODispatchCalloutFromCFMessage + 256
15 CoreFoundation                 0x2cb2c0a5 __CFMachPortPerform + 132
16 CoreFoundation                 0x2cb3c573 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 34
17 CoreFoundation                 0x2cb3c50f __CFRunLoopDoSource1 + 346
18 CoreFoundation                 0x2cb3ab11 __CFRunLoopRun + 1608
19 CoreFoundation                 0x2ca883c1 CFRunLoopRunSpecific + 476
20 CoreFoundation                 0x2ca881d3 CFRunLoopRunInMode + 106
21 GraphicsServices               0x33e860a9 GSEventRunModal + 136
22 UIKit                          0x300967b1 UIApplicationMain + 1440
23 App iOS                   0x0006832b main (main.m:6)
24 libdyld.dylib                  0x3a8b0aaf start + 2
closed with the note: We are closing this ticket as there was no conversation from last two weeks. If you still face any issue, then please raise a new question. It will help us to provide better support from our side.
asked Sep 1, 2015 in Cocos2D-X by joappdev (20 points)
closed Mar 24, 2016 by shepAdmin
Hi,
I have put some logs in the SDK which can be downloaded from here(https://www.dropbox.com/s/0tjud53b0c4dfz0/AppWarpX_3.0.zip?dl=0). Can you please download this SDK and try? Please share complete logs from your Xcode console whenever this issue comes. It will really help to debug the problem.
Thanks a lot for your quick move...

But it's kind of hard to reproduce.
It happened when network is not stable and trying to reconnect / rejoin.
We received the crash from online reporting system,
so we may have no time to use Xcode to wait it happens. Sorry about that.

Hope the info is helpful.
Can you let me know the room related APIs, you are using? It will help to narrow down the possible causes.
setCustomUserData
getLiveUserInfo
joinRoom
subscribeRoom
getLiveRoomInfo
updateRoomProperties
sendChat
sendPrivateChat

Thanks
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...