Issue 104556 - Crash/Freeze due to race between OnNew and loadComponentFromUrl()
Summary: Crash/Freeze due to race between OnNew and loadComponentFromUrl()
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: OOo 3.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-27 16:53 UTC by mux2005
Modified: 2013-01-29 21:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
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. (9.92 KB, application/vnd.oasis.opendocument.text)
2009-08-27 16:55 UTC, mux2005
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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.