while first time debugging i got this error in console and crashed
* -[NSPathStore2 release]: message sent to deallocated instance 0x7052210
It means you are trying to release the NSPathStore2 object that has already been released.
Without seeing the codebase it's difficult to pinpoint but usually it's because the code has done something like
NSPathStore2 = [[NSPath alloc]init]autorelease];
... (later in app) ... [NSPathStore2 release];
The alloc line allocates the object but puts the ref count to 0, meaning it will be freed by the system at somepoint later in the loop (I assume after a frame), unless something else retain's it. When you call release later the object has already been released by the system. The solution is to not use autorelease or retain the object yourself.
Also helper functions that start with the class name, e.g. NSString methods like stringWithString or stringWithFormat... these create a String object and return it with a retain count of 0 like the example above... i.e. you'd need to retain the object to avoid the system freeing it automatically for you later.
This link has some good guide on memory management worth a read...
http://iosdevelopertips.com/objective-c/memory-management.html
I think you are trying to access some released object. Check which line of your code has the problem, if there any release, that will be the reason.
Try enabling Zombie.It will help you in finding which object is being released again.