2012-05-05 13 views
4

LLDBに設定されたデバッガでいくつかのアプリケーションを実行しようとすると、Xcode 4.3がインストールされてから(アプリケーションストアから)、Xcodeがクラッシュします。 GDBは正常に動作します。LLDBを使用するとXcode 4.3がクラッシュする

私はすでにiTunesを再インストールし、xcodeのすべての痕跡を削除して再インストールしました。また、.x​​ibファイルを削除してプロジェクトに再追加しようとしました。

すべてのヘルプはここで素晴らしい:)

だろう生成されたレポートの一部です:

Process: Xcode [2102] Path:
/Applications/Xcode.app/Contents/MacOS/Xcode Identifier:
com.apple.dt.Xcode Version: 4.3.2 (1177) Code Type:
X86-64 (Native)

Date/Time: 2012-05-05 11:02:34.865 +1000 OS Version: Mac OS X 10.7.3 (11D50b) Report Version: 9

Interval Since Last Report: 2063 sec Crashes Since Last Report: 7 Per-App Interval Since Last Report: 882 sec Per-App Crashes Since Last Report: 7

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information: ProductBuildVersion: 4E2002 UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Couldn't load plug-in 'com.apple.dt.dbg.DebuggerLLDB' while firing fault for extension 'Xcode.DebuggerFoundation.Debugger.LLDB' UserInfo: { NSUnderlyingError = "Error Domain=DVTPlugInErrorDomain Code=2 \"Loading a plug-in failed.\" UserInfo=0x402a89c20 {DVTPlugInIdentifierErrorKey=com.apple.dt.dbg.DebuggerLLDB, DVTPlugInExecutablePathErrorKey=/Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB, NSLocalizedRecoverySuggestion=The plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled., NSLocalizedDescription=Loading a plug-in failed., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin, NSLocalizedFailureReason=The plug-in \U201ccom.apple.dt.dbg.DebuggerLLDB\U201d at path \U201c/Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin\U201d could not be loaded. The plug-in or one of its prerequisite plug-ins may be missing or damaged., NSUnderlyingError=0x4003c62e0 \"The bundle \U201cDebuggerLLDB\U201d couldn\U2019t be loaded because it is damaged or missing necessary resources.\"}"; } Hints: None Backtrace: 0 0x00007fff945fcfaa __exceptionPreprocess (in CoreFoundation) 1 0x00007fff8c9add5e objc_exception_throw (in libobjc.A.dylib) 2 0x000000010f1b207f -[DVTExtension _fireExtensionFault] (in DVTFoundation) 3 0x000000010f22c666 __DVTDispatchSync_block_invoke_0 (in DVTFoundation) 4 0x00007fff90a53aad _dispatch_barrier_sync_f_invoke (in libdispatch.dylib) 5 0x000000010f22c483 DVTDispatchSync (in DVTFoundation) 6 0x000000010f22c297 DVTSyncPerformBlock (in DVTFoundation) 7 0x000000010f18e69b -[DVTDispatchLock performLockedBlock:] (in DVTFoundation) 8 0x000000010f1b1e32 -[DVTExtension _valueForKey:inParameterData:usingSchema:] (in DVTFoundation) 9 0x000000010f1b1d6f -[DVTExtension valueForKey:] (in DVTFoundation) 10 0x0000000116707322 -[DBGLLDBDebugLocalService operationWorkerWithLaunchSession:error:] (in DebuggerLLDBService) 11 0x0000000116cc10b8 (in IDEiPhoneSupport) 12 0x000000010f85f9d3 -[IDERunDestination runOperationForLaunchSession:error:] (in IDEFoundation) 13 0x000000010f85e690 -[IDELaunchSchemeAction runOperationForExecutionEnvironment:withBuildOperation:buildParameters:buildableProductDirectories:runDestination:outError:] (in IDEFoundation) 14 0x000000010f85a5d0 -[IDEScheme _executionOperationForExecutionEnvironment:build:onlyBuild:buildPurpose:buildCommand:schemeCommand:overridingProperties:destination:buildLog:filePath:error:testCallbackBlock:] (in IDEFoundation) 15 0x000000010f85dc0b -[IDEScheme runWithExecutionContext:buildIfNeeded:onlyBuild:destination:overridingProperties:commandName:error:] (in IDEFoundation) 16 0x000000010fc8cdfc -[IDEWorkspaceTabController _actuallyPerformContextTask:command:commandName:buildCommand:filePath:completionBlock:] (in IDEKit) 17 0x000000010fd354aa __107-[IDEWorkspaceTabController _performContextTask:command:commandName:buildCommand:filePath:completionBlock:]_block_invoke_0 (in IDEKit) 18 0x000000010fc8cab3 -[IDEWorkspaceTabController _performContextTask:command:commandName:buildCommand:filePath:completionBlock:] (in IDEKit) 19 0x000000010fd3578e __101-[IDEWorkspaceTabController _performDebuggableContextTask:command:commandName:buildCommand:filePath:]_block_invoke_0 (in IDEKit) 20 0x00000001109e62e8 -[DVTDeveloperModeAlertHelper _askToEnableDeveloperModeIfNecessary] (in DVTDeveloperModeHelper) 21 0x000000010fcb85aa -[IDEWorkspaceTabController _performDebuggableContextTask:command:commandName:buildCommand:filePath:] (in IDEKit) 22 0x000000010fcb83e5 -[IDEWorkspaceTabController runActiveRunContext:] (in IDEKit) 23 0x00007fff945ec75d -[NSObject performSelector:withObject:] (in CoreFoundation) 24 0x00007fff913f1cb2 -[NSApplication sendAction:to:from:] (in AppKit) 25 0x000000010f4838b6 -[DVTApplication sendAction:to:from:] (in DVTKit) 26 0x000000010fbd2096 -[IDEApplication sendAction:to:from:] (in IDEKit) 27 0x00007fff945ec75d -[NSObject performSelector:withObject:] (in CoreFoundation) 28 0x00007fff913f1cb2 -[NSApplication sendAction:to:from:] (in AppKit) 29 0x000000010f4838b6 -[DVTApplication sendAction:to:from:] (in DVTKit) 30 0x000000010fbd2096 -[IDEApplication sendAction:to:from:] (in IDEKit) 31 0x000000010f53ea10 -[DVTDelayedMenuButtonCell trackMouse:inRect:ofView:untilMouseUp:] (in DVTKit) 32 0x00007fff913efbde -[NSControl mouseDown:] (in AppKit) 33 0x00007fff913ba6e0 -[NSWindow sendEvent:] (in AppKit) 34 0x00007fff9135316d -[NSApplication sendEvent:] (in AppKit) 35 0x000000010fbcddd1 -[IDEApplication sendEvent:] (in IDEKit) 36 0x00007fff912e91f2 -[NSApplication run] (in AppKit) 37 0x00007fff91567b88 NSApplicationMain (in AppKit) 38 0x000000010f188eec (in Xcode) Performing @selector(performRunAction:) from sender IDERunPauseContinueToolbarButton 0x401e634a0 objc[2102]: garbage collection is ON abort() called

