Crash drawing a textfield?
Crash drawing a textfield?
- Subject: Crash drawing a textfield?
- From: Pierre Bernard <email@hidden>
- Date: Wed, 28 Nov 2007 21:17:11 +0100
Hi!
The application I currently work on occasionally drops into the
debugger with the following stack:
#0 0x938898e6 in mach_msg_trap
#1 0x938910dc in mach_msg
#2 0x92bf52aa in SendFontManagementMessageWithMessageStatus
#3 0x92bff78b in SendOFAStrikeMessage
#4 0x92c02152 in _eOFAGetGlyphData
#5 0x92c017bb in GenerateGlyphData
#6 0x92c00fb3 in _eGetGlyphAddresses
#7 0x92c00cb2 in OldGlyphsCacheRun
#8 0x92c050ab in _eGCGetGlyphDeviceMetrics
#9 0x92c04ed3 in GCGetGlyphDeviceMetrics
#10 0x94de4ec1 in ats_font_get_glyph_bboxes
#11 0x94de7208 in get_glyph_bboxes
#12 0x9259a534 in CGFontGetGlyphBBoxesForStyle
#13 0x9259a4ee in CGFontGetGlyphBBoxes
#14 0x9260822b in CGFontGetContainingBoundingBoxForGlyphs
#15 0x900bc22a in ripc_GetGlyphBoundingBox
#16 0x900c7a2f in ripc_DrawGlyphs
#17 0x925963a9 in draw_glyphs
#18 0x9259601b in CGContextShowGlyphsWithAdvances
#19 0x95ad298c in +[NSStringDrawingTextStorage
_fastDrawString:attributes:length:inRect:graphicsContext:baselineRendering:usesFontLeading:usesScreenFont:typesetterBehavior:paragraphStyle:lineBreakMode:boundingRect:padding:scrollable
:]
#20 0x95a605d3 in _NSStringDrawingCore
#21 0x95a5fb09 in _NSDrawTextCell
#22 0x95a69dc3 in -[NSTextFieldCell drawInteriorWithFrame:inView:]
#23 0x95a6996f in -[NSTextFieldCell drawWithFrame:inView:]
#24 0x95a6324c in -[NSControl drawRect:]
#25 0x95af6eb0 in -[NSView _drawRect:clip:]
#26 0x95af47c7 in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView
:]
#27 0x95af51f4 in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView
:]
#28 0x95af51f4 in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView
:]
#29 0x95af3ce3 in -[NSThemeFrame
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView
:]
#30 0x95af0814 in -[NSView
_displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
#31 0x95a3137d in -[NSView displayIfNeeded]
#32 0x95a30f2d in -[NSWindow displayIfNeeded]
#33 0x95affc7d in -[NSControl drawCell:]
#34 0x95bd9de6 in -[NSButtonCell performClick:]
#35 0x95bad1a9 in -[NSButton performKeyEquivalent:]
#36 0x95bad018 in -[NSControl _performKeyEquivalent:conditionally:]
#37 0x95bacee4 in -[NSView performKeyEquivalent:]
#38 0x95bacee4 in -[NSView performKeyEquivalent:]
#39 0x95bacc4e in -[NSWindow performKeyEquivalent:]
#40 0x95b9ceeb in -[NSTextField textDidEndEditing:]
#41 0x956d977c in _nsnote_callback
#42 0x921b6a4a in __CFXNotificationPost
#43 0x921b6d23 in _CFXNotificationPostNotification
#44 0x956d6a70 in -[NSNotificationCenter
postNotificationName:object:userInfo:]
#45 0x95b9c002 in -[NSTextView(NSPrivate) _giveUpFirstResponder:]
#46 0x95b9bdcd in -[NSTextView(NSKeyBindingCommands) insertNewline:]
#47 0x95b9bb6f in -[NSResponder doCommandBySelector:]
#48 0x95b9b9f8 in -[NSTextView doCommandBySelector:]
#49 0x95b8eb55 in -
[NSKeyBindingManager(NSKeyBindingManager_MultiClients)
interpretEventAsCommand:forClient:]
#50 0x95b8d762 in -[NSTSMInputContext interpretKeyEvents:]
#51 0x95b8d27c in -[NSView interpretKeyEvents:]
#52 0x95b8d18a in -[NSTextView keyDown:]
#53 0x95afd8e2 in -[NSWindow sendEvent:]
#54 0x95ac9a2c in -[NSApplication sendEvent:]
#55 0x95a27705 in -[NSApplication run]
#56 0x959f49ba in NSApplicationMain
#57 0x00007aca in main at main.m:13
I have no idea what is going on here or how to approach debugging it.
Best,
Pierre Bernard
---
Pierre Bernard
http://www.bernard-web.com/pierre
http://www.houdah.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden