Bug 157313 - LibreOffice Writer crashes when opening various .docx Word document
Summary: LibreOffice Writer crashes when opening various .docx Word document
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.1.2 release
Hardware: x86-64 (AMD64) All
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, haveBacktrace, regression
Depends on:
Blocks:
 
Reported: 2023-09-18 18:58 UTC by benjarobin+documentfoundation
Modified: 2023-09-19 10:42 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
gdbtrace (50.44 KB, text/plain)
2023-09-18 18:59 UTC, benjarobin+documentfoundation
Details
File to reproduce the crash (37.70 KB, application/octet-stream)
2023-09-18 20:05 UTC, benjarobin+documentfoundation
Details

Note You need to log in before you can comment on or make changes to this bug.
Description benjarobin+documentfoundation 2023-09-18 18:58:54 UTC
Description:
When opening various Word .docx document LibreOffice crashes with a SIGSEGV. See attached backtrace.
The libreoffice interface does not have the chance to be displayed. The crash occurs very early while opening the document.
I will try to create a minimal Word document that is able to reproduce the problem. Right now I cannot share the documents that crash...

Steps to Reproduce:
1. Open "special" docx document

Actual Results:
Crash

Thread 1 "soffice.bin" received signal SIGSEGV, Segmentation fault.
CalcClipRect (pSdrObj=0x55555b876860, rRect=..., bMove=240) at /usr/src/debug/libreoffice-fresh/libreoffice-7.6.1.2/sw/source/core/layout/flylay.cxx:1268
Downloading source file /usr/src/debug/libreoffice-fresh/libreoffice-7.6.1.2/sw/source/core/layout/flylay.cxx...
1268	                    SwRect aTmp( pTabFrame->getFramePrintArea() );

Expected Results:
File opened


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.6.1.2 (X86_64) / LibreOffice Community
Build ID: 60(Build:2)
CPU threads: 12; OS: Linux 6.5; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fr-FR (fr_FR.utf8); UI: fr-FR
7.6.1-1
Calc: threaded
Comment 1 benjarobin+documentfoundation 2023-09-18 18:59:30 UTC
Created attachment 189674 [details]
gdbtrace
Comment 2 benjarobin+documentfoundation 2023-09-18 19:39:38 UTC
Can reproduce the problem under Windows

Version: 7.6.1.2 (X86_64) / LibreOffice Community
Build ID: f5defcebd022c5bc36bbb79be232cb6926d8f674
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: CL threaded

I am starting to create a Word document that I can share
Comment 3 benjarobin+documentfoundation 2023-09-18 20:05:42 UTC
Created attachment 189676 [details]
File to reproduce the crash
Comment 4 Xisco Faulí 2023-09-19 09:26:12 UTC
Regression from

author	Miklos Vajna <vmiklos@collabora.com>	2023-04-24 12:43:26 +0200
committer	Miklos Vajna <vmiklos@collabora.com>	2023-04-24 17:06:27 +0200
commit e0017ad2a5b008111b716c0814c5a0c5b0f1e05b (patch)
tree c70f5466750ce0eeff2ea38c868edd05fcd411e4
parent 5a1d07a819bd0f14dd901b35ae245bcd681cb512 (diff)
sw floattable, crashtesting: fix PDF export of fdo80989-1.docx

Bisected with: bibisect-linux64-7.6

Adding Cc: to Miklos Vajna
Comment 5 Xisco Faulí 2023-09-19 10:42:40 UTC
Actually this got fixed with

author	Miklos Vajna <vmiklos@collabora.com>	2023-09-13 08:14:19 +0200
committer	Miklos Vajna <vmiklos@collabora.com>	2023-09-13 11:35:07 +0200
commit 5127b1961b762643d47a26704556fd9b8664c6fc (patch)
tree 3955a52480030dc12934dfdfecf49d2ac450caf3
parent fa0e4fa0154b15fa1c04495562d08b4490ec984b (diff)
sw floattable, nesting: add DOCX import

Closing as RESOLVED FIXED