To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115726
                 Issue #|115726
                 Summary|deadlocke when calling XEmbeddedObject::doVerb( MS_OLE
                        |VERB_SHOW ) without locked SolarMutex
               Component|framework
                 Version|DEV300m94
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P2
            Subcomponent|code
             Assigned to|mav
             Reported by|fs





------- Additional comments from f...@openoffice.org Mon Nov 22 20:20:52 +0000 
2010 -------
When you attempt to activate an embedded object via XEmbeddedObject::doVerb, OOo
immediately deadlocks if the SolarMutex is not locked when calling the method.
For e.g. Java clients, this means the method is unusable, since you don't have
access to the SM there.

To reproduce the problem, execute the to-be-attached Java program. For this, you
should add the test.jar (built in the "test" module) to your classpath, and add
a setting like "-Dorg.openoffice.test.arg.soffice=connect:pipe,name=<pipename>"
to the JVM settings (assuming that you started your OOo with
"-accept=pipe,name=<pipename>;urp").

The program just creates an empty writer object, an embedded chart therein, and
then calls the mentioned method, which immediately freezes OOo.

An equivalent Basic macro works fine - because Basic code is always executed
with a locked SM.

---------------------------------------------------------------------
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to