CFRunLoop should not catch and rethrow C++ exceptions

Number:rdar://29407867 Date Originated:28-Nov-2016
Status: Resolved:Duplicate of 28409982
Product:iOS Product Version:
Classification: Reproducible:

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.


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


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 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!