Bug 95287 - 1000(?) images generated after turning on record changes
Summary: 1000(?) images generated after turning on record changes
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0.2.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-24 07:49 UTC by Aron Boss
Modified: 2018-10-09 11:31 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
the generated text (448.63 KB, text/xml)
2015-10-24 07:49 UTC, Aron Boss
Details
With text without text but with correct xml (2.63 MB, application/xml)
2015-10-30 07:12 UTC, Aron Boss
Details
Multiple generated picture elements (974.86 KB, text/xml)
2015-12-18 12:00 UTC, Aron Boss
Details
Orginial documen. Will crash on demand after a recorded chang of text (1.61 MB, application/vnd.oasis.opendocument.text)
2017-07-04 09:55 UTC, Aron Boss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Boss 2015-10-24 07:49:37 UTC
Created attachment 119917 [details]
the generated text

I deleted an image with the option record changes on. The document became unresponsive.

It turned out that Writer had inserted a lot of identical images. See the attachment.

This bug is, I think, linked to record changes. The logic behind is not correct for images and memos.
Comment 1 Aron Boss 2015-10-28 15:14:03 UTC
The bug triggered if the changes are recorded and an image is replaced, I think.
Comment 2 raal 2015-10-29 16:08:05 UTC Comment hidden (obsolete)
Comment 3 Aron Boss 2015-10-30 07:12:45 UTC
Created attachment 120093 [details]
With text without text but with correct xml

the last </text:tracked-changes> was added to make it a correct xml file.
It was not in the original source file.
Comment 4 Aron Boss 2015-10-30 07:15:30 UTC
The attachment is made by unzipping the odt file, cut out the normal text tags and add one extra tag in the end.

It shows two images with the 1000 images bug.

The file can be opened in Firefox.
Comment 5 Aron Boss 2015-10-31 10:26:53 UTC
This bug is connected to bug  Bug 89615 - FILESAVE: Writer saves invalid XML (style tag has two office:name attributes)
Comment 6 Aron Boss 2015-12-18 12:00:33 UTC
Created attachment 121385 [details]
Multiple generated picture elements

Record changes on.
Comment 7 Aron Boss 2015-12-18 12:01:21 UTC
Windows10 LibreOffice 5.0.2
Comment 8 Dieter 2017-06-28 09:53:07 UTC
(In reply to Aron Boss from comment #5)
> This bug is connected to bug  Bug 89615 - FILESAVE: Writer saves invalid XML
> (style tag has two office:name attributes)

Bug 89615 has been solved. So is your bug still present in an actual version of LO? => Set to NEEDINFO
Comment 9 Aron Boss 2017-06-28 10:04:00 UTC
I am running with version 5.3.1.2 on June 27th 2017. In this version the problem still occurs.
Comment 10 Dieter 2017-06-28 10:07:09 UTC
=> changed back to UNCONFIRMED
Comment 11 Buovjaga 2017-06-29 17:58:38 UTC
Aron: you never provided an example document. We cannot test anything with these XML files.

I tried to reproduce from scratch, but there was no problem. I tried both replacing and deleting.

Arch Linux 64-bit, KDE Plasma 5
Version: 6.0.0.0.alpha0+
Build ID: 98befbb26217b0bf3f35354e418a355280c52cfc
CPU threads: 8; OS: Linux 4.11; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on June 29th 2017
Comment 12 Aron Boss 2017-06-29 18:04:45 UTC
The problem is that the documents can't be put in the public domain. I can send you the document privately though.
Comment 13 Buovjaga 2017-06-29 18:15:12 UTC
(In reply to Aron Boss from comment #12)
> The problem is that the documents can't be put in the public domain. I can
> send you the document privately though.

Then you need to create a minimal document with no sensitive information that shows the problem.
Comment 14 Aron Boss 2017-07-04 09:52:54 UTC
Uploaded a document with all letters changed to A whit the error.

The error is not restricted to this document, that is, it is not a document error, but a program error.
Comment 15 Aron Boss 2017-07-04 09:55:48 UTC
Created attachment 134474 [details]
Orginial documen. Will crash on demand after a recorded chang of text

Just change some text around an image and record it. The recording will place multiple entries of the images in the document and therefore it will become unresponsive.
Comment 16 Buovjaga 2017-07-04 17:46:22 UTC
(In reply to Aron Boss from comment #15)
> Created attachment 134474 [details]
> Orginial documen. Will crash on demand after a recorded chang of text
> 
> Just change some text around an image and record it. The recording will
> place multiple entries of the images in the document and therefore it will
> become unresponsive.

I enabled Record changes and changed/typed text around the images on page 14 and 16. No crash.
I saved the file under a new name and the file size is about the same as the original.

Arch Linux 64-bit, KDE Plasma 5
Version: 6.0.0.0.alpha0+
Build ID: 98befbb26217b0bf3f35354e418a355280c52cfc
CPU threads: 8; OS: Linux 4.11; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on June 29th 2017
Comment 17 Aron Boss 2017-07-04 18:13:11 UTC
Well, in the document is an image multiple times. There will be no crash - only after adding notes in multiple layers by multiple writers- but there are multiple instances of a image generated. They can become very numerous and hence kill the machine because it takes a very, very, long time to process hundreds of images. The copies are generated when logging the changes. The exact trigger is not known to me.
Comment 18 Jean-Baptiste Faure 2018-02-19 12:35:51 UTC
comment #7 =>
W10 -> x86-64 (probably)
Version 5.0.2
Comment 19 Jean-Baptiste Faure 2018-02-19 21:12:49 UTC
Please, could you describe a clear step by step scenario to reproduce the problem? Your comments #15 and #17 are contradictory.

Set status to NEEDINFO, please set it back to UNCONFIRMED once requested
informations are provided.

Best regards. JBF
Comment 20 QA Administrators 2018-09-03 14:49:59 UTC Comment hidden (obsolete)
Comment 21 QA Administrators 2018-10-09 11:31:39 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-20181009