I have an app which works fine under Lion, but with 10.8 (Xcode 4.4.1) it 
crashes the Springboard in the Simulator (both iPhone and iPad).
It never gets to: application:didFinishLaunchingWithOptions:

Console log has several lines like:
14/08/2012 15:40:52.411 com.apple.launchd.peruser.502[129]: 
(com.apple.iPhoneSimulator:com.apple.gamed) Conflict with job: com.apple.gamed 
over Mach service: com.apple.gamed.aps

and:
14/08/2012 15:40:52.649 itunescloudd[16723]: Could not open database at 
/Users/gerriet2/Library/Application Support/iPhone 
Simulator/5.1/Media/iTunes_Control/iTunes/MediaLibrary.sqlitedb: unable to open 
database file
(Correct: no iTunes_Control in Media directory).

ending with:
14/08/2012 15:40:54.171 Xcode[16629]: Error launching simulated application: 
Error Domain=DTiPhoneSimulatorErrorDomain Code=1 "The simulated application 
quit." UserInfo=0x40095af80 {NSLocalizedDescription=The simulated application 
quit., DTiPhoneSimulatorUnderlyingErrorCodeKey=-1}
(Not very helpful this)


Crash report:

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000

VM Regions Near 0:
--> __PAGEZERO             0000000000000000-0000000000001000 [    4K] ---/--- 
SM=NUL  
/Volumes/*/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/CoreServices/SpringBoard.app/SpringBoard
   __TEXT                 0000000000001000-000000000029b000 [ 2664K] r-x/rwx 
SM=COW  
/Volumes/*/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/CoreServices/SpringBoard.app/SpringBoard

Application Specific Information:
iPhone Simulator 272.21, iPhone OS 5.1 (iPhone/9B176)


