Xcode-beta (8S174q): No backtrace for leaked instances in the Memory-Debug-Graph

Originator:raise.rescue
Number:rdar://27421128 Date Originated:19-Jul-2016 10:50 AM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode-beta (8S174q)
Classification:Serious Bug Reproducible:Always
 
Summary:
In the “Backtrace”-pane for a detected leaked instance is the info “Malloc stack logging is not enabled for this process.”, although it is turned on for the current scheme (see attached screenshot)

Steps to Reproduce:
1. Activate “Malloc stack logging (All Allocations)”.
2. Make a call to SKPaymentQueue.canMakePayments(), as this will leak instances of OS_dispatch_semaphore.
3. Start “Debug Memory Graph”. 
4. You will see the leaked instances in the Runtime-issues. 
5. Click one of them and and open the “Backgrace”-pane

Expected Results:
The backtrace for the leaked instance.

Actual Results:
A label with “Malloc stack logging is not enabled for this process.”

Regression:
-

Notes:
-

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!