Dear All,

I developed an iPhone / iPod application without testing on an iPod Touch (as I 
don't have any of such device)
According to the AppStore review team, the application crashes at startup when 
no wifi network is available on the Touch.  
The application runs correctly on the iPhone.

The attached crash log shows the crash is produced in my main function, when 
calling UIApplicationMain, when drawing the UI (see the stack trace below)

I am seeking advices to debug this as, I do repeat, I do not own an iPod Touch 
;-)

I tough iPod Touch / iPhone where binary compatible for all application not 
involving Phone/SMS/MMS/3G communications
What are the possible cause of a crash in UIApplicationMain ?

Thanks for your help


--Seb


0   libCGFreetype.A.dylib               0x00009024 FT_Stream_ReadAt + 88
1   libCGFreetype.A.dylib               0x000243e0 load_post_names + 524
2   libCGFreetype.A.dylib               0x00024750 tt_face_get_ps_name + 324
3   libCGFreetype.A.dylib               0x00025b3c sfnt_get_glyph_name + 20
4   libCGFreetype.A.dylib               0x00003c7c get_glyph_for_glyph_name + 88
5   libCGFreetype.A.dylib               0x00003d28 
ft_font_get_glyphs_for_glyph_names + 84
6   libCGFreetype.A.dylib               0x00005a5c get_glyphs_for_glyph_names + 
48
7   CoreGraphics                        0x0003b0f4 CGFontGetGlyphForGlyphName + 
24
8   CoreGraphics                        0x0003b09c get_char_top + 12
9   CoreGraphics                        0x0001a9e4 CGFontGetAutohintTransform + 
380
10  CoreGraphics                        0x0001a5c8 CGFontCreateGlyphBitmaps8 + 
136
11  CoreGraphics                        0x0001a508 CGFontCreateGlyphBitmaps + 
240
12  CoreGraphics                        0x0001a288 create_missing_bitmaps + 380
13  CoreGraphics                        0x00019aec CGGlyphLockLockGlyphBitmaps 
+ 252
14  libRIP.A.dylib                      0x000039d8 ripc_RenderGlyphs + 152
15  libRIP.A.dylib                      0x0000e9d8 ripc_DrawGlyphs + 1288
16  CoreGraphics                        0x000187a8 draw_glyphs + 900
17  CoreGraphics                        0x00018254 
CGContextShowGlyphsWithAdvances + 484
18  WebCore                             0x0000a460 
WebCore::Font::drawGlyphs(WebCore::GraphicsContext*, WebCore::SimpleFontData 
const*, WebCore::GlyphBuffer const&, int, int, WebCore::FloatPoint const&, 
bool) const + 1324
19  WebCore                             0x00009f0c 
WebCore::Font::drawGlyphBuffer(WebCore::GraphicsContext*, WebCore::GlyphBuffer 
const&, WebCore::TextRun const&, WebCore::FloatPoint&) const + 240
20  WebCore                             0x00009bbc 
WebCore::Font::drawSimpleText(WebCore::GraphicsContext*, WebCore::TextRun 
const&, WebCore::FloatPoint const&, int, int) const + 352
21  WebCore                             0x00009a18 
WebCore::Font::drawText(WebCore::GraphicsContext*, WebCore::TextRun const&, 
WebCore::FloatPoint const&, int, int) const + 180
22  WebCore                             0x00009954 drawAtPoint(WebCore::String 
const&, WebCore::FloatPoint const&, WebCore::Font const&, 
WebCore::GraphicsContext*, WebCore::BidiStatus*, int) + 216
23  WebCore                             0x000090d0 -[NSString(WebStringDrawing) 
_web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:] + 536
24  UIKit                               0x00040e94 -[NSString(UIStringDrawing) 
drawAtPoint:forWidth:withFont:lineBreakMode:letterSpacing:includeEmoji:] + 156
25  UIKit                               0x00040dd8 -[NSString(UIStringDrawing) 
drawAtPoint:forWidth:withFont:lineBreakMode:] + 80
26  UIKit                               0x0004a82c -[UIPushButton 
drawTitleAtPoint:width:] + 200
27  UIKit                               0x0004a67c -[UIPushButton 
_drawImageAndTextPartInRect:] + 1044
28  UIKit                               0x0004a070 -[UIPushButton 
drawButtonPart:inRect:] + 84
29  UIKit                               0x0004a000 -[UIPushButton drawRect:] + 
88
30  UIKit                               0x00049bc4 -[UIView(CALayerDelegate) 
drawLayer:inContext:] + 336
31  QuartzCore                          0x0000dcfc -[CALayer drawInContext:] + 
68
32  QuartzCore                          0x0000db00 backing_callback(CGContext*, 
void*) + 48
33  QuartzCore                          0x0000d388 CABackingStoreUpdate + 1708
34  QuartzCore                          0x0000c78c -[CALayer _display] + 856
35  QuartzCore                          0x0000c41c -[CALayer display] + 108
36  QuartzCore                          0x0000c368 CALayerDisplayIfNeeded + 196
37  QuartzCore                          0x0000b848 
CA::Context::commit_transaction(CA::Transaction*) + 268
38  QuartzCore                          0x0000b46c CA::Transaction::commit() + 
276
39  QuartzCore                          0x0000b318 +[CATransaction flush] + 32
40  UIKit                               0x00052e94 -[UIApplication 
_reportAppLaunchFinished] + 28
41  UIKit                               0x00004a80 -[UIApplication 
_runWithURL:sourceBundleID:] + 608
42  UIKit                               0x00055df8 -[UIApplication 
handleEvent:withNewEvent:] + 1516
43  UIKit                               0x00055634 -[UIApplication sendEvent:] 
+ 60
44  UIKit                               0x0005508c _UIApplicationHandleEvent + 
4528
45  GraphicsServices                    0x00005988 PurpleEventCallback + 1044
46  CoreFoundation                      0x00057524 CFRunLoopRunSpecific + 2296
47  CoreFoundation                      0x00056c18 CFRunLoopRunInMode + 44
48  UIKit                               0x00003c00 -[UIApplication _run] + 512
49  UIKit                               0x00002228 UIApplicationMain + 960



--Seb




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to