Apps crash on iPhone OS 2.2, works fine on 2.1

This is a trace of my application when I updated my device to 2.2.

any idea to get rid of this leak? because I think it is the culprit that keeps ruining my expression.
This is a trace when running my application in os2.2, see the image that shows the part that can generate a leak and if you can give me some advice on how to fix it, would be very grateful.

alt text http://origindata.wapfly.com.au/extra/Picture%204.png

alt text http://origindata.wapfly.com.au/extra/Picture%203.png This is a traceback when running my app in os2.1.it for a very wired problem. alt text http://origindata.wapfly.com.au/extra/Picture%205.png

0


source to share


2 answers


This trace is pretty pointless without access to the code. My suggestion was to download and install Clang Static Analyzer and run my code against it to determine where the leak is. It can be found at http://clang.llvm.org/StaticAnalysis.html - to use it, copy the contents of the .tar.gz file to / usr / bin and then cd to your Xcode project and run scan-build xcodebuild

. At this point, you will be presented with an output to help you copy and draw a line like scan-view /tmp/logs/...

. This should give you some guidance.



+1


source


You need to click on the "View" button in the upper right corner of "Tools" and select "Extended Part", then select the position selected above and then click on the parts in the "Extended Parts" column on the right, and it will open up to the line of code when there is an error in Xcode



0


source







All Articles