If I quit a VST host (with cmd-Q) while a juce plugin is displaying a popup menu, a crash happens. This occurs with juce 1.45 or juce-svn, on mac. It can be reproduced quickly with the demo plugin of juce, just add some code to open a popup in, for example, DemoEditorComponent::sliderValueChanged , load the plugin in a host, make the popup appear and then quit the application with cmd-Q. It does not happen with a standalone app such as the jucedemo. I think there is a link with the addGlobalMouseListener stuff but that is beyond my knowledge !