Bug 82758 - EDITING: crash while typing
Summary: EDITING: crash while typing
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.0.4 release
Hardware: x86-64 (AMD64) Windows (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-18 09:01 UTC by Thomas Kaufmann
Modified: 2014-09-10 11:39 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Kaufmann 2014-08-18 09:01:19 UTC
since I updated to the latest version, I encounter the following behavior:

while typing text in libre office writer, the application crashes instantly. No error message or anything, the window of writer just disappears. Document recovery never works afterwards.
It occurs to me with all documents, the one I'm working on right now is only 4 pages, no Images. Mainly section headers and text.

My current workaround is to type the text in notepad, then copy paste to libreoffice, like this the crash does not occur. So Idon't think it is an out of memory problem or something like that.

could be related to bug: 82142, but I have no spanish language correction on.
also related to bug 64922: this description is very similar to what I encounter.

I arleady tried to turn off the spellchecker, is there something more I can try?
Comment 1 Julien Nabet 2014-08-18 09:19:59 UTC
Do you have any LO specific extensions?

For the test, could you rename your LO directory profile and give a new try?
Comment 2 Thomas Kaufmann 2014-08-18 09:27:12 UTC
I renamed the "user" directory in AppData\Roaming\LibreOffice\4\ and tried again. The effect is the same. Also I'm not aware of any extensions, I think I'm using stock libreoffice.
Comment 3 Julien Nabet 2014-08-18 09:39:39 UTC
Thank you for your feedback.

Do you reproduce this on a brand new file?
Could you attach a file + step by step process to reproduce this? (keep in mind that attachments are automatically made public, so remove any private/confidential part).

Did you download from official website? (http://www.libreoffice.org/download/libreoffice-fresh/)
For the test too, could you give a try to 4.3.1RC1 (see http://www.libreoffice.org/download/pre-releases/)?
Comment 4 Thomas Kaufmann 2014-08-18 10:36:40 UTC
It seems to related to one of our techdocs templates. Is there a way to check the documents for correctness? I will try to put something together.
Comment 5 Julien Nabet 2014-08-18 12:01:35 UTC
Here's an online odf validator:
http://odf-validator.rhcloud.com/
Comment 6 Thomas Kaufmann 2014-08-18 12:15:29 UTC
I have a document, based on one of our templates, where I can reproduce the problem. Strange thing is, as soon as I remove the company logo from the header, the problem disappears.

I'm checking if I can upload the document with logos.

I put it through the online validator and there are some errors (see below). How can it be that lo saves a document in a non-conformant state?

locrashbase7.odt: Info: ODF version of root document: 1.2
internal:/schema/odf1.2/OpenDocument-v1.2-cos01-manifest-schema.rng: Info: parsed.
locrashbase7.odt/META-INF/manifest.xml: Info: no errors, no warnings
locrashbase7.odt/mimetype: Info: no errors, no warnings
locrashbase7.odt: Info: Media Type: application/vnd.oasis.opendocument.text
internal:/schema/odf1.2/OpenDocument-v1.2-cos01-schema.rng: Info: parsed.
locrashbase7.odt/meta.xml: Info: Generator: LibreOffice/4.3.0.4$Windows_x86 LibreOffice_project/62ad5818884a2fc2e5780dd45466868d41009ec0
locrashbase7.odt/meta.xml: Info: no errors, no warnings
locrashbase7.odt/settings.xml: Info: no errors, no warnings
locrashbase7.odt/styles.xml[2,15107]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,15869]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,16250]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,16740]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,17528]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,17968]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,18366]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,20254]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,20820]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,21337]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,23557]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,24380]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,26014]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,27166]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,27910]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,28413]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,28859]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,29303]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,29914]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,30287]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,30796]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,31284]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,31694]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,32100]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,32507]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,32935]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,33697]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,36119]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,36637]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,37041]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,37445]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,37849]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,38253]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,38840]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,39650]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,40834]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,41969]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,42522]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,43075]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,43627]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,44180]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,44806]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,46308]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,46769]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,47352]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,49079]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,50059]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,50949]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,54439]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,57151]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7.odt/styles.xml[2,111230]: Error: attribute "text:start-value" has a bad value: "0" does not satisfy the "positiveInteger" type
locrashbase7.odt/styles.xml: Info: 51 errors, no warnings
locrashbase7.odt/content.xml[2,16692]: Error: unexpected attribute "officeooo:rsid"
locrashbase7.odt/content.xml[2,16864]: Error: unexpected attribute "officeooo:paragraph-rsid"
locrashbase7.odt/content.xml[2,17062]: Error: unexpected attribute "officeooo:rsid"
locrashbase7.odt/content.xml[2,17256]: Error: unexpected attribute "officeooo:rsid"
locrashbase7.odt/content.xml[2,18150]: Error: unexpected attribute "officeooo:rsid"
locrashbase7.odt/content.xml[2,18263]: Error: unexpected attribute "officeooo:rsid"
locrashbase7.odt/content.xml: Info: 6 errors, no warnings
internal:/schema/odf1.2/OpenDocument-v1.2-cos01-dsig-schema.rng: Info: parsed.
locrashbase7.odt: Info: 57 errors, no warnings
Comment 7 Julien Nabet 2014-08-18 12:24:44 UTC
For errors beginning by "loext", I can understand (since it seems an LO extension)

