jpg corruption of large images

Bug #578395 reported by phoenixbbs
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Binary package hint: firefox

I'm seeing corruption of large images in Firefox 3.6.3 - it looks as though the display is referencing a random chunk of memory rather than the correct decoded image (the scrambled mess shown on screen varies if you open other tabs / apps)

One such example of an image causing a problem is here:
http://www.steves-digicams.com/2009_reviews/kodak_z915/samples/100_0039.JPG

Google Chrome Beta has no issues displaying the correct image.

Using Ubuntu 10.04 with all patches applied as of 10th May 2010

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: firefox 3.6.3+nobinonly-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
Date: Mon May 10 18:45:13 2010
FirefoxPackages:
 firefox 3.6.3+nobinonly-0ubuntu4
 firefox-gnome-support 3.6.3+nobinonly-0ubuntu4
 firefox-branding 3.6.3+nobinonly-0ubuntu4
 abroswer N/A
 abrowser-branding N/A
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: firefox

Revision history for this message
phoenixbbs (ubuntu-phoenixbbs) wrote :
Revision history for this message
madbiologist (me-again) wrote :

I'm not able to reproduce this here with an ATI Radeon 9800 Pro 128Mb (R350) running the xserver-xorg-video-ati driver. My system has 1.5 Gb RAM.

Uname: Linux 2.6.32-22-generic i686
Package: firefox 3.6.3+nobinonly-0ubuntu4

Revision history for this message
Draycen DeCator (ddecator) wrote :

Thank you for reporting this to Ubuntu. Sometimes Firefox profiles can become corrupt and/or extensions can conflict. Could you please try this with a new profile and see if the problem still exists? You do not need to delete your old profile to test. If this helps, you might want to try to disable all your extensions and re-enable them one by one until you find the problematic one.

You can start the profile manager with the following command:
firefox -ProfileManager

Changed in firefox (Ubuntu):
status: New → Incomplete
Revision history for this message
phoenixbbs (ubuntu-phoenixbbs) wrote :

Ok, new profile created...

The only add-on that reinstalled itself by default was adblock-plus.

I disabled this, as well as all plugins for media, but i'm still seeing corrupted images.

FWIW i'm currently using a Toshiba A60 laptop with (IIRC) 686Mb of RAM, and ATI 7000 IGP (i'm guessing the graphics card shares system memory) - and using a wubi installation.

The corrupted images don't change size as you'd normally expect - to try to describe this (bearing in mind they're all corrupted) when you resize a full sized image back to a "fit to page" the reduced image seems to go through two states before settling down - it will initially fill the browser window with mess (different to the full size image), then change again to the sort of size ratio it should be.

lspci returns this info (non-ATI entries removed);

00:00.0 Host bridge: ATI Technologies Inc R200 AGP Bridge [Mobility Radeon 7000 IGP] (rev 05)
00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 340M]
00:13.0 USB Controller: ATI Technologies Inc OHCI USB Controller #1 (rev 01)
00:13.1 USB Controller: ATI Technologies Inc OHCI USB Controller #2 (rev 01)
00:13.2 USB Controller: ATI Technologies Inc EHCI USB Controller (rev 01)
00:14.0 SMBus: ATI Technologies Inc SMBus (rev 18)
00:14.1 IDE interface: ATI Technologies Inc Dual Channel Bus Master PCI IDE Controller
00:14.3 ISA bridge: ATI Technologies Inc Device 434c
00:14.4 PCI bridge: ATI Technologies Inc IXP200 3COM 3C920B Ethernet Controller
00:14.5 Multimedia audio controller: ATI Technologies Inc IXP150 AC'97 Audio Controller
00:14.6 Modem: ATI Technologies Inc IXP AC'97 Modem (rev 01)
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility 7000 IGP

Revision history for this message
phoenixbbs (ubuntu-phoenixbbs) wrote :

Another small note, there seems to be a little inconsistency when swapping between profiles - while most of the time (read as "all the time") I see corruption, an alternate image at the site mentioned earlier viewed ~60% OK, 40% corrupted initially, but when increased to full size it was completely corrupted, and when reduced again stayed corrupted.

Revision history for this message
Draycen DeCator (ddecator) wrote :

Thanks for the extra information. Do you ever experience graphical issues with any other applications, or just with Firefox?

Revision history for this message
phoenixbbs (ubuntu-phoenixbbs) wrote :

