Page 1 of 1

Arabic support - Writer hangs on OO 4.1.3

Posted: Sun Sep 24, 2017 10:39 am
by Anael
Dear all,
I come to you confronted by a problem I am not quite sure to know how to tackle. For research purposes, I transcribe and translate documents in Arabic, having on the same page Arabic script (right-left) and latin script (left-right). For reasons still unknown to me, those documents have proved to be extremely sensitive and crash more often than one would wish. The first immediate cause of crash seems to be the beginning of new line, in continuation of the same sentence. OO then freezes. The second cause is the addition of a larger piece of text (a few pages), an action which almost immediately sends OO crashing.
I have tried to regularize formats, to no avail. The only technique that seemed to have any effect was to add page breaks, which appeared to alleviate the problem, but I have recently reached the limits of that solution.
You will find attached two versions. The first one (without parentheses) cannot be opened anymore and I would be curious to know if anyone can. The second is copy of the text of the first one, copied from Wordpad (not having any other idea). It can be opened but crashes as soon as I had more text.
Since I am discussing the problem of Arabic support, I also wish to understand why the first degree of bullets cannot be properly displayed when the text is set on right-left direction. Instead, a white 10 in a black circle appears. I changed the font format, without any effect.

I thank you for any remark or suggestion on the origins of those two problems.

Best,

A.

Re: Arabic support - Constant crash on OO 4.1.3

Posted: Sun Sep 24, 2017 8:41 pm
by jrkrideau
I'm not set up for Right-to-Left text but both files open properly. As a first step, I recommend that you reset the User Profile . It often cures all sorts of strange behaviours in AOO.

Re: Arabic support - Constant crash on OO 4.1.3

Posted: Sun Sep 24, 2017 11:50 pm
by Anael
Thank you for your answer. I have just reset the user profile but OO still immediately crashes when I open this file. Weirdly enough, another file with Arabic script seems to work fine but I am at odds finding a reason for the different reaction of OO.

Thanks again.

Re: Arabic support - Constant crash on OO 4.1.3

Posted: Mon Sep 25, 2017 1:21 am
by RusselB
Loading the file listed as the Stable version, then using Edit -> Compare Document, then selecting the file marked as the one that crashes. the comparison dialog shows 16 changes between the two.
Additionally the two are not the same size.
You might want to look at the changes that the Compare Document lists to see if any of them look weird.

Re: Arabic support - Constant crash on OO 4.1.3

Posted: Mon Sep 25, 2017 4:04 pm
by John_Ha
Mahdiyya - 2-66-01.odt doesn't cause Writer to crash - it causes Writer to hang - ie not respond. When Writer hangs, it is consuming circa 50% of CPU and the memory used by soffice.bin continues to increase suggesting a recursive loop, or a memory leak.

I created a new, empty text document and went Insert > From file ..., and I inserted Mahdiyya - 2-66-01.odt and saved the file. The file is a little larger than before, and no longer causes Writer to hang.

I don't know why, but files sometimes seem to get "tangled" and doing this removes the "tangles" and fixes problems.
Anael wrote:The only technique that seemed to have any effect was to add page breaks, which appeared to alleviate the problem
See the discussion about footnotes, text spilling and Writer looping doing page layout, where adding page breaks is suggested as a cure, in [Solved] AOO stops responding when opening this one document

If this solves the problem, please view your first post in this thread and click the Edit button (top right in the post) and add [Solved] in front of the subject. Also, can I suggest you change "crash" to "hang" in the subject. I do not think being Arabic has anything to do with it.
 Edit: On further testing, the error seems to be associated with footnote 1. If I add extra empty paragraphs on that page so as to cause the line with the footnote 1 marker (5th from bottom) to spill, the repaired document then hangs.

If I delete the footnote, and re-insert it, the document does not hang and works properly. 

Re: Arabic support - Writer hangs on OO 4.1.3

Posted: Tue Sep 26, 2017 9:49 am
by Anael
Thank you infinitely for your time.
I had initially copied the text onto a new file, without any effect. On your indication, I have deleted the footnote, which indeed seemed to be causing the problem. If you don't mind, I am going to wait a few days to see how stable the document is.
I nonetheless believe this is linked with the Arabic script. The same kind of issue had not occurred to me before, but consistently with Arabic documents (even if not to the extent of this case).
I should very probably open a new thread, but since the question is linked with Arabic script, would you happen to have any idea on why the classic dot (U+2022) cannot be displayed properly, whereas the other sublevels work perfectly fine ?

Thanks again for your help.

Re: Arabic support - Writer hangs on OO 4.1.3

Posted: Tue Sep 26, 2017 11:56 am
by John_Ha
Anael wrote:...would you happen to have any idea on why the classic dot (U+2022) cannot be displayed properly, whereas the other sublevels work perfectly fine ?
Sorry - I don't know. What is wrong with it? It displays as a small filled dot - U+25CF is a large dot. I did notice that if I add an empty paragraph, and then type tabs, the dot changes shape repeatedly until it eventually stabilises!

I wondered if the problem could be something to do with the fact that the text is right to left, but the footnote is left to right. Also, was the document ever saved as as a .doc or .docx? Or was it ever edited using MS Word? Or have Edit > Changes ..., ever been used - especially if the document has been edited on MS Word.

Re: Arabic support - Writer hangs on OO 4.1.3

Posted: Tue Sep 26, 2017 4:19 pm
by Anael
The initial next was never altered by using any other text editor and the problem predates my copying of the text through MS Word. Not finding a better solution, I switched the dot to U+25CF. For some reason, the U+2022 just won't be displayed when set from right to left. Strangely, the other dots are displayed fine.

Re: Arabic support - Writer hangs on OO 4.1.3

Posted: Tue Sep 26, 2017 4:25 pm
by John_Ha
You may find that resetting the profile helps - see Resetting the user profile.