Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode 3.1 frequently hangs



On Thu, Jul 31, 2008 at 3:49 AM, Aaron Burghardt <email@hidden> wrote:
>
> On Jul 30, 2008, at 10:03 PM, Larry Emdur wrote:
>
>> On Wed, Jul 30, 2008 at 11:56 AM, Andrew Pontious <email@hidden>
>> wrote:
>>>
>>> On Jul 30, 2008, at 3:42 AM, Aaron Burghardt wrote:
>>>
>>>> just edited.  Can you comment out any single #include and affect the
>>>> symptom?
>>>>
>>>> $ sudo fs_usage -f filesys 48965 | grep lstat
>>>> 06:08:10  lstat
>>>
>
>>> This would just be to tell which file was involved, correct? It's true
>>> that
>>> it might tell us something if it's always the same file.
>>>
>
> Correct.
>
>>> Larry, if you could try this investigation with fs_usage, I would
>>> appreciate
>>> it. We've had reports of this issue, but we've never been able to
>>> reproduce
>>> it under laboratory conditions.
>>>
>
>> The result of fs_usage showed that it is always the same file:
>>
>> lstat             net/kpi_interface.h
>>                          10.154884 W Xcode
>>
>> All other files are very quick: around 0.000003s
>
>
> If you run "locate kpi_interface.h", do you get this list?
>
> $ locate kpi_interface.h
> /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h
> /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h
> /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h

Apart from some local copies of xnu I have lying around I get this:

/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h
/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h
/Users/laz/Documents/Apple/xnu-1228.5.18/bsd/net/kpi_interface.h
/Users/laz/Documents/Apple/xnu-792.25.20/bsd/net/kpi_interface.h



> Do any of the  kpi_interface.h files hang if you stat them in Terminal? Such
> as:
>
> $ for file in `locate kpi_interface.h` ; do  stat $file ;  done

No, its practically instant when I run that command

> If you don't have a "locate" database, just stat each version on the command
> line.
>
> Do the files open quickly in apps other than Xcode?

I just ran open <FILE> on all the files listed in locate, and they all
opened instantly.


Following Mike's advice, another interesting thing is that if I
disconnect from the network, I dont see the problem! In this
situation, fs_usage gives me:

lstat    net/kpi_interfacefilter.h       0.003654 W Xcode

Laz
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >Re: XCode 3.1 frequently hangs (From: Greg Guerin <email@hidden>)
 >Re: XCode 3.1 frequently hangs (From: Larry Emdur <email@hidden>)
 >Re: XCode 3.1 frequently hangs (From: Andrew Pontious <email@hidden>)
 >Re: XCode 3.1 frequently hangs (From: "Larry Emdur" <email@hidden>)
 >Re: XCode 3.1 frequently hangs (From: Aaron Burghardt <email@hidden>)
 >Re: XCode 3.1 frequently hangs (From: Andrew Pontious <email@hidden>)
 >Re: XCode 3.1 frequently hangs (From: "Larry Emdur" <email@hidden>)
 >Re: XCode 3.1 frequently hangs (From: Aaron Burghardt <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.