New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 628926 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Huge PNG corruption

Reported by dch...@gmail.com, Jul 17 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36

Example URL:

Steps to reproduce the problem:
Open the attached 800x100000 PNG (original.png), containing black horizontal lines of slightly different lengths.

What is the expected behavior?
See the correct image.

See a screenshot from Safari (good_safari.png) for the proper (zoomed) image.

What went wrong?
In most cases, Chrome displays blank image.

In other cases (can't figure out the specific instances), it shows some colorful random noise (see bad_chrome.png) [uninitialized memory?]

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes 

Chrome version: 51.0.2704.106  Channel: stable
OS Version: OS X 10.11.5
Flash Version: 

Images was created with Go image/png package, and I believe is correct. OS X Preview can display it, Safari can display it (although they are probably using the same graphics engine?), Shotwell in CentOS 7 can display it, and Nautilus file manager can make thumbnail.

Firefox refuses to display it, showing "“image cannot be displayed because it contains error”.

ImageMagick refuses to convert it to JPG: 

convert: Maximum supported image dimension is 65500 pixels `original-converted.jpg' @ error/jpeg.c/JPEGErrorHandler/322.

Also tested with Canary Version 54.0.2799.0 canary (64-bit) — same result.
 
original.png
947 KB View Download
good_safari.png
102 KB View Download
bad_chrome.png
167 KB View Download

Comment 1 by dch...@gmail.com, Jul 17 2016

Correction regarding ImageMagick: it can't convert to JPEG due to LibJPEG limitation, but can successfully convert to BMP.
Components: -Blink Blink>Image
Cc: rnimmagadda@chromium.org
Labels: M-52 OS-Linux OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to repro this issue on Windows 7, MAC (10.11.5) & Ubuntu Trusty (14.04) for Google Chrome Stable Version - 51.0.2704.106

This is a Non-Regression issue existing from M30 - # 30.0.1549.0
Cc: scroggo@chromium.org
Components: -Blink>Image Internals>Images>Codecs

Sign in to add a comment