Apache OpenOffice (AOO) Bugzilla – Issue 40582
crash upon shutting down OOo, after executing a Java script via a form control
Last modified: 2013-02-24 21:01:20 UTC
- extract the "mouseelector.zip" attached to issue 36009 (http://www.openoffice.org/nonav/issues/showattachment.cgi/21450/mouseselector.zip) into your office installation, location share/Scripts/Java - open a new text document - insert a push button form control - in it's context menu, choose "Control..." - in the property browser which opened then, on the tab page "Events", assign the mouseselector/ script to the "Mouse button pressed" event of the control - switch off the form design mode of the document - click the button => the script is run, and a Java dialog opens - cancel the dialog - exit OpenOffice.org => crash Note: I only saw the crash when running the process within the debugger: If ran outside the debugger, the crash was not noticable, since no crash reporter opened, and so the crash could not really be distinguished from a normal shutdown.
Created attachment 21459 [details] document to reproduce the bug case
the attached document allows for easier reproduction: Just open it, click the button, and shutdown OOo. (before all of this, install the mouseselector script package as described above, of course)
I've done some experimentation and it seems that any Java macro that opens a Swing window will cause this crash when running Office in the debugger on Windows.
Thomas, please check if this is a duplicate to the general crash of SWK on exit we already know,
this task was fixed with #i42740# => duplicate *** This issue has been marked as a duplicate of 42740 ***
closed