CFRunLoop should not catch and rethrow C++ exceptions

Originator:john.firebaugh
Number:rdar://29407867 Date Originated:28-Nov-2016
Status: Resolved:Duplicate of 28409982
Product:iOS Product Version:
Classification: Reproducible:
 
Area:
UIKit

Summary:
CFRunLoop has an exception handler that traps all uncaught exceptions. This is harmful for obtaining diagnostics for an uncaught C++ exception, as there is no way to retrieve the original stack trace.

See http://stackoverflow.com/questions/13777446/ios-how-to-get-stack-trace-of-an-unhandled-stdexception

Please remove the CFRunLoop exception handler, or at least provide an API for shutting it off.

Comments

This was marked as a duplicate but I can't find the duplicate. This issue still exists as far as I can tell. Is anyone at Apple looking at it?

By dcoleman0711 at May 5, 2019, 5:03 p.m. (reply...)

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!