PDA

View Full Version : Sid xserver breaks wx widgets


bluesdog
01-19-2008, 12:17 AM
Sounds like an Enquirer headline... :tongue:

Anyway, the latest xserver-xorg-core upgrade, (version 2:1.4.1~git20080105-2), did Very Bad Things to applications using the wx widget library.

vlc, filezilla, eclipse, amule, azureus and other popular applications crash
The program '.' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
(Details: serial 198 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.)Solutions:
downgrade xserver-xorg-core
patch the source (http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commitdiff_plain;h=e9fa7c1c88a8130a4 8f772c92b186b8b777986b5;hp=23f3f0e27dc90b7b3a375f2 a5dd094e6f53552b5)
add following stanza to /etc/X11/xorg.conf Section "Extensions"
Option "MIT-SHM" "no"
EndSection
Ah, the joys of playing with Sid!

Edit: Looks like the fix is coming (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=461410) down the pipe! :)

Edit: Fixed in Version: 2:1.4.1~git20080118-1