Projekt: | Trisquel |
Version: | 9.0 |
Komponente: | Programs |
Kategorie: | Fehlerbericht |
Priorität: | normal |
Zugewiesen: | nicht zugewiesen |
Status: | closed |
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
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!