For others like these:
locrashbase7.odt/styles.xml[2,111230]: Error: attribute "text:start-value" has
a bad value: "0" does not satisfy the "positiveInteger" type
locrashbase7.odt/styles.xml: Info: 51 errors, no warnings
locrashbase7.odt/content.xml[2,16692]: Error: unexpected attribute
"officeooo:rsid"
locrashbase7.odt/content.xml[2,16864]: Error: unexpected attribute
"officeooo:paragraph-rsid"
There's perhaps a problem.

Hope you'll be able to attach some example file.

Miklos: thought you might be interested in this one.
Comment 8 Thomas Kaufmann 2014-08-19 08:29:51 UTC
A colleague pointed out that may the issue is also related to this bug:
https://bugs.freedesktop.org/show_bug.cgi?id=82165

we have some problem with the logo in the header, it seems whenever there is a change in the template, then additional images are put on top of the existing one.

In the documents I have problems with, there is a company logo in the header but when you look closer at this logo, there are like 6 or 7 identical images on top of each other.

Now I also tried with the RC pointed out earlier, but the problem persists.

I think I can resolve the issue by deleting the unneeded images, but when doing this libreoffice freezes sometimes.
Comment 9 Thomas Kaufmann 2014-08-19 08:34:34 UTC
BTW this is the odf checker printout of the same document with the unneccessary images removed:

locrashbase7fixed.odt: Info: ODF version of root document: 1.2
internal:/schema/odf1.2/OpenDocument-v1.2-cos01-manifest-schema.rng: Info: parsed.
locrashbase7fixed.odt/META-INF/manifest.xml: Info: no errors, no warnings
locrashbase7fixed.odt/mimetype: Info: no errors, no warnings
locrashbase7fixed.odt: Info: Media Type: application/vnd.oasis.opendocument.text
internal:/schema/odf1.2/OpenDocument-v1.2-cos01-schema.rng: Info: parsed.
locrashbase7fixed.odt/meta.xml: Info: Generator: LibreOffice/4.3.1.1$Windows_x86 LibreOffice_project/c4b15cd4d00dec6b266fa830b4ba73e31ae6ce73
locrashbase7fixed.odt/meta.xml: Info: no errors, no warnings
locrashbase7fixed.odt/settings.xml: Info: no errors, no warnings
locrashbase7fixed.odt/styles.xml[2,15107]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,15869]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,16250]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,16740]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,17528]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,17968]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,18366]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,20254]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,20820]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,21337]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,23557]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,24380]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,26014]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,27166]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,27910]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,28413]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,28859]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,29303]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,29914]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,30287]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,30796]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,31284]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,31694]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,32100]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,32507]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,32935]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,33697]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,36119]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,36637]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,37041]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,37445]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,37849]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,38253]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,38840]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,39650]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,40834]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,41969]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,42522]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,43075]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,43627]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,44180]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,44806]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,46308]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,46769]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,47352]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,49079]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,50059]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,50949]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,54439]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,57151]: Error: unexpected attribute "loext:contextual-spacing"
locrashbase7fixed.odt/styles.xml[2,111230]: Error: attribute "text:start-value" has a bad value: "0" does not satisfy the "positiveInteger" type
locrashbase7fixed.odt/styles.xml: Info: 51 errors, no warnings
locrashbase7fixed.odt/content.xml[2,16692]: Error: unexpected attribute "officeooo:rsid"
locrashbase7fixed.odt/content.xml[2,16864]: Error: unexpected attribute "officeooo:paragraph-rsid"
locrashbase7fixed.odt/content.xml[2,17062]: Error: unexpected attribute "officeooo:rsid"
locrashbase7fixed.odt/content.xml[2,17256]: Error: unexpected attribute "officeooo:rsid"
locrashbase7fixed.odt/content.xml[2,18150]: Error: unexpected attribute "officeooo:rsid"
locrashbase7fixed.odt/content.xml: Info: 5 errors, no warnings
internal:/schema/odf1.2/OpenDocument-v1.2-cos01-dsig-schema.rng: Info: parsed.
locrashbase7fixed.odt: Info: 56 errors, no warnings

I think the odf errors are still the same.
Comment 10 Thomas Kaufmann 2014-09-10 10:39:19 UTC
I just checked with libreoffice 4.3.1.2. The bug seems to be fixed. I could not manage to crash the libreoffice writer with this version.
Comment 11 Julien Nabet 2014-09-10 11:39:06 UTC
Thank you for your feedback, let's put it at WFM.