(iphone) weird EXC_BAD_ACCESS , at A::A() in backtrace but code points to B::B()
In Xcode 4,
I'm having this weird EXC_BAD_ACCESS.
where backtrace shows 0 A::A() (in Debug navigator) code is pointing at B::B() (in Editor view, A and B class doesn't share class hierarchy)Both A & B are c++ struct.
I've tried cleaning the project.
(I suspect some object files didn't get cleaned up. eager to know if there is a way 开发者_运维知识库to force-cleaning by removing build directory)Thank you
Check if you have released or autoreleased some unallocated member.
turned out it was compiler being llvm-gcc
reverting back to gcc solved the problem.
精彩评论