https://bugs.documentfoundation.org/show_bug.cgi?id=95987

Harri Pitkänen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Harri Pitkänen <[email protected]> ---
The crash appears to be related to the following sequence of calls performed
within the extension:

compContext = uno.getComponentContext()
servManager = compContext.ServiceManager
linguPropSet =
servManager.createInstanceWithContext("com.sun.star.linguistic2.LinguProperties",
compContext)
propSetInfo = linguPropSet.getPropertySetInfo()
propSetInfo.getProperties()

The actual getProperties call is here:
https://github.com/voikko/libreoffice-voikko/blob/master/oxt/pythonpath/PropertyManager.py#L174

If I replace the implementation of __setProperties with

  properties.getPropertySetInfo()

I don't get the crash but if I replace it with

  properties.getPropertySetInfo().getProperties()

the crash can be reproduced.

Thus it looks like simply calling getPropertySetInfo().getProperties() on a
instance of LinguProperties within the lifetime of the process will lead to
this crash at exit.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to