EXC_BAD_ACCESS on ccArrayEnsureExtraCapacity


#1

Hello!
I have a some problem with loading particle from .ccbi file.
Here my code:
extension::CCBReader
reader;
CCNode* node2= reader->readNodeGraphFromFile(“images/particle1.ccbi”);

But this code followed to error EXC_BAD_ACCESS on file ccCArray.cpp on method ccArrayEnsureExtraCapacity(ccArray *arr, unsigned int extra) in line

while (arr~~>max < arr~~>num + extra);

Can you help me with this error?

P.S. i’m using Xcode