Saturday, October 5, 2013

In the case of open ARC, throwing EXC_BAD_ACCESS, you pass please come! ! !

In the case of the ARC open, sometimes in the input text before and after the trigger TextViewDidChange, throwing EXC_BAD_ACCESS, in most cases positioned in the main Thread 1 in a few cases positioned Thread 4 WebThread in rare cases in the Thread 1 Navigate to the random code, by adding environment variables Zombie Object and open, did not export any exceptions, but the chances Crash greatly reduced. Exceptions can use the automatic break no effect. Solving, how to solve this problem!
Reply:
Dynamic memory allocation problem?
Reply:
quote 1 floor reply:
dynamically allocated memory problems?

Well, the problem is recognized, but not the allocation issue. I used part of the C + + classes. However, in the ARC, C + + are often randomly released. Last night I all use Objective-C, the problem has been resolved, I ask, for the C + + class, how to set Strong attributes prevent early release?
Reply:
c + + function to solve the problem of data values ​​Can not c + + with oc

No comments:

Post a Comment