Looking for help for clipboard in Math
Regina Henschel
rb.henschel at t-online.de
Fri Jun 26 16:22:13 PDT 2015
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
More information about the LibreOffice
mailing list