To answer my own question, I seem to be running into the issue alluded to here:
http://www.cocoabuilder.com/archive/message/xcode/2008/8/1/23833 When Xcode is building the cross-reference index, it makes a lot of calls to 'lstat'. Some of these calls are for relative paths beginning with 'net/', such as 'net/base'. If this relative path does not exist, lstat seems to launch a DNS query for the bit that comes after 'net/', such as, in this example, 'base'. The DNS proxy running on my horrible, vile, spawn-of-satan D-Link router returns a 'server fail' response to this query after a significant delay. This delay appears to be responsible for the hangs in Xcode. Why this DNS query is launched is a mystery to me. Presumably it's some sort of shortcut for looking up network resources that's being inadvertently invoked here. A simple test program making a similar call to lstat doesn't give the same result. Workaround: disconnect from the network while the cross-ref database is being built. Once it's done, Xcode behaves well enough with the network connected. On May 3, 8:58 pm, Aron <[email protected]> wrote: > I downloaded and built the source on my Mac per the instructions, and > had no troubles. When I try to browse around the source, though, XCode > quickly hangs, giving me the SBBOD. If I leave it running, it will > periodically become responsive, but before I'm able to do anything, > it's back to its old hanging tricks again. My assumption is that the > sheer bulk of the code is giving it fits. > > The only console log messages I see are a series of memory-management- > related warnings that don't seem terribly relevant: > Xcode(29464,0xb0103000) malloc: free_garbage: garbage ptr = 0x6ac9c00, > has non-zero refcount = 1 > > Has anybody had similar issues? Any suggestions? > > I'm running on a new-model MacBook Pro with plenty of RAM and HD > space. I'm on Xcode 3.1.2. > > Cheers, > Aron --~--~---------~--~----~------------~-------~--~----~ Chromium Discussion mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-discuss -~----------~----~----~----~------~----~------~--~---
