Re: Constantly Getting Assertion Failure
Re: Constantly Getting Assertion Failure
- Subject: Re: Constantly Getting Assertion Failure
- From: Joar Wingfors <email@hidden>
- Date: Thu, 10 Nov 2011 15:33:31 -0800
Hi Andreas,
Please file a bug report:
<http://developer.apple.com/bugreporter/>
To work around the issue, have you tried to delete your per-user data from the .xcworkspace directory?
Do you have an include / import statement that looks like what is suggested from the assertion failure:
../../Source/xyz/parser.h
If so, maybe another workaround would be to change that to simply "parser.h", and then to provide a header search path for "../../Source/xyz/". Not sure, but maybe worth a try.
j o a r
On 10 nov 2011, at 11:00, Andreas Grosam wrote:
> I'm constantly getting an assertion failure in Xcode 4.2.
> All attempts to fix this (redefining custom build settings that define a path, cleaning the build folder, re-associating file references/libraries, re-launching Xcode, etc.) failed so far.
>
> Any thoughts?
>
>
> ASSERTION FAILURE in /SourceCache/DVTFoundation/DVTFoundation-903/Framework/Classes/FilePaths/DVTFilePath.m:370
> Details: fsrep is relative ('../../Source/xyz/parser.h') parentPath must not be nil but it is.
> Object: <DVTFilePath>
> Method: +_filePathForParent:fileSystemRepresentation:length:allowCreation:
> Thread: <NSThread: 0x40314f620>{name = (null), num = 109}
> Hints: None
> Backtrace:
> 0 0x000000010abea466 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
> 1 0x000000010a262794 _DVTAssertionFailureHandler (in DVTFoundation)
> 2 0x000000010a1ffd32 +[DVTFilePath _filePathForParent:fileSystemRepresentation:length:allowCreation:] (in DVTFoundation)
> 3 0x000000010a1ff963 +[DVTFilePath _filePathForParent:pathString:] (in DVTFoundation)
> 4 0x000000010a200d47 +[DVTFilePath filePathForPathString:] (in DVTFoundation)
> 5 0x000000010a847dee __103-[IDEIndexClangQueryProvider importedFileAtDocumentLocation:withCurrentFileContentDictionary:forIndex:]_block_invoke_0 (in IDEFoundation)
> 6 0x000000010a1fdd56 __38-[DVTDispatchLock performLockedBlock:]_block_invoke_0 (in DVTFoundation)
> 7 0x00007fff90063aad _dispatch_barrier_sync_f_invoke (in libdispatch.dylib)
> 8 0x000000010a1fdcff -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
> 9 0x000000010a8453cc -[IDEIndexClangQueryProvider performClang:] (in IDEFoundation)
> 10 0x000000010a847c4f -[IDEIndexClangQueryProvider importedFileAtDocumentLocation:withCurrentFileContentDictionary:forIndex:] (in IDEFoundation)
> 11 0x000000010ad5bf97 __101-[IDEIncludesGeniusResultsFinder _getUpdateGeniusResultsPhaseOneBlock:phaseTwoBlock:phaseThreeBlock:]_block_invoke_078 (in IDEKit)
> 12 0x000000010ac4608d __51-[IDEIndexGeniusResultsFinder _updateGeniusResults]_block_invoke_0446 (in IDEKit)
> 13 0x00007fff900618ba _dispatch_call_block_and_release (in libdispatch.dylib)
> 14 0x00007fff9006310a _dispatch_queue_drain (in libdispatch.dylib)
> 15 0x00007fff90062f66 _dispatch_queue_invoke (in libdispatch.dylib)
> 16 0x00007fff90062760 _dispatch_worker_thread2 (in libdispatch.dylib)
> 17 0x00007fff92a793da _pthread_wqthread (in libsystem_c.dylib)
> 18 0x00007fff92a7ab85 start_wqthread (in libsystem_c.dylib)
>
> _______________________________________________
> 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
_______________________________________________
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