FS#9254 - Many wxWidgets programs crash with "BadAlloc (insufficient resources for operation)"
Attached to Project:
Arch Linux
Opened by Paolo (palmaway) - Friday, 18 January 2008, 15:47 GMT
Last edited by Jan de Groot (JGC) - Sunday, 23 March 2008, 21:38 GMT
Opened by Paolo (palmaway) - Friday, 18 January 2008, 15:47 GMT
Last edited by Jan de Groot (JGC) - Sunday, 23 March 2008, 21:38 GMT
|
Details
Description:wxWidgets
Many programs are crashing after today's update of xorg-server and libxfont (2008/18/01). They crash right after starting, giving an error message that reports an X Window System error received by the application. Here's Filezilla log: [paolo@liberty ~]$ filezilla The program 'filezilla' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAlloc (insufficient resources for operation)'. (Details: serial 306 error_code 11 request_code 148 minor_code 5) (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.) aMule is affected too: [paolo@liberty ~]$ amule Initialising aMule Checking if there is an instance already running... No other instances are running. The program 'amule' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAlloc (insufficient resources for operation)'. (Details: serial 611 error_code 11 request_code 148 minor_code 5) (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.) Other apps are reported to show the same behavior, like vlc: http://bbs.archlinux.org/viewtopic.php?id=42502 The problem has arised on many other Linux distros. See for example this Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/184003 Additional info: * package version(s): xorg-server-1.4.0.90-4 * additional packages that could be the cause: libxfont-1.3.1-2 Steps to reproduce: Update xorg-server to 1.4.0.90-4, libxfont to 1.3.1-2 and run any of the mentioned applications (probably any wxWidgets program will do). |
This task depends upon
Closed by Jan de Groot (JGC)
Sunday, 23 March 2008, 21:38 GMT
Reason for closing: Fixed
Additional comments about closing: Should be fixed with 1.4.0.90-8 and 1.4.0.90-9.
Sunday, 23 March 2008, 21:38 GMT
Reason for closing: Fixed
Additional comments about closing: Should be fixed with 1.4.0.90-8 and 1.4.0.90-9.
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/183969
http://bbs.archlinux.org/viewtopic.php?pid=319036
If you have cleaned your cache, here are some links to get the xorg-server-1.4.0.90-3 package (i686 and x86_64).
Official (Outdated) Mirror:
i686: ftp://ftp.tu-chemnitz.de/pub/linux/sunsite.unc-mirror/distributions/archlinux/extra/os/i686/xorg-server-1.4.0.90-3-i686.pkg.tar.gz
x86_64: ftp://ftp.tu-chemnitz.de/pub/linux/sunsite.unc-mirror/distributions/archlinux/extra/os/x86_64/xorg-server-1.4.0.90-3-x86_64.pkg.tar.gz
Inofficial "Emergency" (in case of an update of ftp.tu-chemnitz.de) Mirror:
i686: http://files.kenen.de/xorg-server-1.4.0.90-3-i686.pkg.tar.gz
x86_64: http://files.kenen.de/xorg-server-1.4.0.90-3-x86_64.pkg.tar.gz
only reinstallation of half of X helped (means still on 1.4.0.90-4) but vlc still not working
That URL is the fix for this bug. Another workaround is to put this in xorg.conf:
Section "Extensions"
Option "MIT-SHM" "no"
EndSection
This will disable the offended feature, though fixing the offended feature is better for performance than disabling it.
I reinstalled swt - no help. I downgraded xorg-server from 1.4.0.90-4 back to 1.4.0.90-3 , and everything works right again. So it seems to be an xorg-server problem apparently.
--Theoden
This commit seems to be related to the previous patch.