Xcode9beta1 - Using address sanitizer makes `po` of some objects not work in lldb console.

Originator:markd
Number:rdar://32833450 Date Originated:6/17/2017
Status:Open Resolved:
Product:Developer Tools Product Version:Version 9.0 beta (9M136h)
Classification:Serious Bug Reproducible:Always
 
Summary:
Hi!

I noticed something strange working on my app - I wanted to `po` an object (which I've written a rich -description), but all I got was an address, like the object didn't exist.  Works great in Xcode8.

Here's a video that shows the failure, and it working in Xcode8
https://www.dropbox.com/[redacted]/xc9-vs-xc8-lldb-po-address-sanitizer.mp4?dl=0
(dropbox UL because radarweb is not happy with large files. c.f. rdar://30364703)

After making the video I noticed that I had all the sanitizers turned on.  Turning off Address sanitizer makes it work ok (whew).  Address sanitizer on in xcode 8 works fine.

Pure objective-C project. We use a number of fairly large third party libraries.

The project is big, but if you really need it, let me know.  It's many hundreds of megabytes large and will take hours for me to upload.  

(P.S. Another plug for rdar://30028579 - Please add a "don't show this alert again" to "Clean Build Folder". You can see I do this operation a lot :-) )

Steps to Reproduce:
Have a big app (I didn't try with any other apps because I need to get some work done today :-)
Turn on address sanitizer
Run and break somewhere interesting
`po` an interesting object

Expected Results:
See the rich -description the object has

Observed Results:
Just get an address

Version:
Version 9.0 beta (9M136h)
10.12.5 (16F73)

Notes:


Configuration:
Works great in Xcode8.  See the attached video.

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!