• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: xcode code-indexing intermittent hangs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xcode code-indexing intermittent hangs


  • Subject: Re: xcode code-indexing intermittent hangs
  • From: Andrew Pontious <email@hidden>
  • Date: Wed, 13 May 2009 14:58:08 -0700

On May 12, 2009, at 12:46 PM, Dan Herman wrote:

On May 10, 2009, at 11:10 PM, Dan Herman wrote:

On May 9, 2009, at 6:17 PM, Andrew Pontious wrote:

Do your source code or header files use import or include statements like this?

#import <net/Something.h>

If so, this is a known Xcode bug -- Xcode is erroneously statting the /net directory on your machine, which then waits on network traffic.

This bug is fixed in the next version of Xcode.

Interesting... so I do have two such lines:

#include <net/if_dl.h>
#include <net/if_types.h>

but they've been there forever and this is a new problem... and it appears it is happening even when the file that contains those isn't affected by an edit.  But I'll try removing those tomorrow and let you know what I find.

Full prize points go to Andrew.  Commenting out those two lines prevents the hangs, as does disabling the ethernet port.  Thanks!

For bonus points: is there any workaround other than leaving my machine off the network?

I don't believe the workaround in the link in my previous email involves leaving your machine off the network. Instead, it involves "removing /net from the auto_master file". I won't pretend to know what that means exactly, but it's worth a shot. 

Here's the link again:

 http://lists.apple.com/archives/Xcode-users/2008/Aug/msg00376.html


-- Andrew
 _______________________________________________
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

References: 
 >xcode code-indexing intermittent hangs (From: Dan Herman <email@hidden>)
 >Re: xcode code-indexing intermittent hangs (From: Andrew Pontious <email@hidden>)
 >Re: xcode code-indexing intermittent hangs (From: Dan Herman <email@hidden>)
 >Re: xcode code-indexing intermittent hangs (From: Dan Herman <email@hidden>)

  • Prev by Date: Re: Groups vs. Folder Refs
  • Next by Date: Re: Groups vs. Folder Refs
  • Previous by thread: Re: xcode code-indexing intermittent hangs
  • Next by thread: category in static lib
  • Index(es):
    • Date
    • Thread