Bug 126368 - LO no print or crash when printing graphic/image in Linux
Summary: LO no print or crash when printing graphic/image in Linux
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
5.0.0.5 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Crash
  Show dependency treegraph
 
Reported: 2019-07-12 14:36 UTC by Rupert Kolb
Modified: 2020-05-21 09:15 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
odt, 2 pages, with different images. Not printable or crash LO (37.73 KB, application/vnd.oasis.opendocument.text)
2019-07-12 14:36 UTC, Rupert Kolb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rupert Kolb 2019-07-12 14:36:47 UTC
Created attachment 152744 [details]
odt, 2 pages, with different images. Not printable or crash LO

Printing the attached file does not work with newer versions of LibreOffice.
In the example file are 4 graphics/images included.


Crash of LibreOffice when start printing:
(pages, which do not have these similar graphics, are printed)

LibreOffice_6.2.5.2_Linux_x86_deb


No crash, but no print with:

LibreOffice_6.1.6.3_Linux_x86-64_deb

LibreOffice 6.1.3.2 on Opensuse Leap 15.1

LibreOffice_6.2.5_Win_x64.msi on Win7
(No print of image at page 1, but print of single page 2 ok)


Print ok with:
LibreOffice 5.2.1.2 (x64) on Win7
Comment 1 Rupert Kolb 2019-07-12 14:40:18 UTC
(Printer is a Lexmark CX922)
Comment 2 V Stuart Foote 2019-07-13 04:24:55 UTC
Can not confirm on Windows 10 Home 64-bit en-US with
Version: 6.2.5.2 (x64)
Build ID: 1ec314fa52f458adc18c4f025c545a4e8b22c159
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded

nor on current master/6.4.0
Version: 6.4.0.0.alpha0+ (x64)
Build ID: 2f2f4767089512c34514896bc37823f9310e9dd4
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-07-10_02:13:57
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded

Clean print preview of this GIF on the first page, and the three OLE objects (sRGB WMF with Alpha).

They all also export cleanly to PDF (no compression).

And, the document prints cleanly to a Brother black & white Laser printer.
Comment 3 Rupert Kolb 2019-07-13 07:10:19 UTC
Can somebody check it at a linux machine?
Comment 4 raal 2019-07-14 16:45:05 UTC
No crash Version: 6.4.0.0.alpha0+
Build ID: 9b7729c6e224dfbe89e309aab8e8fd392fc234ad
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
printer Lexmark E352dn
but nothing printed...
Comment 5 Xisco Faulí 2019-08-15 13:03:07 UTC Comment hidden (obsolete)
Comment 6 Timur 2019-10-16 13:21:58 UTC
I had a crash with LO 6.4+ in Linux when trying to print. I sent a crash report (no link for master).
Next time print to Cups PDF printer no crash but empty, as already confirmed in Comment 4. 
Also empty with LO 5.0. Not empty LO 4.4. Regression.
New.
Comment 7 Timur 2020-05-12 12:02:48 UTC
This bug is not simple. 
I now retested in Lin and print to PDF is fine with master 7.0+. Even with 6.4, I only saw printing of 2 instead of 4 images. 
But, test with master 7.0+ in Win there's a new bug, 1st page image is black and 2nd page images are wrong. 
So we would need a Windows bibisect.
Comment 8 Timur 2020-05-12 13:08:58 UTC
Rupert, please retest with master 7.0+ from https://dev-builds.libreoffice.org/daily/master/current.html (installed separately to your working versions). For Linux you may also use simpler runtime https://libreoffice.soluzioniopen.com/index.php/daily-version/.
Comment 9 Timur 2020-05-21 09:02:20 UTC
Here is a fix in Linux 6.4 and 6.3 (Xisco in bug 115967):
 9b1c03e9ad93a5401a8ecb2852f5f24d47fbad6e is the first good commit
commit 9b1c03e9ad93a5401a8ecb2852f5f24d47fbad6e
Author: Jenkins Build User <tdf@pollux.tdf>
Date:   Thu Oct 24 13:34:33 2019 +0200

    source 83baaec3a087f83d0ad3371d55671d9496771586
    Previous source 6a45c9755293f0969b4c2081d6d602bac9986d16

I'll close this one, opened another for Skia and one more for Windows.