Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56386 - Firefox 0.9.1 Crashes Displaying Large Animated GIF
Summary: Firefox 0.9.1 Crashes Displaying Large Animated GIF
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Mozilla Gentoo Team
Depends on:
Reported: 2004-07-07 15:24 UTC by Chris Williams
Modified: 2004-11-13 16:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

Library and Package Version Information (bug.txt,14.84 KB, text/plain)
2004-07-07 15:37 UTC, Chris Williams

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Williams 2004-07-07 15:24:37 UTC
Firefox 0.9.1 crashes displaying the large animated GIFs from, a specific instance   Watching in 'top' while the GIF is playing indicates a severe memory leak or similar problem resulting in OOM condition.   Firefox eventually crashes, sometimes activating the quality feedback system.  The behaviour has been confirmed on other machines and also FF 0.8: see  Some others were able to run the animation to completeion on Gentoo, but they have 1GB RAM and matching swap.

The condition can adversely affect other processes running--to the point of crashing kwin for example.

Same GIF displays adequately on FireFox 0.9.1 Windows binary build under Win XP but expands the page file by ~500 MB doing it.  This may be an upstream issue.

Reproducible: Always
Steps to Reproduce:
1. emerge mozilla-firefox
2. Run firefox
3. Access
4. Wait :)
Actual Results:  
Animation plays for a short time, becomes chooppy, stops, and firefox
terminates.  On several occasions other system software was taken out too.

Expected Results:  
Played the animation, or degraded gracefully if a 2MB animated GIF was too much.

Machine: Athlon XP 2400+, 512MB RAM, 500MB swap partition (generally lightly used)
Desktop: KDE 3.2.2

$ emerge info
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-, 2.4.26)
System uname: 2.4.26 i686 AMD Athlon(TM) XP 2400+
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
FEATURES="autoaddcvs ccache distcc sandbox"
USE="X aalib alsa apm arts avi berkdb cdr crypt cups dvd encode foomaticdb gdbm
gif gphoto2 gpm gtk gtk2 guile imlib java jpeg kde libg++ libwww mad mikmod mmx
motif mozilla moznocomposei moznoirc moznomail mpeg mysql ncurses nls oggvorbis
opengl oss pam pdflib perl png ppds python qt quicktime readline sdl slang spell
sse ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
Comment 1 Chris Williams 2004-07-07 15:37:42 UTC
Created attachment 34953 [details]
Library and Package Version Information

Information that may of use diagnosing this bug.
I note that I have two versions of the atk and pango libs.  In boths cases the
most recent version is intact (qpkg -c) - the older versions are zombies of
some sort.
Comment 2 Chris Williams 2004-07-07 17:29:50 UTC
Same crash evident in's firefox binaries for Linux and reported failures for XP (see Gentoo forum)

Lodged Mozilla bug:
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2004-08-06 05:14:57 UTC
This is working well for me with 0.9.3, is it fixed with that version for you?
Comment 4 Chris Williams 2004-08-07 01:48:25 UTC
Just updated to 0.9.3

Problem persists.  Firefox crashes after exhausting 512MB RAM and 512MB swap space as before.  Individuals with 1GB of each are able to run the animation to completion; see Gentoo forums linked in original report.
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2004-11-13 16:43:31 UTC
Since you were able to cause the same crash using upstream builds, and additionally I've never been able to repro this on a system with 512M of RAM, I'm closing UPSTREAM.