Issue 104556

Summary: Crash/Freeze due to race between OnNew and loadComponentFromUrl()
Product: General Reporter: mux2005 <mux2005>
Component: scriptingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 3.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Open the attached document (macros must be allowed), press the big button. OOo should crash. You may have to try several times. As this issue is timing-dependent, it is unreliable to reproduce. none

Description mux2005 2009-08-27 16:53:41 UTC
It appears that when an OnNew event handler (or as in the case of the test
document an autostart macro) closes a document loaded via loadComponentFromUrl
before it has returned, OOo crashes or freezes.
Comment 1 mux2005 2009-08-27 16:55:36 UTC
Created attachment 64414 [details]
Open the attached document (macros must be allowed), press the big button. OOo should crash. You may have to try several times. As this issue is timing-dependent, it is unreliable to reproduce.
Comment 2 ab 2010-02-09 14:33:56 UTC
ab->cd: I could reproduce this once (no crash, but loop),
but no scripting or Basic was on the stack. I assume a
framework problem, please have a look.