assert error

when I use CCDirector::sharedDirector()->popScene() to change scene,some times it crashed and say “assert error xxxx/ ccCArray.cpp function :ccArrayRemoveObjectAtIndex line:194”
but it’s not crash every time.
is there some thing wrong with my code?

cocos2dx version=v2.0.4


asserterror.png (26.4 KB)