Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Hi Michael (and others who are interested in Math),

Michael Stahl schrieb:
On 23.06.2015 20:46, Regina Henschel wrote:
But now I have this problem:
I start module Math with a fresh document, I write a formula into the
command window (e.g. a^2+b^2) and then try to save as *.mml.
I get the errors cited below. I have not used any operations with the
clipboard. A build from current trunk does not have this error, so it
must be something, which I have introduced. But I do not know, what are
possible causes and where to start.

Errormessages:

Locking problem.
Sharing violation while accessing the object.

this is a problem with file locking that generally only manifests on
Windows: a file has been opened once and is opened a second time; the
second opening fails.  for example, the SvStream class uses file locking
by default.

check for code that opens the file for debug purpose and forgets to
close it, or memory leak of something that contains an open file handle.

There was nothing which uses the file.

or perhaps you have the file open in a text editor?

No, the file does not exist when the error occurred.


if it's not obvious try SysInternals Process Monitor, it can trace
system calls and their return values, and even display stack traces of
the calls.

https://technet.microsoft.com/en-us/sysinternals/bb896645.aspx


With Process Monitor I could see, that there was no error in file access.

I then revert all my changes and add them piece by piece, testing after each step. I found, that the error was, that I had added a clipboard format in filter/source/config/fragments/types/math_MathML_XML_Math.xcu

I have attached the current version to https://bz.apache.org/ooo/show_bug.cgi?id=107734. I still have no environment for LibreOffice, so Gerrit is currently no option for me. If you nevertheless will have a look at it, that would be nice.

Kind regards
Regina


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.