LLDB gives EXC_BAD_ACCESS on [UIView transform] on ARM64

Originator:nick
Number:rdar://22713020 Date Originated:16-Sep-2015
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 7 GM
Classification:Other Bug Reproducible:Always
 
Summary:
When attempting to print out a UIView.transform in LLDB when running on an ARM64 device, LLDB gives a EXC_BAD_ACCESS.

Steps to Reproduce:
1. Create a breakpoint in any iOS project running on an ARM64 device (in my case, an iPhone 6)
2. Enter the following command in the debug console: `p (CGAffineTransform) [theView transform]`

Expected Results:
LLDB should print out the transform.

Actual Results:
LLDB prints out the following:

error: Execution was interrupted, reason: EXC_BAD_ACCESS (code=1, address=0x20).
The process has been returned to the state before expression evaluation.

Version:
Xcode 7 GM

Notes:
I've attached a project that has a shared breakpoint that triggers this issue. If you build and run the project on an ARM64 device, you should see the EXC_BAD_ACCESS in the console, whereas if you run it on a ARMV7 or the Simulator, it works as expected.

Configuration:
This doesn't happen in the Simulator, or on an iPod Touch 5th gen, but it does happen on an iPhone 6, so ARM64 may be the relevant/contributing factor here.

Attachments:
'UIViewTransformLLDB.zip' was successfully uploaded.

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!