[SOLVED] iOS/XCode Issue - EXC_BAD_ACCESS

Monkey Targets Forums/iOS/[SOLVED] iOS/XCode Issue - EXC_BAD_ACCESS

SHiLLSiT(Posted 2013) [#1]
Hello everyone! Hopefully someone can help me out with this issue I'm having.

My game compiles fine on both HMTL5 and Flash targets, however, when I go to build and test the game on my MacMini in XCode, I get a EXC_BAD_ACCESS error which points to the following method:

template<class T,class V> void gc_assign( T *&lhs,V *rhs ){

	gc_object *p=dynamic_cast<gc_object*>(rhs);

	if( p && (p->flags & 3)==gc_markbit ){
		p->flags^=1;
		GC_REMOVE_NODE( p );
		GC_INSERT_NODE( p,&gc_queued_list );
	}

	lhs=rhs; // error here
}


EDIT: Like to add that I just noticed that 70g is the newest version and I was using 63b. Not sure if this was a bug that has since been fixed?


SHiLLSiT(Posted 2013) [#2]
Ah never mind, I had an issue with a null object that I didnt catch in the HTML5 verion.