Atril crashes when trying to print PDF

Proxecto:Trisquel
Versión:9.0
Componente:Programs
Categoría:informe de erro
Prioridade:normal
Asignado:Sen asignar
Estado:closed
Descrición

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

Mar, 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!

Ven, 01/14/2022 - 18:47
Estado:active» can't reproduce
Sáb, 02/05/2022 - 08:16
Estado:can't reproduce» closed