Subject: bug#18848: Yosemite problem

From: David Reitter <[email-masked]>
Date: Fri, 7 Nov 2014 13:24:18 -0500

The issue appears to be due to a bug in Yosemite.

AppDefined events, sent by us to terminate the event loop after all immediate events have been received, are swallowed by the OS in certain circumstances (when events were received in rapid succession).

As a consequence, the NS event loop triggered by get_input_pending() never terminates.

I have verified that the AppDefined event is actually sent, and that this very event object never returns to us in the sendEvent method.

Users have since corroborated that this bug began during one of the late preview versions of Yosemite released by Apple.

A Cocoa-specific report can be found here:

https://www.mail-archive.com/[email-masked]/msg96645.html