Re: Xcode 4.3.2 crashing in search-replace
Re: Xcode 4.3.2 crashing in search-replace
- Subject: Re: Xcode 4.3.2 crashing in search-replace
- From: Ulrich Frotscher <email@hidden>
- Date: Fri, 23 Mar 2012 10:05:16 +0100
I have found a similar issue that is always easily reproducible:
Xcode seems to crash if the search string contains a line feed and a find action is invoked.
METHOD:
1) Open any text file in Xcode 4.3 or 4.3.1
2) Select one single line including the trailing line feed
3) Press Command + E
4) Press Command + G
or
4) Press Command + F
RESULT:
Xcode crashes
I have filed a Bug report already (#11106993)
Process: Xcode [36903]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 4.3 (1175)
Build Info: IDEApplication-1175000000000000~14
App Item ID: 497799835
App External ID: 6076348
Code Type: X86-64 (Native)
Parent Process: launchd [219]
Date/Time: 2012-03-23 09:49:03.746 +0100
OS Version: Mac OS X 10.7.3 (11D50)
Report Version: 9
Interval Since Last Report: 1148489 sec
Crashes Since Last Report: 6
Per-App Interval Since Last Report: 65275 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: 2A481A68-5F8B-44EF-B32B-E451D47C23B4
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 4E109
ASSERTION FAILURE in /SourceCache/DVTFoundation/DVTFoundation-1188/Framework/Classes/Finding/DVTFindTextualDescriptor.m:151
Details: Assertion failed: (kCFStringTokenizerTokenNormal & tokenType)
Object: <DVTFindTextualDescriptor: 0x407bc2840>
Method: -_wordBoundaryAtIndex:forString:
Thread: <NSThread: 0x40010a220>{name = (null), num = 1}
Hints: None
Backtrace:
0 0x000000010bd4222f -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
1 0x000000010b1f38d5 _DVTAssertionFailureHandler (in DVTFoundation)
2 0x000000010b205e2b -[DVTFindTextualDescriptor _wordBoundaryAtIndex:forString:] (in DVTFoundation)
3 0x000000010b1e6101 -[DVTFindTextualDescriptor firstMatchingResultInString:backwards:inRange:withWordFindingBlock:docLocationCreationBlock:] (in DVTFoundation)
4 0x000000010f49f286 -[IDESourceCodeDocument findStringMatchingDescriptor:backwards:from:to:] (in IDESourceEditor)
5 0x000000010b583bee -[DVTIncrementalFindBar findNext:] (in DVTKit)
6 0x00007fff8f64e75d -[NSObject performSelector:withObject:] (in CoreFoundation)
7 0x00007fff8aa17cb2 -[NSApplication sendAction:to:from:] (in AppKit)
8 0x000000010b46d906 -[DVTApplication sendAction:to:from:] (in DVTKit)
9 0x000000010bbc2766 -[IDEApplication sendAction:to:from:] (in IDEKit)
10 0x00007fff8ab04fe7 -[NSMenuItem _corePerformAction] (in AppKit)
11 0x00007fff8ab04d1e -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] (in AppKit)
12 0x00007fff8aa82264 -[NSMenu performKeyEquivalent:] (in AppKit)
13 0x00007fff8aa80eb5 -[NSApplication _handleKeyEquivalent:] (in AppKit)
14 0x00007fff8a978c4e -[NSApplication sendEvent:] (in AppKit)
[...]
On 22.03.2012, at 20:00, email@hidden wrote:
> Heads up: I’ve just gotten Xcode 4.3.2 to crash four times in a row trying to do the same search-replace operation. Seems like a regression. Anyone else seen this?
>
> —Jens
>
> Crashed Thread: 0 Dispatch queue: com.apple.main-thread
>
> Exception Type: EXC_CRASH (SIGABRT)
> Exception Codes: 0x0000000000000000, 0x0000000000000000
-- Ulrich Frotscher
callas software GmbH | Schoenhauser Allee 6/7 | 10119 Berlin | Germany
Tel +49.30.4439031-0 | Fax +49.30.4416402
Amtsgericht Charlottenburg, HRB 59615 | Geschäftsführung: Olaf Drümmer, Ulrich Frotscher
_______________________________________________
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