I saw that my application crashes when used with the Distribution Tool. When viewing device logs, I can say that this is a “low memory” crash. My application process, in addition to the others used by my application, has been dropped. Here's what the device logs look like:
MyAPP <09da004ccd82e7a2c54e0ea6ab4eab24> 1990 (jettisoned) (active)
MobilePhone <6d3241e15be58311a76700272febc6d4> 635 (jettisoned)
accessoryd <6a25188f645a24b167cda5e0a86d486a> 121 (jettisoned)
I do not encounter any failures when the application runs without tools, and the application is perceived by users as a performer. I focus on solving this problem for a couple of days (almost all of my code has been commented out to find the problem).
My question is: can an application crash when used in combination with tools present a problem to end users? Or will it only cause problems when debugging memory?
Note 1: I do not interact with the AT ALL application when using it with tools. It loads the view controller, makes a call to the aynch service, which returns the results, which are then populated into two kinds of tables. Not much to free an object, because objects are still required.
Note 2: The following is a snippet of lists of LIVE objects from Allocations Instruments tools (sorted by size in desc order) when the application crashes. As you can see, MYAPP is not really the main intruder (it would seem)
Size(bytes) Responsible Library Responsible Caller
131072 UIKit -[UIView(Internal) _subclassImplementsDrawRect]
45056 CoreGraphics zone_malloc
16384 libCGFreetype.A.dylib ft_allocate
11264 Foundation NSPopAutoreleasePool
8192 libCGFreetype.A.dylib ft_allocate
8192 Foundation NSLogv
7680 libCGFreetype.A.dylib ft_allocate
7680 libCGFreetype.A.dylib ft_allocate
7680 CoreGraphics argb32_mark_constmask
5120 CoreGraphics CGDataProviderCreateWithCopyOfData
4608 libCGFreetype.A.dylib ft_allocate
4608 libCGFreetype.A.dylib ft_allocate
4608 libCGFreetype.A.dylib ft_allocate
4096 libSystem.B.dylib __stack_chk_fail
4096 QuartzCore CA::Transaction::create()
4096 Foundation NSPushAutoreleasePool
4096 MYAPP -[CJSONScanner scanNotQuoteCharactersIntoString:]
thank
source
share