Mailinglist Archive: opensuse (3107 mails)

< Previous Next >
Re: [opensuse] tall PNG images don't load in Firefox
  • From: Dave Howorth <dhoworth@xxxxxxxxxxxxxxxxx>
  • Date: Fri, 16 Feb 2007 15:09:43 +0000
  • Message-id: <45D5C937.2020608@xxxxxxxxxxxxxxxxx>
Russell Jones wrote:
> Call me a numerologist mystic if you like, but I suspect the height
> being >32767 pixels (the limit of a signed 16-bit integer) has something
> to do with it. What happens if it's resized to less than this? What if
> it's just saved with the same size by e.g. gimp?

Call me a sucker if you like but I tried this. I'd been wondering the
same thing :) It's fascinating.

When I resized it to 32768 pixels high, I got the same error message.
When I resized it to 32767 pixels high, firefox crashed:

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 23489 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.)

Perhaps that's useful info to add to Jan's bug report.

Cheers, Dave
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups