xcode4 and Lion causes freezes when saving
xcode4 and Lion causes freezes when saving
- Subject: xcode4 and Lion causes freezes when saving
- From: Robert <email@hidden>
- Date: Tue, 01 Nov 2011 14:05:19 -0500
Has anybody seen freezes (beachballing) in xCode4.2 on Lion on a MacbookPro when trying to save files? It beachballs from 30 seconds to a minute, sometimes for so long that it gets force quitted. A bug report to Apple will be written up - but was hoping somebody might have any ideas or clues in the meantime.
It doesn't happen on every save - just every once in a while
thanks in advance,
Here's a sample if anybody is interested:
Sampling process 388 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling Xcode (pid 388) every 1 millisecond
Process: Xcode [388]
Path: /Developer/Applications/Xcode.app/Contents/MacOS/Xcode
Load Address: 0x102e5e000
Identifier: com.apple.dt.Xcode
Version: 4.2 (828)
Build Info: IDEApplication-828000000000000~138
Code Type: X86-64 (Native)
Parent Process: launchd [274]
Date/Time: 2011-11-01 13:55:39.817 -0500
OS Version: Mac OS X 10.7.2 (11C74)
Report Version: 7
Call graph:
2673 Thread_4407 DispatchQueue_1: com.apple.main-thread (serial)
+ 2673 ??? (in Xcode) load address 0x102e5e000 + 0xeec [0x102e5eeec]
+ 2673 NSApplicationMain (in AppKit) + 867 [0x7fff93f7080c]
+ 2673 -[NSApplication run] (in AppKit) + 555 [0x7fff93cf1682]
+ 2673 -[IDEApplication sendEvent:] (in IDEKit) + 366 [0x103761b71]
+ 2673 -[NSApplication sendEvent:] (in AppKit) + 4282 [0x7fff93d5b170]
+ 2673 -[NSApplication _handleKeyEquivalent:] (in AppKit) + 526 [0x7fff93e6388d]
+ 2673 -[NSMenu performKeyEquivalent:] (in AppKit) + 281 [0x7fff93e64c3a]
+ 2673 CFRunLoopRunSpecific (in CoreFoundation) + 230 [0x7fff8b86dae6]
+ 2673 __CFRunLoopRun (in CoreFoundation) + 1724 [0x7fff8b86e4dc]
+ 2673 _dispatch_main_queue_callback_4CF (in libdispatch.dylib) + 308 [0x7fff8b11672a]
+ 2673 _dispatch_call_block_and_release (in libdispatch.dylib) + 18 [0x7fff8b1148ba]
+ 2673 __-[NSDocumentController(NSInternal) _onMainThreadInvokeWorker:]_block_invoke_3 (in AppKit) + 492 [0x7fff940c4333]
+ 2673 __-[NSDocument performAsynchronousFileAccessUsingBlock:]_block_invoke_6 (in AppKit) + 94 [0x7fff94093cad]
+ 2673 -[IDEEditorDocument continueFileAccessUsingBlock:] (in IDEKit) + 71 [0x1038829db]
+ 2673 -[NSDocument continueFileAccessUsingBlock:] (in AppKit) + 227 [0x7fff94093898]
+ 2673 __-[NSDocument saveToURL:ofType:forSaveOperation:completionHandler:]_block_invoke_1 (in AppKit) + 845 [0x7fff94098702]
+ 2673 -[NSDocument _fileCoordinator:coordinateReadingContentsAndWritingItemAtURL:byAccessor:] (in AppKit) + 248 [0x7fff940aa25c]
+ 2673 -[NSFileCoordinator(NSPrivate) _coordinateReadingItemAtURL:options:writingItemAtURL:options:error:byAccessor:] (in Foundation) + 829 [0x7fff92422e65]
+ 2673 -[NSFileCoordinator(NSPrivate) _invokeAccessor:orDont:thenRelinquishAccessClaimForID:] (in Foundation) + 207 [0x7fff9241fa8d]
+ 2673 __-[NSDocument saveToURL:ofType:forSaveOperation:completionHandler:]_block_invoke_7 (in AppKit) + 1313 [0x7fff940b4c80]
+ 2673 __-[NSDocument saveToURL:ofType:forSaveOperation:completionHandler:]_block_invoke_14 (in AppKit) + 502 [0x7fff940b435a]
+ 2673 -[NSDocument _preserveContentsIfNecessaryAfterWriting:toURL:forSaveOperation:version:error:] (in AppKit) + 286 [0x7fff940aa004]
+ 2673 -[NSDocument _preserveContentsOfURL:forReason:comment:options:error:] (in AppKit) + 286 [0x7fff940a7c57]
+ 2673 +[NSFileVersion(NSPrivate) _addVersionOfItemAtURL:withContentsOfURL:options:temporaryStorageIdentifier:error:] (in Foundation) + 64 [0x7fff9244012b]
+ 2673 +[NSFileVersion(NSPrivate) _libraryForURL:clientID:temporaryStorageIdentifier:] (in Foundation) + 51 [0x7fff9243f941]
+ 2673 GSLibraryCreateForFile (in GenerationalStorage) + 529 [0x7fff8b2023b1]
+ 2673 ipc_checkin_client (in GenerationalStorage) + 231 [0x7fff8b1f509d]
+ 2673 mach_msg (in libsystem_kernel.dylib) + 73 [0x7fff9075dd71]
+ 2673 mach_msg_trap (in libsystem_kernel.dylib) + 10 [0x7fff9075e67a]
2673 Thread_4419 DispatchQueue_2: com.apple.libdispatch-manager (serial)
+ 2673 _dispatch_mgr_thread (in libdispatch.dylib) + 54 [0x7fff8b11514e]
+ 2673 _dispatch_mgr_invoke (in libdispatch.dylib) + 923 [0x7fff8b1165be]
+ 2673 kevent (in libsystem_kernel.dylib) + 10 [0x7fff907607e6]
2673 Thread_4443
+ 2673 thread_start (in libsystem_c.dylib) + 13 [0x7fff91e87b75]
+ 2673 _pthread_start (in libsystem_c.dylib) + 335 [0x7fff91e848bf]
+ 2673 __NSThread__main__ (in Foundation) + 1575 [0x7fff9228d776]
+ 2673 -[NSThread main] (in Foundation) + 68 [0x7fff9228d7fe]
+ 2673 -[DTDKRemoteDeviceDataListener listenerThreadImplementation] (in DTDeviceKit) + 257 [0x105a3db24]
+ 2673 CFRunLoopRunSpecific (in CoreFoundation) + 230 [0x7fff8b86dae6]
+ 2673 __CFRunLoopRun (in CoreFoundation) + 1204 [0x7fff8b86e2d4]
+ 2673 __CFRunLoopServiceMachPort (in CoreFoundation) + 188 [0x7fff8b865b6c]
+ 2673 mach_msg (in libsystem_kernel.dylib) + 73 [0x7fff9075dd71]
+ 2673 mach_msg_trap (in libsystem_kernel.dylib) + 10 [0x7fff9075e67a]
2673 Thread_4444: com.apple.CFSocket.private
+ 2673 thread_start (in libsystem_c.dylib) + 13 [0x7fff91e87b75]
+ 2673 _pthread_start (in libsystem_c.dylib) + 335 [0x7fff91e848bf]
+ 2673 __CFSocketManager (in CoreFoundation) + 1355 [0x7fff8b8b6f9b]
+ 2673 __select (in libsystem_kernel.dylib) + 10 [0x7fff9075fdf2]
2673 Thread_4452: com.apple.NSURLConnectionLoader
+ 2673 thread_start (in libsystem_c.dylib) + 13 [0x7fff91e87b75]
+ 2673 _pthread_start (in libsystem_c.dylib) + 335 [0x7fff91e848bf]
+ 2673 __NSThread__main__ (in Foundation) + 1575 [0x7fff9228d776]
+ 2673 -[NSThread main] (in Foundation) + 68 [0x7fff9228d7fe]
+ 2673 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] (in Foundation) + 335 [0x7fff922990ab]
+ 2673 CFRunLoopRunSpecific (in CoreFoundation) + 230 [0x7fff8b86dae6]
+ 2673 __CFRunLoopRun (in CoreFoundation) + 1204 [0x7fff8b86e2d4]
+ 2673 __CFRunLoopServiceMachPort (in CoreFoundation) + 188 [0x7fff8b865b6c]
+ 2673 mach_msg (in libsystem_kernel.dylib) + 73 [0x7fff9075dd71]
+ 2673 mach_msg_trap (in libsystem_kernel.dylib) + 10 [0x7fff9075e67a]
2673 Thread_4493: DYMobileDeviceManager
+ 2673 thread_start (in libsystem_c.dylib) + 13 [0x7fff91e87b75]
+ 2673 _pthread_start (in libsystem_c.dylib) + 335 [0x7fff91e848bf]
+ 2673 __NSThread__main__ (in Foundation) + 1575 [0x7fff9228d776]
+ 2673 -[NSThread main] (in Foundation) + 68 [0x7fff9228d7fe]
+ 2673 -[NSRunLoop(NSRunLoop) run] (in Foundation) + 62 [0x7fff9223ef3b]
+ 2673 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] (in Foundation) + 267 [0x7fff9223f04f]
+ 2673 CFRunLoopRunSpecific (in CoreFoundation) + 230 [0x7fff8b86dae6]
+ 2673 __CFRunLoopRun (in CoreFoundation) + 1204 [0x7fff8b86e2d4]
+ 2673 __CFRunLoopServiceMachPort (in CoreFoundation) + 188 [0x7fff8b865b6c]
+ 2673 mach_msg (in libsystem_kernel.dylib) + 73 [0x7fff9075dd71]
+ 2673 mach_msg_trap (in libsystem_kernel.dylib) + 10 [0x7fff9075e67a]
2673 Thread_4504: CVDisplayLink
+ 2673 thread_start (in libsystem_c.dylib) + 13 [0x7fff91e87b75]
+ 2673 _pthread_start (in libsystem_c.dylib) + 335 [0x7fff91e848bf]
+ 2673 _ZL13startIOThreadPv (in CoreVideo) + 148 [0x7fff8c00c85d]
+ 2673 CVDisplayLink::runIOThread() (in CoreVideo) + 710 [0x7fff8c00cb3c]
+ 2673 _pthread_cond_wait (in libsystem_c.dylib) + 840 [0x7fff91e88274]
+ 2673 __psynch_cvwait (in libsystem_kernel.dylib) + 10 [0x7fff9075fbca]
2673 Thread_4512: WebCore: LocalStorage
+ 2673 thread_start (in libsystem_c.dylib) + 13 [0x7fff91e87b75]
+ 2673 _pthread_start (in libsystem_c.dylib) + 335 [0x7fff91e848bf]
+ 2673 WebCore::LocalStorageThread::threadEntryPointCallback(void*) (in WebCore) + 9 [0x7fff8a171c6b]
+ 2673 WebCore::LocalStorageThread::threadEntryPoint() (in WebCore) + 99 [0x7fff8a171d23]
+ 2673 WTF::MessageQueue<WebCore::LocalStorageTask>::waitForMessage() (in WebCore) + 132 [0x7fff8a171dca]
+ 2673 WTF::ThreadCondition::timedWait(WTF::Mutex&, double) (in JavaScriptCore) + 64 [0x7fff93a10c40]
+ 2673 _pthread_cond_wait (in libsystem_c.dylib) + 840 [0x7fff91e88274]
+ 2673 __psynch_cvwait (in libsystem_kernel.dylib) + 10 [0x7fff9075fbca]
2673 Thread_4591
+ 2673 thread_start (in libsystem_c.dylib) + 13 [0x7fff91e87b75]
+ 2673 _pthread_start (in libsystem_c.dylib) + 335 [0x7fff91e848bf]
+ 2673 __NSThread__main__ (in Foundation) + 1575 [0x7fff9228d776]
+ 2673 -[NSThread main] (in Foundation) + 68 [0x7fff9228d7fe]
+ 2673 -[XCInvocationQueue _processInvocationsInThreadSlotNumber:] (in DevToolsCore) + 314 [0x10707d5dc]
+ 2673 _pthread_cond_wait (in libsystem_c.dylib) + 840 [0x7fff91e88274]
+ 2673 __psynch_cvwait (in libsystem_kernel.dylib) + 10 [0x7fff9075fbca]
2673 Thread_45053
+ 2673 thread_start (in libsystem_c.dylib) + 13 [0x7fff91e87b75]
+ 2673 _pthread_start (in libsystem_c.dylib) + 335 [0x7fff91e848bf]
+ 2673 __NSThread__main__ (in Foundation) + 1575 [0x7fff9228d776]
+ 2673 -[NSThread main] (in Foundation) + 68 [0x7fff9228d7fe]
+ 2673 ??? (in IDEiPhoneSupport) load address 0x10591e000 + 0x2f861 [0x10594d861]
+ 2673 -[NSCondition wait] (in Foundation) + 261 [0x7fff9228f594]
+ 2673 _pthread_cond_wait (in libsystem_c.dylib) + 840 [0x7fff91e88274]
+ 2673 __psynch_cvwait (in libsystem_kernel.dylib) + 10 [0x7fff9075fbca]
2673 Thread_78700 DispatchQueue_4: com.apple.root.low-priority (concurrent)
2673 start_wqthread (in libsystem_c.dylib) + 13 [0x7fff91e87b85]
2673 _pthread_wqthread (in libsystem_c.dylib) + 316 [0x7fff91e863da]
2673 _dispatch_worker_thread2 (in libdispatch.dylib) + 255 [0x7fff8b115799]
2673 _dispatch_call_block_and_release (in libdispatch.dylib) + 18 [0x7fff8b1148ba]
2673 -[NSDocument _cleanupOldVersions] (in AppKit) + 165 [0x7fff9409a230]
2673 +[NSFileVersion(NSPrivate) _otherVersionsOfItemAtURL:temporaryStorageIdentifier:] (in Foundation) + 410 [0x7fff9243febb]
2673 GSLibraryCopyAllGenerationPathsForFile (in GenerationalStorage) + 288 [0x7fff8b2065c6]
2673 ipc_list_all_generation_paths (in GenerationalStorage) + 166 [0x7fff8b1f6fab]
2673 mach_msg (in libsystem_kernel.dylib) + 73 [0x7fff9075dd71]
2673 mach_msg_trap (in libsystem_kernel.dylib) + 10 [0x7fff9075e67a] _______________________________________________
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