Bug 88126

Summary: FILEOPEN Writer hangs on opening a docx file
Product: LibreOffice Reporter: Jos van den Oever <jos>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: major    
Priority: medium CC: qubit
Version: 4.3.3.2 release   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard: perf
i915 platform: i915 features:
Attachments: file that hangs libreoffice when opened
xslt used for greeking the original file

Description Jos van den Oever 2015-01-06 19:43:17 UTC
Created attachment 111867 [details]
file that hangs libreoffice when opened

The attached file causes LibreOffice Writer to hang when it is opened. The CPU is stuck at 100% and memory use keeps increasing.

The problem is reproducible.

The file is a greeked version of the original. The file was greeked by unzipping and running the attached xslt over the contents of the xml files. This replaced all [a-zA-Z0-9] with 'a'. This changed file also hangs LibreOffice.
Comment 1 Jos van den Oever 2015-01-06 19:43:48 UTC
Created attachment 111868 [details]
xslt used for greeking the original file
Comment 2 Jos van den Oever 2015-01-06 19:44:06 UTC
Version: 4.3.3.2
Build ID: 430m0(Build:2)
Comment 3 Robinson Tryon (qubit) 2015-01-07 00:42:45 UTC
Comment on attachment 111867 [details]
file that hangs libreoffice when opened

fix mimetype
Comment 4 Robinson Tryon (qubit) 2015-01-07 00:51:50 UTC
TESTING with Ubuntu 14.04 (x86-64) + 
LO Version: 4.5.0.0.alpha0+
  Build ID: 5c60dab390d66a4d5abeaf548efecf3913b90839
  TinderBox: Linux-rpm_deb-x86_64@46-TDF
  Branch:master
  Time: 2014-12-31_00:20:30
  Locale: en_US

(In reply to Jos van den Oever from comment #0)
> Created attachment 111867 [details]
> file that hangs libreoffice when opened
> 
> The attached file causes LibreOffice Writer to hang when it is opened. The
> CPU is stuck at 100% and memory use keeps increasing.

CONFIRMED -- 100% CPU and memory creeping upwards
I only let it go for about 45 seconds.

Status -> NEW

It's possible that this is a performance issue, but I'm not sure. I'll test on a beefier machine (this machine is a Core2duo T8300 @2.4GHz + 4G RAM)
Comment 5 Robinson Tryon (qubit) 2015-01-07 01:01:49 UTC
(In reply to Robinson Tryon (qubit) from comment #4)
> [test with] attachment 111867 [details]
> > file that hangs libreoffice when opened
> > 
> > The attached file causes LibreOffice Writer to hang when it is opened. The
> > CPU is stuck at 100% and memory use keeps increasing.
> ..
> It's possible that this is a performance issue, but I'm not sure. I'll test
> on a beefier machine (this machine is a Core2duo T8300 @2.4GHz + 4G RAM)

Hangs on a Mac Mini as well (quad-core i7 + 16G RAM).

Platform -> All
Whiteboard -> perf

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.