This crash is occurred by menu bar that is located on top of the screen. It is not on right-click popup menu.
I also tried this in the introjucer, and it occurred.
Detailed procedure is as below:
I used zip version of juce, and built it on Xcode 4.2 ( OS X 10.6.8 )
(downloaded from https://github.com/julianstorer/JUCE/archive/master.zip)
- Launch the introjucer.
- Click “File” menu on menu bar located on top of the screen. (File popup menu will be shown)
- Then press down command+O key. Don’t use mouse here. (“Open File” dialog will be shown)
- Click “Cancel” button and close the dialog.
- Then the introjucer often crash. (Sometimes it did not happened)
Then, got following log.
Debugger stopped at L510 of “juce_mac_MainMenu.mm” when I tried debug version. (peer->redirectKeyDown (e)
Does this help you?