Thread 0 Crashed:
0   CoreFoundation                      0x03f40a32 CFDictionaryGetValue + 18
1   CoreText                            0x04b1f4e2 
GetAttributesForFont(__CFString const*) + 100
2   CoreText                            0x04b1ff26 
CreateCharacterSetForFont(__CFString const*) + 73
3   CoreText                            0x04b15e03 
TBaseFont::CopyCharacterSet() const + 95
4   CoreText                            0x04b1a81f 
TBaseFont::CopyAttribute(unsigned long) const + 199
5   CoreText                            0x04ae50b9 
TDescriptor::CopyAttribute(unsigned long, __CFString const*) const + 75
6   CoreText                            0x04ae2ad0 
TFont::CopyAttribute(unsigned long, __CFString const*) const + 184
7   CoreText                            0x04ae2a11 
TFont::CopyAttribute(__CFString const*) const + 37
8   CoreText                            0x04ad94f4 CTFontCopyCharacterSet + 55
9   WebCore                             0x04fbd0bb 
WebCore::FontPlatformData::allowsLigatures() const + 33
10  WebCore                             0x0569ee87 
WebCore::SimpleFontData::getCFStringAttributes(unsigned int, 
WebCore::FontOrientation) const + 121
11  WebCore                             0x04dd0760 
WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText(unsigned
 short const*, unsigned int, unsigned int, WebCore::SimpleFontData const*, 
bool) + 518
12  WebCore                             0x04dcec82 
WebCore::ComplexTextController::collectComplexTextRuns() + 408
13  WebCore                             0x04dcd559 
WebCore::ComplexTextController::ComplexTextController(WebCore::Font const*, 
WebCore::TextRun const&, bool, WTF::HashSet<WebCore::SimpleFontData const*, 
WTF::PtrHash<WebCore::SimpleFontData const*>, 
WTF::HashTraits<WebCore::SimpleFontData const*> >*, bool) + 537
14  WebCore                             0x04fb78bb 
WebCore::Font::floatWidthForComplexText(WebCore::TextRun const&, 
WTF::HashSet<WebCore::SimpleFontData const*, 
WTF::PtrHash<WebCore::SimpleFontData const*>, 
WTF::HashTraits<WebCore::SimpleFontData const*> >*, WebCore::GlyphOverflow*) 
const + 75
15  WebCore                             0x056c7eb4 
WebCore::truncateString(WTF::String const&, float, WebCore::Font const&, 
unsigned int (*)(WTF::String const&, unsigned int, unsigned int, unsigned 
short*, bool), bool, float*, bool, float, bool) + 628
16  WebCore                             0x056c82fa 
WebCore::StringTruncator::rightClipToCharacter(WTF::String const&, float, 
WebCore::Font const&, WebCore::StringTruncator::EnableRoundingHacksOrNot, 
float&, bool, float) + 86
17  WebKit                              0x04c1c3f0 
applyEllipsisStyle(WTF::String const&, WebEllipsisStyle, float, WebCore::Font 
const&, WebCore::StringTruncator::EnableRoundingHacksOrNot, float*, bool, 
float, bool) + 640
18  WebKit                              0x04c1d1fd -[NSString(WebStringDrawing) 
_web_sizeWithFont:forWidth:ellipsis:letterSpacing:resultRange:] + 525
19  WebKit                              0x04c1b8bd -[NSString(WebStringDrawing) 
_web_sizeWithFont:forWidth:ellipsis:letterSpacing:] + 77
20  UIKit                               0x005528b5 -[NSString(UIStringDrawing) 
sizeWithFont:forWidth:lineBreakMode:letterSpacing:] + 77
21  SpringBoard                         0x00147f5e 0x1000 + 1339230
22  SpringBoard                         0x001485e7 0x1000 + 1340903
23  SpringBoard                         0x00148fd2 0x1000 + 1343442
24  SpringBoard                         0x00147d50 0x1000 + 1338704
25  SpringBoard                         0x0015cb72 0x1000 + 1424242
26  SpringBoard                         0x0015de13 0x1000 + 1429011
27  SpringBoard                         0x0015c4c8 0x1000 + 1422536
28  SpringBoard                         0x00167bd4 0x1000 + 1469396
29  SpringBoard                         0x0016799b 0x1000 + 1468827
30  SpringBoard                         0x00166f3c 0x1000 + 1466172
31  Foundation                          0x01138a29 __57-[NSNotificationCenter 
addObserver:selector:name:object:]_block_invoke_0 + 40
32  CoreFoundation                      0x03ff4855 
___CFXNotificationPost_block_invoke_0 + 85
33  CoreFoundation                      0x03ff4778 _CFXNotificationPost + 1976
34  Foundation                          0x0107d19a -[NSNotificationCenter 
postNotificationName:object:userInfo:] + 98
35  SpringBoard                         0x0011d744 0x1000 + 1165124
36  SpringBoard                         0x0011d670 0x1000 + 1164912
37  SpringBoard                         0x0011c228 0x1000 + 1159720
38  SpringBoard                         0x001188ad 0x1000 + 1145005
39  SpringBoard                         0x0011ac49 0x1000 + 1154121
40  SpringBoard                         0x000d05e8 0x1000 + 849384
41  SpringBoard                         0x000ce479 0x1000 + 840825
42  SpringBoard                         0x000c8f52 0x1000 + 819026
43  Foundation                          0x01138a29 __57-[NSNotificationCenter 
addObserver:selector:name:object:]_block_invoke_0 + 40
44  CoreFoundation                      0x03ff4855 
___CFXNotificationPost_block_invoke_0 + 85
45  CoreFoundation                      0x03ff4778 _CFXNotificationPost + 1976
46  Foundation                          0x0107d19a -[NSNotificationCenter 
postNotificationName:object:userInfo:] + 98
47  SpringBoard                         0x000d29c1 0x1000 + 858561
48  SpringBoard                         0x0000b5b3 0x1000 + 42419
49  SpringBoard                         0x0001188e 0x1000 + 67726
50  UIKit                               0x0052f4be -[UIApplication 
_callInitializationDelegatesForURL:payload:suspended:] + 1604
51  UIKit                               0x00530274 -[UIApplication 
_runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 524
52  UIKit                               0x0052fbd8 -[UIApplication _run] + 435
53  UIKit                               0x00531626 UIApplicationMain + 1163
54  SpringBoard                         0x00004d33 0x1000 + 15667
55  SpringBoard                         0x00003de1 0x1000 + 11745

+ other threads which did not crash.


What can I do to debug this?

Gerriet.


_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to