1 2 Previous Next 25 Replies Latest reply: Apr 3, 2012 2:57 PM by johankytt Go to original post
  • 15. Re: xcode encountered an internal logic error
    RobinFromSeraing Level 1 Level 1 (0 points)

    Hi all,

     

    I tried everything I found on this page, I read elsewhere that reinstalling iTunes might work...

    But I'm still getting the same errors every time I open Xcode :/

     

    Do you have any other idea?

     

    I join the error message :

    Xcode encountered an internal logic error. Choose "Continue" to continue running Xcode in an inconsistent state.  Choose "Crash" to halt Xcode and file a bug with Crash Reporter. Choosing "Crash" will result in the loss of all unsaved data.

     

    ASSERTION FAILURE in /SourceCache/IDELogNavigator/IDELogNavigator-820/IDELogNavigator.m:582

    Details:  (self.rootNavigableItem) should not be nil.

    Object:   <IDELogNavigator: 0x401c607c0>

    Method:   -revertStateWithDictionary:

    Thread:   <NSThread: 0x40010a260>{name = (null), num = 1}

    Hints:  

      0: Replacement view is installing: <IDELogNavigator: 0x401c607c0 representing: <DVTExtension 0x40103e200: Log Navigator (Xcode.IDEKit.Navigator.Logs) v0.1>>

    Backtrace: ...

     

    Thanks for your help,

  • 16. Re: xcode encountered an internal logic error
    Tim Fall Level 1 Level 1 (65 points)

    Sorry to ask something obvious, but have you cleared out all the previous XCode data before installing 4? Most of the previous problems came from carry-overs from previous XCode installations.

  • 17. Re: xcode encountered an internal logic error
    RobinFromSeraing Level 1 Level 1 (0 points)

    I typed the following commands in the terminal as Andreas suggested :

     

    sudo tmutil disablelocal

    sudo /Developer/Library/uninstall-devtools --mode=all

    sudo /Developer-3.2.2/Library/uninstall-devtools --mode=all

    sudo tmutil enablelocal

     

    Then I deleted the folders "Developer" and "Developer-3.2.2".

     

    Is there something else to delete?

    I'll give it another try.

     

     

    Thanks for your help!

     

    EDIT : actually, the second comman didn't work as I don't have a developer-3.2.2 file.

  • 18. Re: xcode encountered an internal logic error
    RobinFromSeraing Level 1 Level 1 (0 points)

    I tried again and I get this error when lauching Xcode :

     

     

    ASSERTION FAILURE in /SourceCache/IDELogNavigator/IDELogNavigator-820/IDELogNavigator.m:582

    Details:  (self.rootNavigableItem) should not be nil.

    Object:   <IDELogNavigator: 0x4020b39e0>

    Method:   -revertStateWithDictionary:

    Thread:   <NSThread: 0x40010a260>{name = (null), num = 1}

    Hints:  

      0: Replacement view is installing: <IDELogNavigator: 0x4020b39e0 representing: <DVTExtension 0x400be92c0: Log Navigator (Xcode.IDEKit.Navigator.Logs) v0.1>>

    Backtrace:

      0  0x00000001080ed366 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)

      1  0x000000010775a1a4 _DVTAssertionFailureHandler (in DVTFoundation)

      2  0x000000010daf3cb1 -[IDELogNavigator revertStateWithDictionary:] (in IDELogNavigator)

      3  0x000000010771ce5b -[DVTStateToken _pullStateFromDictionary:] (in DVTFoundation)

      4  0x000000010771cc12 -[DVTStateToken pullStateFromRepository] (in DVTFoundation)

      5  0x000000010803833d -[IDENavigatorArea replacementView:didInstallViewController:] (in IDEKit)

      6  0x00000001079155f1 __42-[DVTReplacementView _setupViewController]_block_invoke_0 (in DVTKit)

      7  0x000000010771df4e DVTInvokeWithFailureHint (in DVTFoundation)

      8  0x0000000107915473 -[DVTReplacementView _setupViewController] (in DVTKit)

      9  0x0000000107915345 -[DVTReplacementView installedViewController] (in DVTKit)

    10  0x000000010792043c -[DVTReplacementView layoutTopDown] (in DVTKit)

    11  0x00000001079101c3 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)

    12  0x0000000107910272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)

    13  0x0000000107910272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)

    14  0x0000000107910272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)

    15  0x0000000107910272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)

    16  0x0000000107910272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)

    17  0x0000000107910272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)

    18  0x0000000107910272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)

    19  0x0000000107910272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)

    20  0x0000000107910272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)

    21  0x0000000107910037 +[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:] (in DVTKit)

    22  0x0000000107920028 -[DVTDelayedValidator doValidation:] (in DVTKit)

    23  0x00007fff91710e18 __NSFirePerformWithOrder (in Foundation)

    24  0x00007fff86786f37 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ (in CoreFoundation)

    25  0x00007fff86786e96 __CFRunLoopDoObservers (in CoreFoundation)

    26  0x00007fff8675c159 __CFRunLoopRun (in CoreFoundation)

    27  0x00007fff8675bae6 CFRunLoopRunSpecific (in CoreFoundation)

    28  0x00007fff88a773d3 RunCurrentEventLoopInMode (in HIToolbox)

    29  0x00007fff88a7e63d ReceiveNextEventCommon (in HIToolbox)

    30  0x00007fff88a7e4ca BlockUntilNextEventMatchingListInMode (in HIToolbox)

    31  0x00007fff8bc713f1 _DPSNextEvent (in AppKit)

    32  0x00007fff8bc70cf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)

    33  0x00007fff8bc6d62d -[NSApplication run] (in AppKit)

    34  0x00007fff8beec80c NSApplicationMain (in AppKit)

    35  0x00000001076eaeec (in Xcode)

    36  0x0000000000000002

     

  • 19. Re: xcode encountered an internal logic error
    Tim Fall Level 1 Level 1 (65 points)

    Were you reinstalling XCode 4 before you ran it? It might be worth trying something like CleanApp to make sure everything is gone before reinstalling.

  • 20. Re: xcode encountered an internal logic error
    RobinFromSeraing Level 1 Level 1 (0 points)

    Nope, I still get the same crash :/

     

    Any other idea?

  • 21. Re: xcode encountered an internal logic error
    Andreas Schuderer Level 2 Level 2 (215 points)

    I'm afraid I don't have specific ideas about the situation, the way I go about it, I would try these things:

     

    1. Restart machine

    2. Create a new/fresh user and try to start XCode from that new user account.

    3. If (2) worked, delete XCode prefs/caches from your current user (something CleanApp might be able to do this).

    4. ???

    5. Reinstall machine

  • 22. Re: xcode encountered an internal logic error
    RobinFromSeraing Level 1 Level 1 (0 points)

    I think I'll have to go with the last option

     

    Thanks anyway!

  • 23. Re: xcode encountered an internal logic error
    Glenn Cogar Level 1 Level 1 (45 points)

    Hi, I had the same problem, after install of Xcode 4, kept crashing with error messages quoted by others ("internal error").

     

    I trashed the old Developer directory and re-installed and all is now OK.

  • 24. Re: xcode encountered an internal logic error
    Jay Lichtenauer Level 1 Level 1 (0 points)

    Mine crashed at startup without opening a project.

     

    ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilder/IDEInterfaceBuilder-1617/Framework/Utilities/I BFoundationAdditions.m:303

     

    Deleting ~/Library/Cache/com.apple.dt.Xcode fixed it.

  • 25. Re: xcode encountered an internal logic error
    johankytt Level 1 Level 1 (0 points)

    Cheers, Axello :-)

    Tried your option before any of the others and it seems to have worked.

     

    I got the error after compiling an edited source file.

1 2 Previous Next