On Thu, May 11, 2006 at 05:27:05PM +0200, Arnaud wrote:
> Hello,
> 
> Justin Pryzby a écrit :
> > How much VRAM do you have (physical + swap space)?  Could you check 
> > /var/log/kern.log for an OOM message?  If you have lots of vram, 
> > check if this is fixed in firefox 1.5, now in the "testing" 
> > distribution.  I could view the image using a 6 year old laptop.
> 
> There is nothing in /var/log/kern.log about this problem. Nevertheless,
> you're seems to be right, because in a xterm session when i lauch
> firefox, i've got this :
So, how much vram do you have?

> [EMAIL PROTECTED]:~$ mozilla-firefox http://jmtrivial.info/images/panorama.jpg
> *** loading the extensions datasource
> 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 2341 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.)
On the contrary, you seem to be right.  (But it still seems to be
fixed in firefox 1.5).

> Is it possible to make firefox saying a message who says « not enough
> memory » (or something like that) instead of crashing ? :)
I don't know if firefox 1.0 is the same way, but you can try:

  mozilla-firefox -g
  [...]
  bt

to get a backtrace.  You could also try what the message suggests,
with --sync, but a previous experience tells me that this won't
actually help.

You might also do:

gdb --args /usr/lib/mozilla-firefox/firefox-bin http://......
set environment LD_LIBRARY_PATH=/usr/lib/mozilla-firefox:/usr/lib/debug
r
[...]
bt

Justin

Reply via email to