Bug 129994 - FILEOPEN: hang at import time
Summary: FILEOPEN: hang at import time
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, perf, regression
Depends on:
Blocks:
 
Reported: 2020-01-14 11:52 UTC by Xisco Faulí
Modified: 2020-09-29 12:45 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
perf flamegraph (82.16 KB, application/x-bzip)
2020-01-14 21:11 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2020-01-14 11:52:50 UTC
Steps to reproduce:
1. Open attachment 78787 [details] from bug 64160

-> File hangs

Reproduced in

Version: 6.5.0.0.alpha0+
Build ID: d5047c4a1cbae1cb2b57ed435ecd63e6817506d3
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 Xisco Faulí 2020-01-14 11:54:43 UTC
Regression introduced by:

author	Balazs Varga <balazs.varga991@gmail.com>	2019-07-17 12:57:47 +0200
committer	László Németh <nemeth@numbertext.org>	2019-07-24 14:04:06 +0200
commit fa0a981af41a2606541eec1cb20a379a739691e0 (patch)
tree a90104181609266bdd21538ef85b1bafbb297465
parent 9c4945a6767c298258f8aab053841242dc4f7afc (diff)
tdf#114166 DOCX chart import: fix missing complex categories

Bisected with: bibisect-linux64-6.4

Adding Cc: to Balazs Varga

Before this commit, the file takes

real	1m59,946s
user	1m54,940s
sys	0m3,825s

to open
Comment 2 Xisco Faulí 2020-01-14 11:55:34 UTC
@Julien, would it be possible to have a perf chart for this issue ?
Comment 3 Julien Nabet 2020-01-14 13:13:00 UTC
No pb, I'll do it after my daytime job.
Comment 4 Julien Nabet 2020-01-14 21:11:37 UTC
Created attachment 157152 [details]
perf flamegraph

Here's a Flamegraph retrieved on pc Debian x86-64 with master sources updated today.
Comment 5 Julien Nabet 2020-01-14 21:14:17 UTC
On console, I just noticed these logs:
warn:writerfilter.ooxml:323314:323314:writerfilter/source/ooxml/OOXMLDocumentImpl.cxx:187: importSubStreamRelations: exception while importing stream 14 com.sun.star.lang.IllegalArgumentException message: /home/julien/lo/libreoffice/package/source/xstor/xstorage.cxx:5392: Unexpected entry name syntax. ArgumentPosition: 1
warn:legacy.osl:323314:323314:oox/source/helper/graphichelper.cxx:120: GraphicHelper::GraphicHelper - cannot get target frame
warn:chart2:323314:323314:chart2/source/view/main/ChartView.cxx:1406: DBG_UNHANDLED_EXCEPTION in void chart::{anonymous}::lcl_setDefaultWritingMode(const std::shared_ptr<chart::DrawModelWrapper>&, chart::ChartModel&) exception: com.sun.star.container.NoSuchElementException
Comment 6 Xisco Faulí 2020-07-22 15:08:10 UTC
Dear  Balázs Varga,
This bug has been in ASSIGNED status for more than 3 months without any
activity. Resetting it to NEW.
Please assign it back to yourself if you're still working on this.
Comment 7 Balázs Varga 2020-09-18 11:32:52 UTC
Fixed by the following commit:
https://git.libreoffice.org/core/+/2d51b9fd4e7b22a21c77cff473de56ebebc5c9f2%5E%21
Comment 8 Xisco Faulí 2020-09-29 12:45:11 UTC
Verified in

Version: 7.1.0.0.alpha0+
Build ID: cd85546a2fbdade42f80fd3b6bd650791db9f32d
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: tr-TR (en_US.UTF-8); UI: en-US
Calc: threaded

@Balázs Varga, thanks for fixing this issue!