Monday, 15 August 2011

ios - EXC_BAD_ACCESS from CDSoundEngine _testGetGain all of a sudden? -



ios - EXC_BAD_ACCESS from CDSoundEngine _testGetGain all of a sudden? -

i @ total loss here.. have been running ocunit tests in simulator ios7 year long no problem. out of bluish few days ago, whenever run app or run tests, exc_bad_access line in cocosdenshion.m:

aluint testsourceid = _sources[0].sourceid;

what crazy tried checking out previous commits long ago ran in simulator fine, , crash on line now. can build app or run tests straight on ios device. have not upgraded anything, , tried cleaning , deleting derived info folder in ~/library/developer/xcode...

i can't understand why of sudden problem out of blue.

i see other people having same problem: http://forum.cocos2d-swift.org/t/exc-bad-access-cdsoundengine-ios7-simulator/11713/2

however, claiming it's ios7 simulator, said i've been using without problem year until now.

update:

the problem apparently coming _initopenal method.. when does:

context = alccreatecontext(newdevice, 0);

that returns nil.... why oh why nil no reason?

i encountered same problem. found because of installation software of splashtop streamer. splashtop streamer built open-source software soundflower.

in scheme preferences sound output soundflower. need alter internal speakers(built-in).

ios cocos2d-iphone

No comments:

Post a Comment