problem with activities and texture reloading.

I have severals problems when the code returns from another activity (i am currently working on a project using Gree Android API). After the Gree Activity is closed, the cocos code exploits randomly inside CCTextureCache::reloadAllTextures() when call some glXXX function (not always in the same line). In some cases everything works fine but background texture is broken. Currently, I working under cocos2dx 1.0 but I must remain in this version.

There any patch related to this problem?
I would be grateful if anyone can guide me on this issue.