Bug 137173 - Fileopen: DOC with hyperlinks hangs
Summary: Fileopen: DOC with hyperlinks hangs
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Hyperlink
  Show dependency treegraph
 
Reported: 2020-10-01 06:21 UTC by Robert
Modified: 2022-05-18 11:31 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample file that can't be opened in libreoffice (54.00 KB, application/msword)
2020-10-01 06:21 UTC, Robert
Details
perf.svg: a flamegraph taken during the "hung" time. Not sure if this is good. (581.53 KB, image/svg+xml)
2021-01-26 16:58 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert 2020-10-01 06:21:53 UTC
Created attachment 165988 [details]
Sample file that can't be opened in libreoffice

Sometimes I get documents that can't be opened with Libreoffice at all. Narrowing down the problem seems to be with documents including hyperlinks. Opening such file just says importing document, but actualy never opens - or at least I force closed LO after few minutes of frozen state. It happens on Windows and Ubuntu (didn't try other platforms) and with all recent versions of LO (6.* and 7.*).
One of those documents is attached to this bug report.
Comment 1 Telesto 2020-10-02 19:50:33 UTC
Repro with
7.1

4.4.7.2

fine with
Versie: 4.2.0.4 
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71
Comment 2 Robert 2020-10-13 08:07:09 UTC Comment hidden (obsolete)
Comment 3 Robert 2020-12-18 07:51:57 UTC
And in 7.0.4.2
Comment 4 Justin L 2021-01-26 16:58:46 UTC
Created attachment 169156 [details]
perf.svg: a flamegraph taken during the "hung" time. Not sure if this is good.

Interesting - a three page document with at least 13 continuous section breaks. How lovely.

I can never load this in Linux. I tried bibisect 44, 43, 42, and 41. It also does not load in 7.2+.
Comment 5 Timur 2021-05-21 13:22:47 UTC Comment hidden (obsolete)
Comment 6 Timur 2021-05-21 13:24:33 UTC
DOC can be loaded in 43all oldest, so bibisect:

commit a7a51689878f5428c3934558f820fb65af04fedb
Date:   Sun Dec 9 16:52:12 2012 +0000
    source-hash-2a360b68475d6fff5b6618feddb0b52f3a4a2373
    previous source-hash-699e7d9e4081942bb0ad73e9be73f90a26d0c2f7

https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=699e7d9e4081942bb0ad73e9be73f90a26d0c2f7..2a360b68475d6fff5b6618feddb0b52f3a4a2373

Many commits here. And I'm not even sure it's correct, because loading previous bibisect commit once worked, once not.
Comment 7 Robert 2021-09-20 04:27:30 UTC
Still reproducible with 7.2.1
Comment 8 Robert 2022-02-11 05:40:38 UTC
Finaly it works in 7.3 RC3. It takes some time to open but at least there is a progress bar on the bottom.
Comment 9 Timur 2022-05-18 11:31:44 UTC
Fixed with:

7.3 commit 115b11fc60754321653e4f44d88d1b033163c3da
Date:   Tue Nov 23 20:19:31 2021 +0100
    source bdef11f5337ecc87556a92693f6b7b5e200eb29e
    pre c2a581ffc1f4e3888c5c243932b71c3d96e8ba8f
author	Michael Stahl <michael.stahl@allotropia.de>
configure: default to --with-webdav=curl