As far as i've noticed it's only Firefox that's affected, but i'll try saving the same image and opening it in a couple of editors

Revision history for this message
phoenixbbs (ubuntu-phoenixbbs) wrote :

ok, quick straw poll with F-Spot, eog. gthumb, Open Office Express and gimp shows no obvious issues... but having opened another tab in Firefox while typing this and dragging the image to it, i'm still seeing the same problem.

Revision history for this message
phoenixbbs (ubuntu-phoenixbbs) wrote :

Any more thoughts on this ?

Revision history for this message
phoenixbbs (ubuntu-phoenixbbs) wrote :

Still seeing corruption, here's a grab I managed to make yesterday - I still think it's some sort of memory allocation error, but not sure how to diagnose it further (I don't know if my onboard gfx uses shared RAM)

Revision history for this message
phoenixbbs (ubuntu-phoenixbbs) wrote :

Recently i've also seen general corruption of a webpage per se (most frequently ebay) where part of the page will show similar corruption as the previous images I posted.

Scrolling past the corrupted part then back again will often "correct" the corruption.

Revision history for this message
phoenixbbs (ubuntu-phoenixbbs) wrote :

It's still happening with ffox 3.6.9 :-}

Revision history for this message
madbiologist (me-again) wrote :

What make and model is your monitor? Is it a CRT or an LCD? What resolution are you running it at? Does this still occur if you boot with a different monitor connected?

Does this still occur with the Ubuntu 10.10 "Maverick Meerkat" beta Live CD? If you test this, before testing please reload the package information and then update libcairo2, libpixman-1-0, xulrunner-1.9.2, xserver-xorg-video-ati and xserver-xorg-video-radeon. You may also wish to optionally upgrade apport, apport-gtk and python-apport.

Revision history for this message
phoenixbbs (ubuntu-phoenixbbs) wrote :

Sorry if it was short on system setup info before - it's a Toshiba laptop, model SA60-106, and i'm installed to dual boot using wubi. I haven't had chance to try Maverick yet, but i'll try and get on the case later...

Revision history for this message
phoenixbbs (ubuntu-phoenixbbs) wrote :

OK, done a quick live boot and updated the bits you suggested, but it's still doing the same :-(

Whether it's relevant or not, if I reload an alternate image multiple times from the same site as shown above - in this instance http://www.steves-digicams.com/2009_reviews/kodak_z915/samples/100_0103.JPG - I see a black band at the bottom of the image that varies each time it reloads.

Revision history for this message
phoenixbbs (ubuntu-phoenixbbs) wrote :

...an interesting variation I noticed on the above happened when I went to take some screenshots of the variation in the black band - as I hit "PrtSc" the image becomes more corrupted than it already was, and was able to repeat this behaviour as often as I wanted.

Whether this could be an error with the gfx driver or memory allocation on the system, I don't know, but it seems to me as though either the screen memory is being overwritten by system data, or a memory pointer is altered for some reason (the system does lock randomly at times, complete hard lockup forcing a hard reset - but works perfectly under 'doze)

Revision history for this message
phoenixbbs (ubuntu-phoenixbbs) wrote :

...i've just right-clicked to "save" one of the "banded" images, the image instantly became nothing more than a "memory dump", but the saved image displays properly in eog (eye of gnome)

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for firefox (Ubuntu) because there has been no activity for 60 days.]

Changed in firefox (Ubuntu):
status: Incomplete → Expired
madbiologist (me-again)
Changed in firefox (Ubuntu):
status: Expired → Incomplete
status: Incomplete → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in firefox (Ubuntu):
status: New → Confirmed
Revision history for this message
madbiologist (me-again) wrote :

I now know that this is a graphics driver bug (there is a tiny possibility that i could be caused by damaged/faulty video hardware, but I doubt it). It will need a fix by the upstream developers, most likely in the linux kernel or possibly in the xserver-xorg-video-ati package. Unfortunately I have noticed that very little development is done anymore on the drivers for the Mobility Radeon 7000 and similar cards, probably because they are so old.

affects: firefox (Ubuntu) → linux (Ubuntu)
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.5kernel[0] (Not a kernel in the daily directory) and install both the linux-image and linux-image-extra .deb packages.

Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. Please only remove that one tag and leave the other tags. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-rc1-quantal/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
tags: added: needs-upstream-testing
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.