+0

解決策[ここ]をチェックアウト(http://stackoverflow.com/questions/11905378/xcode-4-3-4-4-crashes-with-breakpoints-using-lldb-breakpoints-useless-with-gdb/ 11961253?iemail = 1#11961253)。それは私のために完璧に働いた。 – calql8edkos

答えて

6

こんにちは、私は同じ問題を抱えていると私はアップルに報告し、彼らがあるバグを私に言いました彼らはそれについて知っている、私の周りの唯一の方法は、アップルがバグを修正するまで、コンパイラをGDBに変えることだ。

+0

私はちょうど更新を待つ必要があると思う:) – Marty

0

Mountain Lion(10.8.2)、Xcode 4.5.1の時点でまだ私のために働いていません。削除して再インストールしてみました。私がまだ学んでいるように、これは私にとって大きな問題ではありません(今スタンフォードコース&でBig Nerd Ranchの本をやっていたのですが)、私は人々が私に感謝しないようなチームワークを始めると想像しますLLDBからGDBへのプロダクト・スキームを使用するだけで、シミュレータを実行できます。

5

私は次のように問題を解決しています:あなたには役に立つかもしれません。ターミナルでlldbコマンドを実行しようとすると、私のlldbがpython 2.7を必要とするような結果になります。 clang、Pythonのバージョンが2.6に変更されたので、python 2.7.my lldbをうまく再インストールしました。

1

Xcode 4.6.1にアップグレードしましたか?もしそうなら、Pythonを再インストールする2.7がなければ/System/Library/Frameworks/Python.framework/Versions/2.7を探してください。 Python.orgにはMAC用のインストーラがあります。 Btw Currentと呼ばれるフォルダを削除しないでCurrentを表示すると、2.7が表示されます。私はLLDBの問題を抱えていました。これは私がやったことであり、すべてがうまくいきました。

1

私はPythonを自作してインストールしたときも同じ問題がありました。

sudo ln -s /usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions /System/Library/Frameworks/Python.framework/Versions 

、問題が解決された:

私はこれをしませんでした。

関連する問題