cocos2d iphone - Xcode: sigABRT in alcMakeContextCurrent -
i fiddling around trying game center leaderboards work. after becoming frustrated, removed code added. however, stuck error, though deleted it! feels ruined finished game.
specifically, here when error occurred: 1) using cocos2d. 2) copy , pasted gkauthentication project, imported .h first cocos2d scene. 3) got sigabrt error, , decided remove import. however, error persisted. 4) removed gkauthentication files project completely. however, error still persists.
+ (bool) makecontextcurrent:(alccontext*) context devicereference:(alcdevice*) devicereference { @synchronized(self) { if(!alcmakecontextcurrent(context)) //sigabrt occurs here { if(nil != devicereference) { check_alc_call(devicereference); } else { oal_log_error(@"could not make context %p current. pass in device reference better diagnostic info.", context); } return no; } } return yes; }
strange thing: simulator causes error, on phone works great.
it apparently has audio (?!). have no idea gkauthentication has this. seems sudden error. here error message console:
cocos2d: gl supports discard_framebuffer: yes cocos2d: gl supports shareable vao: no audiostreambasicdescription: 2 ch, 44100 hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved 2014-03-10 15:04:43.058 gaui[40423:907] <com.apple.main-thread> start: mach message timeout. apparently deadlocked. aborting now. (lldb)
i had same issue mac book pro , mac mini, rebooting computer solves problem.
Comments
Post a Comment