Xcode 4.3.2 still crashing frequently while editing text
Xcode 4.3.2 still crashing frequently while editing text
- Subject: Xcode 4.3.2 still crashing frequently while editing text
- From: Jens Alfke <email@hidden>
- Date: Fri, 13 Apr 2012 09:47:43 -0700
Anyone else having Xcode 4.3.2 crash very frequently during text editing, especially find/replace? It’s been the bane of my workday ever since upgrading from 4.3.1. According to Crash Reporter I’ve gotten 20 of these crashes since installing it on 3/31, and there would be many, many more if I weren’t now adept at working around the issue (by noticing corruption in the editor view and switching to another source file and then back).
I can’t imagine that I’m the only one getting this; but I also can’t imagine that if it were widespread, there wouldn’t be more people posting about the problem, or a quick update from Apple.
I’ve been remiss about filing a Radar but I finally logged it as rdar://11244686. I anticipate that in nine months or so I’ll get an acknowledgment confirming that it’s a duplicate. :-p
Looking through my crash logs, they’re all one or the other of these exceptions, with the first the most common:
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): -[DVTLayoutManager _fillLayoutHoleForCharacterRange:desiredNumberOfLines:isSoft:] *** attempted layout while textStorage is editing. It is not valid to cause the layoutManager to do layout while the textStorage is editing (ie the textStorage has been sent a beginEditing message without a matching endEditing.)
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): -[DVTLayoutManager _fillGlyphHoleForCharacterRange:startGlyphIndex:desiredNumberOfCharacters:] *** attempted glyph generation while textStorage is editing. It is not valid to cause the layoutManager to do glyph generation while the textStorage is editing (ie the textStorage has been sent a beginEditing message without a matching endEditing.)
UNCAUGHT EXCEPTION (NSRangeException): *** -[__NSCFString _getBlockStart:end:contentsEnd:forRange:stopAtLineSeparators:]: Range or index out of bounds
ASSERTION FAILURE in /SourceCache/DVTKit/DVTKit-1174/Framework/Classes/SourceTextView/DVTFoldingTextStorage.m:1232
Details: Invalid character index in -[DVTFoldingTextStorage attribute:atIndex]: location:884, realLocation:884, length:861
UNCAUGHT EXCEPTION (NSRangeException): NSMutableRLEArray objectAtIndex:effectiveRange:runIndex:: Out of bounds
—Jens
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden