Bug 1058367 - Some jpeg images cause eog to show garbage instead of image contents
Summary: Some jpeg images cause eog to show garbage instead of image contents
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-intel
Version: 20
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kalev Lember
QA Contact: Fedora Extras Quality Assurance
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-27 16:25 UTC by Alex Villacís Lasso
Modified: 2015-06-29 14:47 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-29 14:47:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Example of affected image (95.59 KB, image/jpeg)
2014-01-27 16:25 UTC, Alex Villacís Lasso
no flags Details
What I see if I try to download the affected attachment and view it using eog (212.58 KB, image/png)
2014-01-27 16:27 UTC, Alex Villacís Lasso
no flags Details

Description Alex Villacís Lasso 2014-01-27 16:25:10 UTC
Created attachment 856137 [details]
Example of affected image

Description of problem:
With some specific jpeg images, eog will show an area of garbage instead of the expected image contents. This area will be of the size of the image, so the image is at least partly recognized as valid. The garbage will commonly be stripes and pieces of previously viewed images and of the current GUI.

Version-Release number of selected component (if applicable):
eog-3.10.2-1.fc20.x86_64

How reproducible:
Always (with affected images)

Steps to Reproduce:
1. Locate affected image
2. Attempt to view image
3.

Actual results:
Stripes of garbage displayed

Expected results:
Valid image displayed

Additional info:
Firefox is not affected by this bug and will properly display the same image file if opened as a file.

Comment 1 Alex Villacís Lasso 2014-01-27 16:27:02 UTC
Created attachment 856138 [details]
What I see if I try to download the affected attachment and view it using eog

Comment 2 Alex Villacís Lasso 2014-08-31 02:31:59 UTC
Still affected by the bug.

I have checked that all images affected by the bug are images with a width of exactly 512, 1024, or 2048 pixels. Height of the image is irrelevant. This looks like something to do with a boundary condition on either a power of 2 or a multiple of 512 pixels.

Zooming in or out of the image has no effect on fixing or triggering the bug.

Comment 3 Alex Villacís Lasso 2014-08-31 03:07:46 UTC
A further data point. This bug seems somewhat related to the display driver. The two affected machines are both x86_64 installations with xorg-x11-drv-intel-2.21.15-7.fc20.x86_64 . However, the bug does not occur with a x86_64 laptop (HP Pavillion dv4) that uses a radeon chipset, and also does not occur on an Acer Aspire One that runs a 32-bit installatin of xorg-x11-drv-intel.

Additionally, this bug seems to be known upstream:

https://bugzilla.gnome.org/show_bug.cgi?id=723577
https://bugzilla.gnome.org/show_bug.cgi?id=656224
https://bugzilla.gnome.org/show_bug.cgi?id=711325

http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=587c4866652e40e1e228b333028114766a6d3b08

I confirm that I am using SNA as intel backend. Will test with default backend (UXA?).

Comment 4 Alex Villacís Lasso 2014-08-31 03:16:14 UTC
I can confirm that using the default UXA backend for the intel driver instead of SNA works around the eog image corruption issue. This is really an intel driver bug.

Comment 5 Fedora End Of Life 2015-05-29 10:41:58 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 6 Fedora End Of Life 2015-06-29 14:47:40 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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