Bug 1474108 - eog fails to display black and white jpegs with latest gdb-pixbuf2
Summary: eog fails to display black and white jpegs with latest gdb-pixbuf2
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gdk-pixbuf2
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-23 23:38 UTC by Tom Hughes
Modified: 2017-08-16 14:27 UTC (History)
6 users (show)

Fixed In Version: gdk-pixbuf2-2.36.8-1.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-16 14:10:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Image that fails to load (22.49 KB, image/jpeg)
2017-07-23 23:38 UTC, Tom Hughes
no flags Details

Description Tom Hughes 2017-07-23 23:38:09 UTC
Created attachment 1303370 [details]
Image that fails to load

Description of problem:

After updating to gdk-pixbuf2 2.36.7 eog is no longer able to open black and white jpeg images, erroring out with:

"Unsupported number of color components (1)"

when used on an image that file identifies as:

JPEG image data, JFIF standard 1.02, aspect ratio, density 1x1, segment length 16, baseline, precision 8, 7746x6558, frames 1

a full colour image (with frames 3) displays correctly.

An example image that fails to display is attached.

Version-Release number of selected component (if applicable):

gdk-pixbuf2-2.36.7-1.fc26.x86_64

Comment 1 Tom Hughes 2017-07-23 23:39:57 UTC
Downgrading to gdk-pixbuf2-2.36.6-1.fc26.x86_64 fixes the problem.

Comment 2 Eddy Castillo 2017-07-30 05:05:07 UTC
This is already fixed upstream: https://bugzilla.gnome.org/show_bug.cgi?id=785171

I guess it needs to be backported.

Comment 3 Andrea Vai 2017-08-02 10:41:31 UTC
Same issue with eog in Fedora 25

Comment 4 paul59584 2017-08-06 07:50:59 UTC
For F25, the upstream fix is still NOT included in gdk-pixbuf2 2.36.7-2.fc25  

https://git.gnome.org/browse/gdk-pixbuf/commit/?id=6dd89e1

Comment 5 Joachim Backes 2017-08-08 11:23:23 UTC
(In reply to Tom Hughes from comment #1)
> Downgrading to gdk-pixbuf2-2.36.6-1.fc26.x86_64 fixes the problem.

Installing gdk-pixbuf2-2.36.8-1.fc26 from koji (https://koji.fedoraproject.org/koji/packageinfo?packageID=10563) fixes it.


Note You need to log in before you can comment on or make changes to this bug.