2011-10-31 6 views
2

起動時にXcodeがクラッシュを開始しました。私はあらゆる種類のことを試しましたが、私はまだ同じエラーが発生します。私が試したXcode 4が再起動しても、起動時またはASSERTION FAILUREのリポジトリにアクセスするとクラッシュする

もの:

  • 私は〜/ライブラリ/ Developerとキャッシュファイルを削除したこと使用/開発/ライブラリ/アン・デベロッパーツール
  • を削除した、など
  • I私のMacからすべてのsvnコードを完全に削除しました
  • 私が〜/ .subversionフォルダを削除した場合、私は起動時にそれを得ることができますが、オーガナイザのリポジトリに行くとクラッシュします。だから私は、オーガナイザからクラッシュ後も継続してリポジトリを削除しようとしました。時には私をつかまえますが、次回は再びクラッシュします。
  • すべてのプロジェクトを削除しました。

最初に起き始めたとき、私はいつものクラッシュエラーが発生していて、それはビーチボールであったため、スタックトレースにも手を出せませんでした。私は今、スタックトレースを取得し、アプリケーションの周りをナビゲートすることができますが、私はリポジトリやソースコントロール - 新しいプロジェクトを作成しようとするなど、何かをタッチするか、既存のものを開くと、クラッシュします。

ご協力いただければ幸いです!

ASSERTION FAILURE in /SourceCache/IDEFoundation/IDEFoundation-937/Framework/Classes/Model/SourceControl/IDESourceControlTree.m:119 
Details: Invalid location for source tree. Initialization failed. 
Object: <IDESourceControlRepository: 0x402516720> 
Method: -initWithDictionary:sourceControlExtension:sourceControlManager: 
Thread: <NSThread: 0x40010a260>{name = (null), num = 1} 
Hints: 
    0: Replacement view is installing: <RVRepositoryViewController: 0x402519b60 representing: <DVTExtension 0x400d16020: Repositories (Xcode.OrganizerSource.Repositories) v0.1>> 
Backtrace: 
    0 0x00000001062bd466 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit) 
    1 0x000000010592d794 _DVTAssertionFailureHandler (in DVTFoundation) 
    2 0x0000000105e71f3f -[IDESourceControlTree initWithDictionary:sourceControlExtension:sourceControlManager:] (in IDEFoundation) 
    3 0x0000000105e716f0 -[IDESourceControlRepository initWithDictionary:sourceControlExtension:sourceControlManager:] (in IDEFoundation) 
    4 0x0000000105e70e9c -[IDESourceControlManager loadRepositories] (in IDEFoundation) 
    5 0x0000000105e6ba8b -[IDESourceControlManager init] (in IDEFoundation) 
    6 0x0000000105e6b8c2 __53+[IDESourceControlManager sharedSourceControlManager]_block_invoke_0 (in IDEFoundation) 
    7 0x00007fff8b5a1224 dispatch_once_f (in libdispatch.dylib) 
    8 0x0000000105e6b891 +[IDESourceControlManager sharedSourceControlManager] (in IDEFoundation) 
    9 0x000000010620076b -[IDENavigableItemCoordinator rootNavigableItemInDomain:forWorkspace:] (in IDEKit) 
