To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=95496
Issue #|95496
Summary|loadComponentFromUrl() freezes
Component|framework
Version|OOo 3.0
Platform|All
URL|
OS/Version|Linux
Status|UNCONFIRMED
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|code
Assigned to|tm
Reported by|mux2005
------- Additional comments from [EMAIL PROTECTED] Mon Oct 27 10:30:20 +0000
2008 -------
On Linux (tested: Debian Etch with KDE), loadComponentFromUrl() sometimes causes
OOo to freeze when there is not yet a visible OOo window. Opening an OOo window
by other means (e.g. launching soffice) will unfreeze the frozen process.
Sometimes switching between Windows seems to unfreeze it, too. I don't see the
issue under Windows. Maybe it's a race condition related to some X11 window
manager events?
The issue is not present on any of the 2.x versions.
Since our users usually open all their templates via a custom launcher that
trips this bug, this issue is a showstopper for our upgrade to OOo 3.0 on Linux.
The attached Java program demonstrates the issue:
1. Close all OOo Windows. Disable the quickstarter (if there is a working
quickstarter for Linux in the first place)
2. Run
java -jar LoadcomponentFromUrlForever.jar
3. The Java program continually starts OOo, opens a new document, then
terminates OOo. Sooner or later it will freeze in the "Loading..." stage,
meaning that loadComponentFromUrl() does not return.
4. OOo will wake up if you run "soffice" on another console. Sometimes switching
windows also seems to wake it up.
The programs main loop is this:
while (true)
{
try
{
System.out.println("Init...");
init(Bootstrap.bootstrap().getServiceManager());
System.out.println("Loading...");
loadComponentFromURL("private:factory/swriter", true,
MacroExecMode.ALWAYS_EXECUTE_NO_WARN, false);
System.out.println("Waiting...");
System.out.println("Closing...");
desktop.terminate();
}
catch (DisposedException x)
{}
}
The complete source code is contained in the JAR file.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]