Apache OpenOffice (AOO) Bugzilla – Issue 108411
let SID_CRASH really crash
Last modified: 2017-05-20 10:23:48 UTC
The code to handle SID_CRASH (.uno:Crash, slot:6645) in sfx2/source/appl/appserv.cxx calls GetpApp->Exception(EXC_SYSTEM) instead of causing a real crash, which would go through the sal signal handler. A real crash would be more helpful when using SID_CRASH to analyze the crash-handling behavior of OOo. (For example, adding <menu:menuitem menu:id=".uno:Crash"/> to framework/uiconfig/startmodule/menubar/menubar.xml and/or sw/uiconfig/swriter/menubar/menubar.xml to have an (unlabeled) menu entry in Start Center resp. Writer that lets OOo crash. Using a Basic macro, say, instead has the disadvantage that many "Tools - Macros" items initialize all scripting frameworks and thus start a JVM, where an in-process JVM can have a strong impact on OOo's crash-handling behavior.)
fixed as <http://hg.services.openoffice.org/cws/sb119/rev/8435d6e46d62>
@tm: please verify
Added slot "crash" to e_all.sid The slot can be used to provide an automated test for the crash reporter which is not done in cws sb119 (need timeslot for this)
http://hg.services.openoffice.org/cws/sb119/rev/fecd2be6305e