Xcode 5 DP 6 crash when trying to run code on 2 devices simultaneously
| Originator: | pauley | ||
| Number: | rdar://14869822 | Date Originated: | 8-29-2013 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | |
| Classification: | Crash | Reproducible: | Always |
Summary: Running my app on two devices crashes Xcode. Steps to Reproduce: 1) Run an app on one iOS device 2) switch to the other device in the device picker menu 3) Run the app on the second device 4) crash Expected Results: No Crash Actual Results: Crash Regression: Used to work in Xcode DP5 as well as Xcode 4 Notes: Running the app from two devices simultaneously is absolutely critical for debugging device-to-device communication issues.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Crash log:
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information: ProductBuildVersion: 5A11386k ASSERTION FAILURE in /SourceCache/DVTFoundation/DVTFoundation-3524.1/Framework/Classes/FoundationClassCategories/DVTNSKeyValueObserving.m:427 Details: was never cancelled. Backtrace for allocation (if _creationBacktrace is set):
0 0x0000000104f00502 -DVTObservingToken init
1 0x0000000104e56932 -DVTObservingBlockToken initWithObservedObject:owner:
2 0x0000000104f01e52 -NSObject(DVTObservingConvenience) dvtnewObserverForKeyPath:options:owner:withHandlerBlock:
3 0x0000000104e81d33 -NSObject(DVTObservingConvenience) dvt_newObserverForKeyPath:options:withHandlerBlock:
4 0x000000011065c571 _65-[GPUCaptureButtonDebugBarContentProvider wasAttachedToDebugBar:]block_invoke (in GPUTraceDebuggerUI)
5 0x0000000104f013bb _73-[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:]block_invoke (in DVTFoundation)
6 0x0000000104f18618 DVTInvokeWithStrongOwnership (in DVTFoundation)
7 0x0000000104e56d59 -DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:
8 0x00007fff8d4977b7 NSKeyValueNotifyObserver (in Foundation)
9 0x00007fff8d4991c1 NSKeyValueDidChange (in Foundation)
10 0x00007fff8d45476a -NSObject(NSKeyValueObserverNotification) didChangeValueForKey:
11 0x000000011065ad60 _52-[GPUDebugBarContentProvider wasAttachedToDebugBar:]block_invoke (in GPUTraceDebuggerUI)
12 0x0000000104f013bb _73-[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:]block_invoke (in DVTFoundation)
13 0x0000000104f18618 DVTInvokeWithStrongOwnership (in DVTFoundation)
14 0x0000000104e56d59 -DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:
15 0x00007fff8d49966d -NSKeyValueObservance observeValueForKeyPath:ofObject:change:context:
16 0x00007fff8d4977b7 NSKeyValueNotifyObserver (in Foundation)
17 0x00007fff8d4991c1 NSKeyValueDidChange (in Foundation)
18 0x00007fff8d45476a -NSObject(NSKeyValueObserverNotification) didChangeValueForKey:
19 0x0000000106068bc9 -IDEWorkspaceTabController setCurrentLaunchSession:
20 0x00000001061182e4 _43-[IDEWorkspaceTabController viewDidInstall]block_invoke (in IDEKit)
21 0x0000000104f013bb _73-[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:]block_invoke (in DVTFoundation)
22 0x0000000104f18618 DVTInvokeWithStrongOwnership (in DVTFoundation)
23 0x0000000104e56d59 -DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:
24 0x00007fff8d49966d -NSKeyValueObservance observeValueForKeyPath:ofObject:change:context:
25 0x00007fff8d4977b7 NSKeyValueNotifyObserver (in Foundation)
26 0x00007fff8d4991c1 NSKeyValueDidChange (in Foundation)
27 0x00007fff8d45476a -NSObject(NSKeyValueObserverNotification) didChangeValueForKey:
28 0x000000010594d472 -IDEExecutionEnvironment setCurrentLaunchSession:
29 0x000000010594af03 -IDEExecutionEnvironment setSelectedLaunchSession:
30 0x000000010594d290 -IDEExecutionEnvironment _handleLaunchSession:stateChange:
31 0x000000010593b5c2 -IDEExecutionEnvironment observeValueForKeyPath:ofObject:change:context:
32 0x00007fff8d4977b7 NSKeyValueNotifyObserver (in Foundation)
33 0x00007fff8d4991c1 NSKeyValueDidChange (in Foundation)
34 0x00007fff8d45476a -NSObject(NSKeyValueObserverNotification) didChangeValueForKey:
35 0x00000001059511a6 -IDERunOperation runningDidFinish
36 0x00000001059510e0 -IDERunOperation _runningTrackerFinished:
37 0x0000000104f013bb _73-[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:]block_invoke (in DVTFoundation)
38 0x0000000104f18618 DVTInvokeWithStrongOwnership (in DVTFoundation)
...