We are experiencing a crashing condition only with the following reproducible conditions -
1) Place a popover on the current layout of the only opened window of a file.
2) 'On Last Window Close' file trigger is implemented with a script containing a 'Go To Layout...' script step. For testing purposes this is the first step in the script.
3) Close the file while the popover is active (showing the actual popover window).
-- CRASH --
The crash occurs only when the popover is displayed.
I tried inserting a 'Close Popover' script step into the scrip prior to the 'Go To Layout' step, but this did not avert the problem.
Crash report attached
Edit: The popover is in the header part of the layout. I think that this problem does not occur if the popover is in the body part of the layout.