Run HelloRectangle or HelloControls or pretty much any other app as follows (setting javafx.keepalive=true defeats the workaround as described in RT-17777):
java -Djavafx.keepalive=true helloworld.HelloRectangle
Exit by pressing the window close button in the decoration
Often the app will crash in glass native code as it is exiting with the following error:
Invalid memory access of location 0x50 rip=0x10564769a
Segmentation fault: 11
I have attached the crash dump.
Note that we must remove the System.exit workaround in order to ship JavaFX on Mac for 2.1.