Atril crashes when trying to print PDF

Projekt:Trisquel
Version:9.0
Komponente:Programs
Kategorie:Fehlerbericht
Priorität:normal
Zugewiesen:nicht zugewiesen
Status:closed
Beschreibung

When trying to print a pdf document with a QR code, atril crashed giving the following error message (in spanish):

atril: ../../../../src/cairo-array.c:182: _cairo_array_index: La declaración `index < array->num_elements' no se cumple.
Abortado

Trisquel version: 9.0.0
Atril version: 1.20.1 using Poppler/Cairo 0.62.0
Printer: HP Deskjet Ink Advantaje 2775 with driver Deskjet_2700

Di, 01/04/2022 - 16:43

Can you share the pdf in question?
Do you see the same behavior with other files?
Could it be a specially/badly crafted PDF?

If you have ghostscript installed in you system, you could try

gs \
-sDEVICE=pdfwrite \
-dCompatibilityLevel=1.4 \
-dPDFSETTINGS=/ebook \
-dNOPAUSE \
-dQUIET \
-dBATCH \
-sOutputFile=output.pdf \
input.pdf

This might clean issues in format in the "input.pdf" file, please see if the "output.pdf" keeps failing when printing.
Cheers!

Fr, 01/14/2022 - 18:47
Status:active» can't reproduce
Sa, 02/05/2022 - 08:16
Status:can't reproduce» closed