Download it now!
Bug 81321 - trying to read RTF with thousands of empty bookmarks causes Writer to hang
Summary: trying to read RTF with thousands of empty bookmarks causes Writer to hang
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.6.1 rc
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTF
  Show dependency treegraph
 
Reported: 2014-07-14 05:03 UTC by jdien07
Modified: 2017-09-08 11:39 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
test file (390.85 KB, application/zip)
2014-07-14 19:24 UTC, jdien07
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jdien07 2014-07-14 05:03:43 UTC
Trying to read in the attached rtf file consistently causes Writer to hang on two different OS X computers.  I don't know enough about how Writer works to provide more information than that.  I'm not seeing this behavior with other files.  The file seems unexpectedly large as well (3.6MB).  Even Microsoft Office takes a while to read it in.  It has no pictures or fancy formatting and is only 26 pages long so it shouldn't be so large.  I originally started the file using Word but switched to using Writer to edit this file so perhaps some bug has caused it to add invisible garbage to the file?  Anyway, thanks for taking the time to look at this!
Comment 1 Kevin Suo 2014-07-14 05:43:13 UTC
Hi, please attached a test file. Thanks!
Comment 2 Urmas 2014-07-14 11:36:56 UTC
Put it in archive to be able to attach it here or use some filesharing service.
Comment 3 jdien07 2014-07-14 19:24:39 UTC
Created attachment 102793 [details]
test file

Whoops, the file was too big to be attached.  I'm attaching a zipped copy.
Comment 4 Kevin Suo 2014-07-15 06:57:58 UTC
Confirmed with version 4.2.6.1, windows XP SP3. It's loading forever, and my CPU keeps running 100%.

It's worth mention that, this file opens fine in Apache OpenOffice 4.1 within 3 seconds.
Comment 5 Kevin Suo 2014-07-15 07:02:00 UTC
jdien07: what's your LibreOffice version? Did it open fine in an earlier version?
Comment 6 Urmas 2014-07-15 08:18:29 UTC
The file contains a few hundred thousands of empty bookmarks.
Comment 7 jdien07 2014-07-15 19:08:04 UTC
I'm not sure what a bookmark is so I can't speak to that observation.  I've never used that feature.  One thought about what might be going on.  I've typically been adding to this release notes file by copying text in my Matlab headers (Matlab is a scientific programming platform) and then copying them into the file using the Paste Special...unformatted text option.  Could something about this procedure be inadvertently adding these invisible bookmarks?  Some sort of bug?  I'm currently using version 4.2.5.2 under OS X 10.9.4.
Comment 8 Björn Michaelsen 2014-11-16 19:16:46 UTC
Pathological document, adjusting priority/severity.
Comment 9 Björn Michaelsen 2014-11-16 20:12:42 UTC
(File does open here on master, but it takes 1 hour.)
Comment 10 QA Administrators 2015-12-20 16:07:48 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2017-01-03 19:46:34 UTC Comment hidden (obsolete)
Comment 12 Timur 2017-09-08 11:39:41 UTC
Very slow but opens and no hang with 6.0+.
If normal file, I'd rename, but with malformed file, I'll close.