Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154933 - Opening big png crashes www-client/mozilla-firefox-2.0 and www-client/epiphany-2.16.1
Summary: Opening big png crashes www-client/mozilla-firefox-2.0 and www-client/epiphan...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://plaes.org/files/2006-Q4/gentoo...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-12 13:37 UTC by Rémi Cardona (RETIRED)
Modified: 2006-11-12 13:54 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rémi Cardona (RETIRED) gentoo-dev 2006-11-12 13:37:48 UTC
The png in the url field is a quite large 12000x1900 image. It crashes both Firefox and Epiphany with a very similar error message :

remi@stratos ~/tabs $ firefox http://plaes.org/files/2006-Q4/gentoo-circular-deps-hell.png
No running windows found
The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 4126 error_code 11 request_code 53 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
firefox-bin exited with non-zero status (1)

Both were compiled with :
CFLAGS="-O2 -march=athlon -mmmx -m3dnow -pipe"

After a quick check on another box, firefox doesn't crash with this file
CFLAGS="-O2 -march=pentium-m -mmmx -msse -msse2 -mfpmath=sse -pipe"

Both sets of cflags are supposed to be safe according to the doc. Maybe it's a Xorg bug? (i'm using an r300 ...)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-12 13:54:07 UTC
Go tell upstream Mozilla developers that X server is not a data storage engine for huge uncompressed pictures; we won't fix it.