Skip to content

Instantly share code, notes, and snippets.

@aquarius
Created November 4, 2011 11:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aquarius/1339172 to your computer and use it in GitHub Desktop.
Save aquarius/1339172 to your computer and use it in GitHub Desktop.
Crash Log
Incident Identifier: [TODO]
CrashReporter Key: [TODO]
Process: MindNode [1957]
Path: /var/mobile/Applications/5C216CA6-CCB6-414F-8E2A-FD79AA2C5FF1/MindNode.app/MindNode
Identifier: com.mindnode.mindnodetouch
Version: 1109
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2554-10-30 17:36:11 +0000
OS Version: iPhone OS 4.3.5 (8L1)
Report Version: 104
Exception Type: SIGBUS
Exception Codes: BUS_ADRALN at 0x118
Crashed Thread: 1
Thread 0:
0 libsystem_kernel.dylib 0x35d04c00 mach_msg_trap + 20
1 CoreFoundation 0x3039d2bf __CFRunLoopServiceMachPort + 95
2 CoreFoundation 0x3039f569 __CFRunLoopRun + 357
3 CoreFoundation 0x3032fec3 CFRunLoopRunSpecific + 231
4 CoreFoundation 0x3032fdcb CFRunLoopRunInMode + 59
5 GraphicsServices 0x3026941f GSEventRunModal + 115
6 GraphicsServices 0x302694cb GSEventRun + 63
7 UIKit 0x3221cd69 -[UIApplication _run] + 405
8 UIKit 0x3221a807 UIApplicationMain + 671
9 MindNode 0x0007a8bb main (main.m:14)
Thread 1 Crashed:
0 CoreText 0x3304b294 TLine::UpdateCachedMetricsForRun(TRun const&) + 124
1 CoreText 0x3304bf45 TLine::SyncWithRuns() + 65
2 CoreText 0x330572d7 TTypesetter::FinishLayout(TLine&, TCharStream const&, bool, TGlyphList<TDeletedGlyphIndex>*) const + 215
3 CoreText 0x33060299 TTypesetterAttrString::Initialize(__CFAttributedString const*) + 213
4 CoreText 0x33049b23 TTypesetterAttrString::TTypesetterAttrString(__CFAttributedString const*) + 75
5 CoreText 0x33049ad5 TTypesetterAttrString::TTypesetterAttrString(__CFAttributedString const*) + 9
6 CoreText 0x3305d043 TFramesetterAttrString::TFramesetterAttrString(__CFAttributedString const*) + 55
7 CoreText 0x3305cc29 CTFramesetterCreateWithAttributedString + 45
8 MindNode 0x00059cc7 __31-[MNText _updateCachedTextSize]_block_invoke_0 (MNText.m:168)
9 libdispatch.dylib 0x33d0c64d _dispatch_barrier_sync_f_invoke + 33
10 libdispatch.dylib 0x33d0c98d dispatch_barrier_sync_f$VARIANT$up + 77
11 libdispatch.dylib 0x33d0ca19 dispatch_sync_f$VARIANT$up + 29
12 libdispatch.dylib 0x33d0caef dispatch_sync$VARIANT$up + 27
13 MindNode 0x00059abb -[MNText _updateCachedTextSize] (MNText.m:166)
14 MindNode 0x000596b7 -[MNText initWithAttributedString:] (MNText.m:53)
15 MindNode 0x0005a799 -[MNText initWithPropertyRepresentation:delegate:] (MNText.m:418)
16 MindNode 0x00075929 -[MNNode initWithPropertyRepresentation:delegate:] (MNNode.m:1102)
17 MindNode 0x00075d4d -[MNNode initWithPropertyRepresentation:delegate:] (MNNode.m:1168)
18 MindNode 0x00075d4d -[MNNode initWithPropertyRepresentation:delegate:] (MNNode.m:1168)
19 MindNode 0x00075d4d -[MNNode initWithPropertyRepresentation:delegate:] (MNNode.m:1168)
20 MindNode 0x00075d4d -[MNNode initWithPropertyRepresentation:delegate:] (MNNode.m:1168)
21 MindNode 0x0006e8df -[MNMindMap initWithPropertyRepresentation:delegate:] (MNMindMap.m:412)
22 MindNode 0x00040f87 -[MNDocument initWithPropertyRepresentation:delegate:] (MNDocument.m:207)
23 MindNode 0x00043977 -[MNDocumentPersistenceManager loadDocumentWithError:] (MNDocumentPersistenceManager.m:109)
24 MindNode 0x000436b5 +[MNDocumentPersistenceManager loadDocumentFromReference:error:] (MNDocumentPersistenceManager.m:29)
25 MindNode 0x0004438d -[MNDocumentReference document] (MNDocumentReference.m:192)
26 MindNode 0x00044ccb __block_global_0 (MNDocumentReference.m:371)
27 libdispatch.dylib 0x33d108e7 _dispatch_call_block_and_release + 11
28 libdispatch.dylib 0x33d0b62d _dispatch_worker_thread2 + 253
29 libsystem_c.dylib 0x361dc591 _pthread_wqthread + 265
Thread 2:
0 libsystem_kernel.dylib 0x35d07fbc kevent + 24
1 libdispatch.dylib 0x33d0c041 _dispatch_queue_invoke + 93
2 libdispatch.dylib 0x33d0b5f1 _dispatch_worker_thread2 + 193
3 libsystem_c.dylib 0x361dc591 _pthread_wqthread + 265
Thread 3:
0 libsystem_kernel.dylib 0x35d073ec __workq_kernreturn + 8
Thread 4:
0 libsystem_kernel.dylib 0x35d04c00 mach_msg_trap + 20
1 CoreFoundation 0x3039d2bf __CFRunLoopServiceMachPort + 95
2 CoreFoundation 0x3039f569 __CFRunLoopRun + 357
3 CoreFoundation 0x3032fec3 CFRunLoopRunSpecific + 231
4 CoreFoundation 0x3032fdcb CFRunLoopRunInMode + 59
5 WebCore 0x34c26285 RunWebThread(void*) + 389
6 libsystem_c.dylib 0x361db311 _pthread_start + 249
Thread 1 crashed with ARM (Native) Thread State:
r0: 0x20873cd0 r1: 0x20873cd0 r2: 0x00000000 r3: 0x00000100
r4: 0x20873cd0 r5: 0x20873b80 r6: 0x0000001c r7: 0x2ff5f62c
r8: 0x00000000 r9: 0x2ff5f2bc r10: 0x0000001c r11: 0x00000000
r12: 0x2ff5f5f0 sp: 0x2ff5f624 lr: 0x35838f45 pc: 0x35838294
@aquarius
Copy link
Author

aquarius commented Nov 4, 2011

Der Crash wird hier ausgelöst:

__block CGSize textSize;
NSAttributedString *string = (self.drawPlaceholder ? [self placeholderString] : self.text);
dispatch_sync(MNGetCoreTextWorkingQueue(), ^{
    CTFramesetterRef framesetter = CTFramesetterCreateWithAttributedString((CFAttributedStringRef)string);
    textSize = CTFramesetterSuggestFrameSizeWithConstraints(framesetter,CFRangeMake(0, 0),NULL,textFrameSize,NULL);
    CFRelease(framesetter);
});
CGPathRelease(textFramePath);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment