Bug 164444 - Opening this file causes LO Writer to crash
Summary: Opening this file causes LO Writer to crash
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.3.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Layout-Loops, Writer-Loops Crash
  Show dependency treegraph
 
Reported: 2024-12-23 19:51 UTC by dave.engineer@gmail.com
Modified: 2024-12-27 14:12 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
.docx file downloaded from Google Drive, created by Google Drive OCR (491.83 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2024-12-23 19:54 UTC, dave.engineer@gmail.com
Details
Same as previos attachment (1.23 MB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2024-12-23 19:55 UTC, dave.engineer@gmail.com
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dave.engineer@gmail.com 2024-12-23 19:51:07 UTC
Description:


I downloaded 2 documents from Google Drive that were created from a pdf scan by Google Drive OCR. I have done this before ok. This time opening them crashes Writer. Perhaps file is corrupted. Any suggestions how to fix?

Version: 24.8.3.2 (X86_64) / LibreOffice Community

Build ID: 48a6bac9e7e268aeb4c3483fcf825c94556d9f92

CPU threads: 12; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win

Locale: en-US (en_US); UI: en-US

Calc: threaded


Steps to Reproduce:
1.Open file in the normal manner
2.
3.

Actual Results:
Crashes LO Writer

Expected Results:
Opens in LO Writer


Reproducible: Always


User Profile Reset: No

Additional Info:
Referred by Reddit Libre Office community
Comment 1 dave.engineer@gmail.com 2024-12-23 19:54:26 UTC
Created attachment 198245 [details]
.docx file downloaded from Google Drive, created by Google Drive OCR
Comment 2 dave.engineer@gmail.com 2024-12-23 19:55:17 UTC
Created attachment 198246 [details]
Same as previos attachment
Comment 3 BogdanB 2024-12-23 20:12:15 UTC
I can not even download the file in the browser, the browser is showing:
This page contains the following errors:
error on line 1 at column 1: Start tag expected, '<' not founderror on line 1 at column 1: Encoding error
Below is a rendering of the page up to the first error.
Comment 4 dave.engineer@gmail.com 2024-12-23 20:21:19 UTC
OP: when I try to open these, I can see the first page but cannot scroll and soon the app crashes.
Comment 5 Telesto 2024-12-23 20:42:32 UTC
Hang/freeze with
Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 141f3fd15633803afa720837405a0bacbc2726cb
CPU threads: 8; OS: macOS 14.7.1; UI render: Skia/Metal; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded

and with
Version: 7.0.0.3
Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e
CPU threads: 8; OS: Mac OS X 10.16; UI render: default; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded
Comment 6 Tex2002ans 2024-12-24 02:42:16 UTC
In LO 24.8.4:

- Attachment 198245 [details]
   - "Recipes Koreaworld" DOCX
   - I get a hang/freeze after first page renders.
- Attachment 198246 [details]
   - "Recipes belly full" DOCX
   - I can open this one up and scroll through fine.

- - -

Both tested in:

Version: 24.8.4.2 (X86_64) / LibreOffice Community
Build ID: bb3cfa12c7b1bf994ecc5649a80400d06cd71002
CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Also, both DOCXs open up perfectly fine in:

- Microsoft Word 365 (Version 2411, Build 18227.20162)
Comment 7 BogdanB 2024-12-24 05:25:51 UTC
For Recipe belly full I get in Debug LibreOffice:

warn:svx:3400:3400:svx/source/unodraw/unoshape.cxx:1706: DBG_UNHANDLED_EXCEPTION in setPropertyValues exception: com.sun.star.beans.UnknownPropertyException message: "Representation at /home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/svx/source/unodraw/unoshape.cxx:1508" context: SvxGraphicObject
warn:svx:3400:3400:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, string != com.sun.star.awt.XBitmap
warn:svx:3400:3400:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, com.sun.star.awt.Gradient != com.sun.star.awt.Gradient2
warn:svx:3400:3400:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, com.sun.star.awt.Gradient != com.sun.star.awt.Gradient2
warn:writerfilter:3400:3400:sw/source/writerfilter/dmapper/PropertyMap.cxx:626: Paper source not found com.sun.star.lang.IllegalArgumentException message: "at /home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/sw/source/core/unocore/unostyle.cxx:1676" ArgumentPosition: 0
warn:svx:3400:3400:svx/source/unodraw/unoshape.cxx:1706: DBG_UNHANDLED_EXCEPTION in setPropertyValues exception: com.sun.star.beans.UnknownPropertyException message: "Representation at /home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/svx/source/unodraw/unoshape.cxx:1508" context: SvxGraphicObject
warn:svx:3400:3400:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, string != com.sun.star.awt.XBitmap
warn:svx:3400:3400:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, com.sun.star.awt.Gradient != com.sun.star.awt.Gradient2
warn:svx:3400:3400:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, com.sun.star.awt.Gradient != com.sun.star.awt.Gradient2
warn:svx:3400:3400:svx/source/unodraw/unoshape.cxx:1706: DBG_UNHANDLED_EXCEPTION in setPropertyValues exception: com.sun.star.beans.UnknownPropertyException message: "Representation at /home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/svx/source/unodraw/unoshape.cxx:1508" context: SvxGraphicObject
warn:svx:3400:3400:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, string != com.sun.star.awt.XBitmap
warn:svx:3400:3400:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, com.sun.star.awt.Gradient != com.sun.star.awt.Gradient2
warn:svx:3400:3400:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, com.sun.star.awt.Gradient != com.sun.star.awt.Gradient2
warn:svx:3400:3400:svx/source/unodraw/unoshape.cxx:1706: DBG_UNHANDLED_EXCEPTION in setPropertyValues exception: com.sun.star.beans.UnknownPropertyException message: "Representation at /home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/svx/source/unodraw/unoshape.cxx:1508" context: SvxGraphicObject
warn:svx:3400:3400:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, string != com.sun.star.awt.XBitmap
warn:svx:3400:3400:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, com.sun.star.awt.Gradient != com.sun.star.awt.Gradient2
warn:svx:3400:3400:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, com.sun.star.awt.Gradient != com.sun.star.awt.Gradient2
warn:svx:3400:3400:svx/source/unodraw/unoshape.cxx:1706: DBG_UNHANDLED_EXCEPTION in setPropertyValues exception: com.sun.star.beans.UnknownPropertyException message: "Representation at /home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/svx/source/unodraw/unoshape.cxx:1508" context: SvxGraphicObject
warn:svx:3400:3400:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, string != com.sun.star.awt.XBitmap
warn:svx:3400:3400:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, com.sun.star.awt.Gradient != com.sun.star.awt.Gradient2
warn:svx:3400:3400:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, com.sun.star.awt.Gradient != com.sun.star.awt.Gradient2
warn:legacy.osl:3400:3400:oox/source/helper/storagebase.cxx:67: StorageBase::StorageBase - missing base input stream
warn:sal.osl:3400:3400:sal/osl/unx/module.cxx:100: dlopen(/home/bogdan/Documente/debug/LibreOfficeDev_25.2.0.0.alpha0_Linux_x86-64_archive/program/libjava_gcc3.so, 257): /home/bogdan/Documente/debug/LibreOfficeDev_25.2.0.0.alpha0_Linux_x86-64_archive/program/libjava_gcc3.so: cannot open shared object file: No such file or directory
warn:sal.osl:3400:3400:sal/osl/unx/module.cxx:100: dlopen(/home/bogdan/Documente/debug/LibreOfficeDev_25.2.0.0.alpha0_Linux_x86-64_archive/program/libgcc3_java.so, 257): /home/bogdan/Documente/debug/LibreOfficeDev_25.2.0.0.alpha0_Linux_x86-64_archive/program/libgcc3_java.so: cannot open shared object file: No such file or directory
warn:legacy.tools:3400:3400:sfx2/source/control/bindings.cxx:1770: No cache for OfficeDispatch!
warn:sal.osl:3400:3400:sal/osl/unx/module.cxx:100: dlopen(/home/bogdan/Documente/debug/LibreOfficeDev_25.2.0.0.alpha0_Linux_x86-64_archive/program/libi18npool.so, 1): /home/bogdan/Documente/debug/LibreOfficeDev_25.2.0.0.alpha0_Linux_x86-64_archive/program/libi18npool.so: cannot open shared object file: No such file or directory
warn:legacy.osl:3400:3400:sw/source/core/layout/flowfrm.cxx:2676: <SwFlowFrame::MoveBwd(..)> - layout loop control for layout action <Move Backward> applied!
warn:legacy.osl:3400:3400:sw/source/core/layout/flowfrm.cxx:2676: <SwFlowFrame::MoveBwd(..)> - layout loop control for layout action <Move Backward> applied!
warn:legacy.osl:3400:3400:sw/source/core/layout/flowfrm.cxx:2676: <SwFlowFrame::MoveBwd(..)> - layout loop control for layout action <Move Backward> applied!
warn:legacy.osl:3400:3400:sw/source/core/layout/flowfrm.cxx:2676: <SwFlowFrame::MoveBwd(..)> - layout loop control for layout action <Move Backward> applied!
warn:legacy.osl:3400:3400:sw/source/core/layout/flowfrm.cxx:2676: <SwFlowFrame::MoveBwd(..)> - layout loop control for layout action <Move Backward> applied!
warn:legacy.osl:3400:3400:sw/source/core/layout/flowfrm.cxx:2676: <SwFlowFrame::MoveBwd(..)> - layout loop control for layout action <Move Backward> applied!

For Recipes Koreaworld I get:
warn:writerfilter:3648:3648:sw/source/writerfilter/dmapper/PropertyMap.cxx:626: Paper source not found com.sun.star.lang.IllegalArgumentException message: "at /home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/sw/source/core/unocore/unostyle.cxx:1676" ArgumentPosition: 0
warn:svx:3648:3648:svx/source/unodraw/unoshape.cxx:1706: DBG_UNHANDLED_EXCEPTION in setPropertyValues exception: com.sun.star.beans.UnknownPropertyException message: "Representation at /home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/svx/source/unodraw/unoshape.cxx:1508" context: SvxGraphicObject
warn:svx:3648:3648:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, string != com.sun.star.awt.XBitmap
warn:svx:3648:3648:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, com.sun.star.awt.Gradient != com.sun.star.awt.Gradient2
warn:svx:3648:3648:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, com.sun.star.awt.Gradient != com.sun.star.awt.Gradient2
warn:svx:3648:3648:svx/source/unodraw/unoshape.cxx:1706: DBG_UNHANDLED_EXCEPTION in setPropertyValues exception: com.sun.star.beans.UnknownPropertyException message: "Representation at /home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/svx/source/unodraw/unoshape.cxx:1508" context: SvxGraphicObject
warn:svx:3648:3648:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, string != com.sun.star.awt.XBitmap
warn:svx:3648:3648:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, com.sun.star.awt.Gradient != com.sun.star.awt.Gradient2
warn:svx:3648:3648:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, com.sun.star.awt.Gradient != com.sun.star.awt.Gradient2
warn:svx:3648:3648:svx/source/unodraw/unoshape.cxx:1706: DBG_UNHANDLED_EXCEPTION in setPropertyValues exception: com.sun.star.beans.UnknownPropertyException message: "Representation at /home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/svx/source/unodraw/unoshape.cxx:1508" context: SvxGraphicObject
warn:svx:3648:3648:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, string != com.sun.star.awt.XBitmap
warn:svx:3648:3648:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, com.sun.star.awt.Gradient != com.sun.star.awt.Gradient2
warn:svx:3648:3648:svx/source/unodraw/unoshape.cxx:1852: SvxShape::GetAnyForItem() Return value has wrong Type, com.sun.star.awt.Gradient != com.sun.star.awt.Gradient2
warn:legacy.osl:3648:3648:oox/source/helper/storagebase.cxx:67: StorageBase::StorageBase - missing base input stream
warn:sal.osl:3648:3648:sal/osl/unx/module.cxx:100: dlopen(/home/bogdan/Documente/debug/LibreOfficeDev_25.2.0.0.alpha0_Linux_x86-64_archive/program/libjava_gcc3.so, 257): /home/bogdan/Documente/debug/LibreOfficeDev_25.2.0.0.alpha0_Linux_x86-64_archive/program/libjava_gcc3.so: cannot open shared object file: No such file or directory
warn:sal.osl:3648:3648:sal/osl/unx/module.cxx:100: dlopen(/home/bogdan/Documente/debug/LibreOfficeDev_25.2.0.0.alpha0_Linux_x86-64_archive/program/libgcc3_java.so, 257): /home/bogdan/Documente/debug/LibreOfficeDev_25.2.0.0.alpha0_Linux_x86-64_archive/program/libgcc3_java.so: cannot open shared object file: No such file or directory
warn:legacy.tools:3648:3648:sfx2/source/control/bindings.cxx:1770: No cache for OfficeDispatch!
warn:sal.osl:3648:3648:sal/osl/unx/module.cxx:100: dlopen(/home/bogdan/Documente/debug/LibreOfficeDev_25.2.0.0.alpha0_Linux_x86-64_archive/program/libi18npool.so, 1): /home/bogdan/Documente/debug/LibreOfficeDev_25.2.0.0.alpha0_Linux_x86-64_archive/program/libi18npool.so: cannot open shared object file: No such file or directory
warn:legacy.osl:3648:3648:sw/source/core/layout/flowfrm.cxx:2676: <SwFlowFrame::MoveBwd(..)> - layout loop control for layout action <Move Backward> applied!
warn:legacy.osl:3648:3648:sw/source/core/layout/flowfrm.cxx:2676: <SwFlowFrame::MoveBwd(..)> - layout loop control for layout action <Move Backward> applied!
warn:legacy.osl:3648:3648:sw/source/core/layout/flowfrm.cxx:2676: <SwFlowFrame::MoveBwd(..)> - layout loop control for layout action <Move Backward> applied!
warn:legacy.osl:3648:3648:sw/source/core/layout/flowfrm.cxx:2676: <SwFlowFrame::MoveBwd(..)> - layout loop control for layout action <Move Backward> applied!
Comment 8 Telesto 2024-12-24 07:51:55 UTC
(In reply to BogdanB from comment #7)
> warn:legacy.osl:3648:3648:sw/source/core/layout/flowfrm.cxx:2676:
> <SwFlowFrame::MoveBwd(..)> - layout loop control for layout action <Move
> Backward> applied!

Causes the freeze
Comment 9 Julien Nabet 2024-12-27 14:12:51 UTC
On pc Debian x86-64 with master sources updated today, when opening the first document, I got a freeze.
and noticed the same logs on console:
warn:legacy.osl:542870:542870:sw/source/core/layout/flowfrm.cxx:2719: <SwFlowFrame::MoveBwd(..)> - layout loop control for layout action <Move Backward> applied!
warn:sw.layout:542870:542870:sw/source/core/layout/layouter.cxx:194: Looping Louie: Stage 1!
warn:legacy.osl:542870:542870:sw/source/core/layout/flowfrm.cxx:2719: <SwFlowFrame::MoveBwd(..)> - layout loop control for layout action <Move Backward> applied!
...