Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2005 11:20:11 -0700 (MST)
From:      Joshua Beard <josh@hewbert.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/76115: xorg-libraries-6.8.1: apps crashing on large images (BadAlloc)
Message-ID:  <20050111182011.396016127@banana.hewbert.com>
Resent-Message-ID: <200501111830.j0BIUXAE066618@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         76115
>Category:       ports
>Synopsis:       xorg-libraries-6.8.1: apps crashing on large images (BadAlloc)
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 11 18:30:32 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Joshua Beard
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD banana 5.3-RELEASE FreeBSD 5.3-RELEASE #10: Thu Dec 2 10:45:07 MST 2004 josh@banana:/usr/obj/usr/src/sys/BANANA i386

Video: Matrox MGA G400 & nVidia MX400 (Xinerama)
CFLAGS: -O -pipe
Memory: 512 MB, 512 Swap
>Description:
Apps that link against libX11.so.6 => /usr/X11R6/lib/libX11.so.6 crash when you attempt to view a large image (at least that's how I interpret it). Examples are Gimp and Mozilla/Firefox:

The program 'firefox-bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 151467 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.)

.. as if something isn't being "freed-up"
>How-To-Repeat:
Run app that links to libX11.so.6 and view large image. With Gecko, you might try the following URL:
http://www.nasa.gov/images/content/104948main_image_feature_246_ajhfull.jpg
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050111182011.396016127>