icyleaf
2012-05-09 12:21:10 +08:00
擦,忘记留环境了,版本和环境都是一样,下面是堆栈:
Exception Name: NSRangeException
Description: *** -[NSBigMutableString substringWithRange:]: Range or index out of bounds
User Info: (null)
0 CoreFoundation 0x00007fff98467fc6 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff989fed5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff98467dfa +[NSException raise:format:arguments:] + 106
3 CoreFoundation 0x00007fff98467d84 +[NSException raise:format:] + 116
4 Foundation 0x00007fff96e5ac20 -[NSString substringWithRange:] + 173
5 AppKit 0x00007fff8dbef93f -[NSTextStorage(NSUndo) _undoRedoAttributedSubstringFromRange:] + 144
6 AppKit 0x00007fff8dbf0598 -[NSUndoTyping initWithAffectedRange:layoutManager:undoManager:replacementRange:] + 181
7 AppKit 0x00007fff8dc20b05 -[NSTextViewSharedData coalesceInTextView:affectedRange:replacementRange:] + 435
8 AppKit 0x00007fff8dc4a9fb -[NSTextView(NSSharing) shouldChangeTextInRanges:replacementStrings:] + 1724
9 AppKit 0x00007fff8dc47b80 -[NSTextView(NSSharing) shouldChangeTextInRange:replacementString:] + 104
10 AppKit 0x00007fff8dc18a8f -[NSTextView insertText:replacementRange:] + 561
11 AppKit 0x00007fff8dc18851 -[NSTextView insertText:] + 320
12 AppKit 0x00007fff8dc26ffe -[NSTextView(NSKeyBindingCommands) insertNewline:] + 537
13 CoreFoundation 0x00007fff9845775d -[NSObject performSelector:withObject:] + 61
14 AppKit 0x00007fff8db41659 -[NSResponder doCommandBySelector:] + 62
15 AppKit 0x00007fff8dc1c6ce -[NSTextView doCommandBySelector:] + 198
16 AppKit 0x00007fff8da75c93 -[NSKeyBindingManager(NSKeyBindingManager_MultiClients) interpretEventAsCommand:forClient:] + 1799
17 AppKit 0x00007fff8ddc9382 -[NSTextInputContext handleEvent:] + 747
18 AppKit 0x00007fff8dc93d2a -[NSView interpretKeyEvents:] + 248
19 AppKit 0x00007fff8dc0ca25 -[NSTextView keyDown:] + 691
20 AppKit 0x00007fff8d6eab44 -[NSWindow sendEvent:] + 7430
21 AppKit 0x00007fff8d68316d -[NSApplication sendEvent:] + 5593
22 AppKit 0x00007fff8d6191f2 -[NSApplication run] + 555
23 AppKit 0x00007fff8d897b88 NSApplicationMain + 867
24 Mou 0x000000010b281b24 Mou + 6948