Consecutive screenshots from View Debugging menu consistently crashes Xcode 9.1 beta

Originator:danny
Number:rdar://35035445 Date Originated:10/17/2017
Status: Resolved:
Product:Xcode Product Version:9.1 (13531)
Classification:Developer Tools Reproducible:Always
 
FWIW, this is the first bug I have filed on here. Copied and pasted my bug report from: https://bugreport.apple.com/web/?problemID=35035445

Summary:

The crash is taking place when I use the Xcode menu to take a screenshot of a connected device (Debug > View Debugging > Take Screenshot of [device]). Specifically, if you try to take consecutive screenshots. This happened with Hazel running and not running, so I don't think that is conflating the issue.

Steps to Reproduce:
1. Connect a device and select it in Xcode
2. On the device, choose the Notes, Mail, or Safari app so it appears on the device screen
3. Go to Debug > View Debugging > and click "Take Screenshot of [device]"
4. Repeat step 3
5. Crash!

Expected Results:
I should be able to take the second screenshot even though I took another screenshot right before it.

Actual Results:
Xcode crashes when I attempt to take the second screenshot. The second screenshot is never actually captured. I have not tested all apps, obviously, but this reproduces when the connected device is running the iOS Notes, Mail, and Safari apps, as well as when using the app I test (Circle by Swedish, and our related apps). It does not reproduce if I am running the App Store app though.

Version/Build:
Version 9.1 (13531)

Configuration:
Model: MacBookPro13,3, BootROM MBP133.0226.B25, 4 processors, Intel Core i7, 2.6 GHz, 16 GB, SMC 2.38f7
Graphics: Radeon Pro 460, AMD Radeon Pro 460, PCIe, 4096 MB
Graphics: Intel HD Graphics 530, Intel HD Graphics 530, Built-In
Memory Module: BANK 0/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x80CE, 0x4B3445424533303445422D45474347202020
Memory Module: BANK 1/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x80CE, 0x4B3445424533303445422D45474347202020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x15A), Broadcom BCM43xx 1.0 (7.21.171.130.1a1)
Bluetooth: Version 5.0.5f1, 3 services, 27 devices, 1 incoming serial ports
Network Service: iPhone, Ethernet, en7
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.0 Bus
USB Device: iBridge
USB Device: USB2.0 Hub
USB Device: USB2.0 Hub
USB Device: USB2.0 Hub
USB Device: iPhone
USB Device: iPhone
USB Device: Nexus 7
USB Device: USB-C Digital AV Multiport Adapter
USB Device: USB3.0 Hub
USB Device: USB3.0 Hub
USB Device: USB3.0 Hub
Thunderbolt Bus: MacBook Pro, Apple Inc., 22.1
Thunderbolt Bus: MacBook Pro, Apple Inc., 22.1

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!