Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#60111 - [evince] can not open compressed files with 3.30

Attached to Project: Arch Linux
Opened by Carlo Carloni Calame (cmcc) - Tuesday, 18 September 2018, 16:32 GMT
Last edited by Jan de Groot (JGC) - Thursday, 11 October 2018, 21:56 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Opening any gzipped (or bzipped) .pdf/.ps file with latest evince 3.30 results in the error message "File type Gzip archive (application/gzip) is not supported"

Additional info:
* evince version 3.30.0+8+g238f8ee6-1 (from extra/)
* up-to-date archlinux system

Steps to reproduce:
Open any compressed PDF or PostScript file from command line or from Files
This task depends upon

Closed by  Jan de Groot (JGC)
Thursday, 11 October 2018, 21:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  https://gitlab.gnome.org/GNOME/evince/co mmit/171447de0dc182a94b8f7c9ad8bb7027e7c fbebe

Included in 3.30.1
Comment by Carlo Carloni Calame (cmcc) - Wednesday, 19 September 2018, 12:41 GMT
let me add that on the terminal the message "(evince:29283): GLib-CRITICAL **: 14:36:59.861: g_io_channel_write_chars: assertion 'channel->is_writeable' failed" is printed. I don't know if it is related to the reported bug, though...
Comment by Carlo Carloni Calame (cmcc) - Wednesday, 19 September 2018, 17:53 GMT
One further comment:

by downloading the vanilla source codes for releases 3.30.0 and 3.28.3 at https://github.com/GNOME/evince/releases and compiling both, 3.30.0 is affected by the bug while 3.28.0 is not.
By further inspection, changing line 142 of evince-3.30.0/libdocument/ev-file-helpers.c "fd = g_mkstemp_full (name, O_CLOEXEC, 0600)" to "fd = g_mkstemp (name)" (as found in the same file for 3.28.3) solves the issue.

Should it be reported upstream?

Loading...