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)
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All All
: high major
Assignee: Not Assigned
Keywords: bibisected, bisected, regression
Depends on:
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:

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

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: (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:


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).