Closed GoogleCodeExporter closed 9 years ago
This bug isn’t actually occurring. I was accidentally testing on 10.8 using a
build that targeted Mac OS X 10.9 and later. The test passes when using a build
that targets Mac OS X 10.8 or an earlier deployment target.
The problem was that ExcMaskAll() was including EXC_MASK_GUARD because it
believed that it would never see a system older than 10.9 at runtime.
EXC_MASK_GUARD was introduced in 10.9, and when run on a 10.8 system,
{host,task,thread}_{get,set}_exception_ports would fail with
KERN_INVALID_ARGUMENT upon encountering this unknown bit set in mask.
Original comment by mark@chromium.org
on 11 Mar 2015 at 1:14
Original issue reported on code.google.com by
mark@chromium.org
on 11 Mar 2015 at 4:31