Nav Link On

iPhone Dev Forums > General Development > SDK Coding Help > 3.0 Crash in purgeInactiveFontData

Reply

 

LinkBack Thread Tools Display Modes
Old 07-05-2009, 06:35 PM   #1 (permalink)
Junior Member
Default Avatar
 
Join Date: Jul 2009
Posts: 1
Unhappy 3.0 Crash in purgeInactiveFontData

I am seeing this crash fairly frequently while running a simple app in the iPhone simulator using the 3.0 SDK:

Code:

You must Login or Register to view and contribute code! This is done to increase participation in helping one another out, if you have been helped please pass on the favor.

Thread 0 Crashed:
0   WebCore                       	0x35a04849 WebCore::FontCache::purgeInactiveFontData(int) + 361
1   WebCore                       	0x3581251c WebCore::FontCache::releaseFontData(WebCore::SimpleFontData const*) + 188
2   WebCore                       	0x3581244b WebCore::FontFallbackList::releaseFontData() + 75
3   WebCore                       	0x35812388 WebCore::Font::~Font() + 232
4   WebCore                       	0x3580bc48 -[NSString(WebStringDrawing) _web_sizeWithFont:forWidth:ellipsis:letterSpacing:] + 472
5   UIKit                         	0x3090d08f -[NSString(UIStringDrawing) sizeWithFont:forWidth:lineBreakMode:letterSpacing:] + 74
6   UIKit                         	0x3090d0f9 -[NSString(UIStringDrawing) sizeWithFont:forWidth:lineBreakMode:] + 61
7   UIKit                         	0x309fdda6 -[UILabel textRectForBounds:limitedToNumberOfLines:] + 588
8   UIKit                         	0x309feb8a -[UILabel sizeThatFits:] + 159
9   UIKit                         	0x30b1c867 -[UITableViewCellLayoutManagerValue1 layoutSubviewsOfCell:] + 516
10  UIKit                         	0x30a91695 -[UITableViewCell layoutSubviews] + 95
11  QuartzCore                    	0x00b41d94 -[CALayer layoutSublayers] + 78
12  QuartzCore                    	0x00b41b55 CALayerLayoutIfNeeded + 229
13  QuartzCore                    	0x00b413ae CA::Context::commit_transaction(CA::Transaction*) + 302
14  QuartzCore                    	0x00b41022 CA::Transaction::commit() + 292
15  QuartzCore                    	0x00b492e0 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 84
16  CoreFoundation                	0x30245c32 __CFRunLoopDoObservers + 594
17  CoreFoundation                	0x3024503f CFRunLoopRunSpecific + 2575
18  CoreFoundation                	0x30244628 CFRunLoopRunInMode + 88
19  GraphicsServices              	0x32044c31 GSEventRunModal + 217
20  GraphicsServices              	0x32044cf6 GSEventRun + 115
21  UIKit                         	0x309021ee UIApplicationMain + 1157
Am I alone?

My app makes use of large font sizes. Is there some clean up step I should be doing after calling these APIs?

Code:

You must Login or Register to view and contribute code! This is done to increase participation in helping one another out, if you have been helped please pass on the favor.

[text sizeWithFont:font]
[text drawAtPoint:textPoint withFont:font]
Thanks, Steve
stevewy is offline   Reply With Quote
Reply

iPhone Dev Forums > General Development > SDK Coding Help


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC1