{"action":"created","issue":{"url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/16414","repository_url":"https://api.github.com/repos/cocos2d/cocos2d-x","labels_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/16414/labels{/name}","comments_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/16414/comments","events_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/16414/events","html_url":"https://github.com/cocos2d/cocos2d-x/issues/16414","id":172427429,"number":16414,"title":"Random Crash At Launch - cocos2d::RenderState::StateBlock::setBlend(bool) ","user":{"login":"ermanhaskan","id":11976403,"avatar_url":"https://avatars.githubusercontent.com/u/11976403?v=3","gravatar_id":"","url":"https://api.github.com/users/ermanhaskan","html_url":"https://github.com/ermanhaskan","followers_url":"https://api.github.com/users/ermanhaskan/followers","following_url":"https://api.github.com/users/ermanhaskan/following{/other_user}","gists_url":"https://api.github.com/users/ermanhaskan/gists{/gist_id}","starred_url":"https://api.github.com/users/ermanhaskan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ermanhaskan/subscriptions","organizations_url":"https://api.github.com/users/ermanhaskan/orgs","repos_url":"https://api.github.com/users/ermanhaskan/repos","events_url":"https://api.github.com/users/ermanhaskan/events{/privacy}","received_events_url":"https://api.github.com/users/ermanhaskan/received_events","type":"User","site_admin":false},"labels":[{"id":231439668,"url":"https://api.github.com/repos/cocos2d/cocos2d-x/labels/platform:android","name":"platform:android","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-08-22T11:16:18Z","updated_at":"2016-12-19T07:59:15Z","closed_at":null,"body":"Hello\n\nWe are getting this very rare crash at launch across many android devices and all android versions. This error has been occurring in all cocos2d-x versions v3.x including the latest one.  We tried everything to solve the crash but failed. We can cause the crash by rapidly closing and launching the app, crash occurs randomly.\n## \n\nsignal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000010\n#00  pc 00ae0c2c  ***/lib/libcocos2dcpp.so (cocos2d::RenderState::StateBlock::setBlend(bool))\n#01  pc 00aee5dc  ***/lib/libcocos2dcpp.so\n#02  pc 00a9e6d0  ***/lib/libcocos2dcpp.so (cocos2d::Director::setGLDefaultValues()+24)\n#03  pc 00a9f824  **_/lib/libcocos2dcpp.so (cocos2d::Director::setOpenGLView(cocos2d::GLView_)+112)\n#04  pc 009ef22b  ***/lib/libcocos2dcpp.so (Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit+230)\n## \n#00 -> /renderer/CCRenderState.cpp:732 -> _blendEnabled = enabled;\n#01 -> /renderer/ccGLStateCache.cpp:120 -> RenderState::StateBlock::_defaultState->setBlend(true);\n#02 -> /base/CCDirector.cpp:682\n#04 -> /base/CCDirector.cpp:404\n## \n\nVersion:  cocos2d-x-3.12\n\nThe crash is caused by RenderState::StateBlock::_defaultState being nullptr. Other crashes happen if a control for nullptr is added for the crash line. \n\nDo you have any ideas about this problem?\n\nThanks\n"},"comment":{"url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/comments/267903316","html_url":"https://github.com/cocos2d/cocos2d-x/issues/16414#issuecomment-267903316","issue_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/16414","id":267903316,"user":{"login":"nbtthief","id":7168067,"avatar_url":"https://avatars.githubusercontent.com/u/7168067?v=3","gravatar_id":"","url":"https://api.github.com/users/nbtthief","html_url":"https://github.com/nbtthief","followers_url":"https://api.github.com/users/nbtthief/followers","following_url":"https://api.github.com/users/nbtthief/following{/other_user}","gists_url":"https://api.github.com/users/nbtthief/gists{/gist_id}","starred_url":"https://api.github.com/users/nbtthief/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbtthief/subscriptions","organizations_url":"https://api.github.com/users/nbtthief/orgs","repos_url":"https://api.github.com/users/nbtthief/repos","events_url":"https://api.github.com/users/nbtthief/events{/privacy}","received_events_url":"https://api.github.com/users/nbtthief/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T07:59:15Z","updated_at":"2016-12-19T07:59:15Z","body":"@dhuang11  @ermanhaskan hi there, did you solve this bug?? it look like i'm encoutering the same bug as you two"}}
{"actor":{"display_login":"nbtthief"}}