10 0x000000010b93671d -[RVRepositoryViewController sourceControlManagerNavigableItem] (in IDERepositoryViewer) 
11 0x00007fff904da434 _NSGetUsingKeyValueGetter (in Foundation) 
12 0x00007fff904da3e9 -[NSObject(NSKeyValueCoding) valueForKey:] (in Foundation) 
13 0x00007fff904f9c54 -[NSKeyValueNestedProperty object:didAddObservance:recurse:] (in Foundation) 
14 0x00007fff904c60ca -[NSKeyValueUnnestedProperty object:didAddObservance:recurse:] (in Foundation) 
15 0x00007fff904c4843 -[NSObject(NSKeyValueObserverRegistration) _addObserver:forProperty:options:context:] (in Foundation) 
16 0x00007fff904c31e4 -[NSObject(NSKeyValueObserverRegistration) addObserver:forKeyPath:options:context:] (in Foundation) 
17 0x0000000105ae8720 -[DVTBindingHelper bind:toObject:withKeyPath:options:] (in DVTKit) 
18 0x0000000105ae81e5 -[DVTObjectBindingUtilities dvtGeneric_bind:toObject:withKeyPath:options:] (in DVTKit) 
19 0x000000010b9364d7 -[RVRepositoryViewController loadView] (in IDERepositoryViewer) 
20 0x00007fff8d337a8a -[NSViewController view] (in AppKit) 
21 0x0000000105ae640b -[DVTViewController view] (in DVTKit) 
22 0x0000000105ae95a0 __42-[DVTReplacementView _setupViewController]_block_invoke_0 (in DVTKit) 
23 0x00000001058f151e DVTInvokeWithFailureHint (in DVTFoundation) 
24 0x0000000105ae9473 -[DVTReplacementView _setupViewController] (in DVTKit) 
25 0x0000000105ae9345 -[DVTReplacementView installedViewController] (in DVTKit) 
26 0x0000000105af443c -[DVTReplacementView layoutTopDown] (in DVTKit) 
27 0x0000000105ae41c3 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit) 
28 0x0000000105ae4037 +[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:] (in DVTKit) 
29 0x0000000105af4028 -[DVTDelayedValidator doValidation:] (in DVTKit) 
30 0x00007fff90534e18 __NSFirePerformWithOrder (in Foundation) 
31 0x00007fff9217ff37 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ (in CoreFoundation) 
32 0x00007fff9217fe96 __CFRunLoopDoObservers (in CoreFoundation) 
33 0x00007fff92155159 __CFRunLoopRun (in CoreFoundation) 
34 0x00007fff92154ae6 CFRunLoopRunSpecific (in CoreFoundation) 
35 0x00007fff8cbc53d3 RunCurrentEventLoopInMode (in HIToolbox) 
36 0x00007fff8cbcc58f ReceiveNextEventCommon (in HIToolbox) 
37 0x00007fff8cbcc4ca BlockUntilNextEventMatchingListInMode (in HIToolbox) 
38 0x00007fff8d2093f1 _DPSNextEvent (in AppKit) 
39 0x00007fff8d208cf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit) 
40 0x00007fff8d20562d -[NSApplication run] (in AppKit) 
41 0x00007fff8d48480c NSApplicationMain (in AppKit) 
42 0x00000001058c0eec (in Xcode) 
+0

この投稿をチェックしてください:http://stackoverflow.com/questions/7752471/xcode-4-2-crashes-on-snow-leopard – Windy

+0

ありがとう、私はそれを試みました。現在オーガナイザー/リポジトリは私が試して開こうとするとクラッシュします。インスタントスプラット。私が〜/ .subversionフォルダを削除すると、そのフォルダに入ることができ、それにはゴミエントリがあります。私がそれらを削除しても、それは何の違いもなく、次に開くときにもクラッシュします。 – ragman

答えて

0

[OK]を、それを修正:

はここで最新のクラッシュスタックトレースです。

/Developer/Library/uninstall-devtoolsを使用してxcodeをもう一度(4回目)完全に削除しました。--mode = allその後、ユーザーディレクトリのファイルにあるすべての参照を削除しました。

例:〜/ Library/Cache com.apple.dt * com.apple.xcode *〜/ Library/Developer &〜/ Library/Cache

また、私のマシン上のすべてのSubversionファイルのすべてのトレースを削除しました。ああ、そしてxcodeを削除した後にリブートした後、もう一度他のファイルを削除してからxcodeをインストールしてからリブートしてください。今日はうまくいきます。

明らかに、xcodeがSubversionの処理コードでクラッシュする原因となっていたファイルがどこかにあることは明らかでした。

0

私は、仕事で新しいマシンを最初に設定したときにこれが起こりました。/Users/*user*//Library/Preferences/com.apple.dt.Xcode.plist私は手動で削除して編集しようとしましたが、xcodeは何とかそれを元に戻し続けました。

私の究極の解決策は、xcodeの設定でソースコントロールを無効にし、再起動(クラッシュなし)してからソースコントロールを再度有効にすることでした。また

関連:ターミナルでXcode 5 crashes with SVN version 1.7 - self signed certificate

2
defaults write com.apple.dt.xcode DVTSourceControlAccountDefaultsKey {} 
defaults write com.apple.dt.xcode IDESourceControlProjects {} 
defaults write com.apple.dt.xcode IDESourceControlRecentsFavoritesRepositoriesUserDefaultsKey {} 
defaults write com.apple.dt.xcode IDESourceControlRepositoryDefaultsKey {} 

^は(私は最近、同様の問題に自分自身を走っ)Xcodeの7ベータ3で私のための問題の問題をクリアしているようです。

関連する問題