Issue 108411

Summary: let SID_CRASH really crash
Product: General Reporter: Stephan Bergmann <stephan.bergmann.secondary>
Component: codeAssignee: thorsten.martens
Status: CLOSED FIXED QA Contact: issues@framework <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: DEV300m68   
Target Milestone: OOo 3.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description Stephan Bergmann 2010-01-18 12:04:10 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.)
Comment 1 Stephan Bergmann 2010-01-18 12:06:35 UTC
fixed as <http://hg.services.openoffice.org/cws/sb119/rev/8435d6e46d62>
Comment 2 Stephan Bergmann 2010-02-08 10:06:59 UTC
@tm: please verify
Comment 3 joerg.skottke 2010-02-23 08:31:09 UTC
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)