Random crash on Blackberry

Random crash on Blackberry
0.0 0


I’m able to start the game and enter to menu page, but sometimes it will crash when I click “Start Game”

Here’s the error message:
Process 34836679 (TestCpp) terminated SIGSEGV code=1 fltno=11 ip=01bb054c(/usr/lib/ldqnx.so.2@__free+0x9c) mapaddr=0003054c. ref=00000068

It doesn’t happen all the time, and it seems like happen more frequently on BB Z10 model.
Does anyone know what’s wrong with this error? Is it because texture format/size/ problems?


Hi there,

I am having the same issue. It actually always happens when I am attempting to access the value of a key for a CCDictionary.

I step through the debugger and it appears to be a issue with memory allocation/deallocation for std::string within cocos2dx.

I have a couple questions as I am trying to narrow down the problem:

  1. are you compiling on Windows? Ubuntu?
  2. are you using the C++ GNU runtime? default runtime? (right click project > properties > c/c++ build > settings > tool settings > target > runtime)
  3. are you using any special compiler options such as -std=c++0x?