Bug 155170 - LibreOffice stops responding when opening the attached PDF
Summary: LibreOffice stops responding when opening the attached PDF
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pdf, perf
Depends on:
Blocks: PDF-Import-Draw PDF-Import-Writer Memory Performance CPU-AT-100%
  Show dependency treegraph
 
Reported: 2023-05-06 20:12 UTC by Anas
Modified: 2024-04-25 06:39 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
this is a test for my daughter in Turkish (7.93 MB, application/pdf)
2023-05-06 20:12 UTC, Anas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anas 2023-05-06 20:12:05 UTC
Created attachment 187119 [details]
this is a test for my daughter in Turkish

Libre Office Writer stops responding when opening the attached pdf. The language of the pdf file is Turkish

My version of Libre Office Writer is 7.4.6.2 (x64)
My os is Windows 10

My Processor is 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 1690 Mhz, 4 Core(s), 8 Logical Processor(s)
Comment 1 Robert Großkopf 2023-05-07 06:42:12 UTC
Tested it with the attached document. LO will hang to import the content. Document is created by Adobe InDesign 14.0. Don't know if there isn't any function, which isn't supported by pdf import.

Then I opened the document in a pdf-viewer and printed it to *.pdf. Document expands from 7,9 MB to 16,5 MB. This document could be opened by LO without any problem.

Don't know if this is a bug, because I don't know if there are features used by InDesign, which aren't supported by LO. But LO should respond with n"not supported". I will set this one to NEW.
Comment 2 Roman Kuznetsov 2023-05-09 18:38:11 UTC
It does not matter Writer or Draw try to open the PDF. LibreOffice hangs, takes 100% of CPU and starts to eat the memory
Comment 3 csyu.279 2023-05-25 14:48:22 UTC
Couldn't open in:

Version: 4.2.0.0.alpha1+
Build ID: fc8f44e82de4ebdd50ac5fbb9207cd1a59a927e3

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 45826e60d5f1508d54b0f0a4d98b0e2ebe94a097
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 4 Eyal Rozenberg 2023-09-14 22:58:44 UTC
Unbelievable - still hangs LibreOffice Draw, and LibreOffice Writer with:

Version: 7.6.0.3 (X86_64) / LibreOffice Community
Build ID: 69edd8b8ebc41d00b4de3915dc82f8f0fc3b6265
CPU threads: 4; OS: Linux 6.4; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US

and

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: cc7d6211bc01e5ec84dbad542605d2e93dea925c
CPU threads: 4; OS: Linux 6.4; UI render: default; VCL: gtk3
Locale: he-IL (en_IL); UI: en-US


Also, the hang happens both with the PDF import filter and the Writer import filter. And I also seem to get high CPU usage during the hang.
Comment 5 Dave Gilbert 2024-01-14 12:36:01 UTC
Comment on attachment 187119 [details]
this is a test for my daughter in Turkish

This one is different from 113050, it'll need separate debug.
I'm not seeing any tiling patterns in the intermediate file; however that intermediate file is pretty huge, so something is going on.