Bug 143822 - Writer hangs opening DOCX it saved from ODT (DOCX opens in MSO)
Summary: Writer hangs opening DOCX it saved from ODT (DOCX opens in MSO)
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.4.2 release
Hardware: All All
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2021-08-11 08:47 UTC by Timur
Modified: 2023-08-29 11:16 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
DOCX sample hanging on FILEOPEN (299.28 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-08-29 11:16 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timur 2021-08-11 08:47:36 UTC
Open ODT attachment 131023 [details] and save as DOCX.
On reopen of DOCX, Writer hangs. Seen from 7.1 and in 7.3+.

commit a7a31332a0501928cd05f9181ad2c8a121e0795d
Date:   Fri May 7 17:59:49 2021 +0200
    source 7eb12f8a09dd67168ba42058b99d8ab58a5c7b0a
    pre e72b36434dc299d0fb3ecc97045fbb9ca2b9abf8
author	Michael Stahl <michael.stahl@allotropia.de>	2021-05-06 18:20:14 +0200
committer	Caolán McNamara <caolanm@redhat.com>	2021-05-07 17:45:50 +0200
tdf#138518 sw: layout: fix assert on ooo43913-1.doc
Assertion `rAnchoredObjPage.GetPhyPageNum() == _nFromPageNum' failed.
Comment 1 Roman Kuznetsov 2021-08-11 15:01:11 UTC
Confirm in

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ac80ec817eb07c77a51bc0729985a473c734182e
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: threaded
Comment 2 Gabor Kelemen (allotropia) 2022-02-02 18:16:12 UTC
I can't reproduce this in 7.3 since:

https://git.libreoffice.org/core/+/5f9ffc31cd1b5433c354c7d39ce1d80fa0e57fc8

commit 5f9ffc31cd1b5433c354c7d39ce1d80fa0e57fc8	[log]
author	Noel Grandin <noel.grandin@collabora.co.uk>	Tue Oct 19 09:08:35 2021 +0200
committer	Noel Grandin <noel.grandin@collabora.co.uk>	Thu Oct 21 15:25:56 2021 +0200

introduce SwNodeOffset strong typedef

Thanks Noel for making this magically go away :)
Comment 3 Stéphane Guillou (stragu) 2023-08-29 11:16:32 UTC
Created attachment 189226 [details]
DOCX sample hanging on FILEOPEN

Verified that the attached DOCX does not hang since 5f9ffc31cd1b5433c354c7d39ce1d80fa0e57fc8 (commit 00eb9de701322c730b71c20afab763bddff27fa2 in linux-64-7.3 bibisect repo).