Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127333 - Several GTK+ applications crash after upgrade to Xorg7.0
Summary: Several GTK+ applications crash after upgrade to Xorg7.0
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 127351 127376 127431 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-23 10:09 UTC by Rodolphe Keller
Modified: 2006-04-16 00:42 UTC (History)
15 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xorg-server-1.0.2-r1.ebuild (xorg-server-1.0.2-r1.ebuild,4.26 KB, text/plain)
2006-03-23 13:28 UTC, Donnie Berkholz (RETIRED)
Details
1.0.2-overlay-windows.patch (1.0.2-overlay-windows.patch,34.57 KB, text/plain)
2006-03-23 13:29 UTC, Donnie Berkholz (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rodolphe Keller 2006-03-23 10:09:33 UTC
Hi, dear developers.

I've upgraded to xorg-7.0-r1 today, after it has been unmasked.

No problem for installing it, but some problems appeared under Gnome . A lot of applications dont work (gnome-terminal, nautilus, openoffice(-bin) ...); gdm dont work; some functionality doesnt work (impossible to select icons on the desk by drawing the mouse). 
My GTK version is 2.8.13, and i'm using Gnome 2.12.3, with a ~x86 arch.

It seems that there is a major problem with GTK+, assuming what i could read on the forum... (several people having the same problem)

Here are the messages i receive (i could run xterm from the command-line applet) when launching some applications from xterm:

localhost keikoz # firefox 
 No running windows found 
 The program 'Gecko' received an X Window System error. 
 This probably reflects a bug in the program. 
 The error was 'BadRequest (invalid request code or no such operation)'. 
   (Details: serial 739 error_code 1 request_code 156 minor_code 2) 
   (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.) 
 firefox-bin exited with non-zero status (1) 
 localhost keikoz # gnome-terminal 
 
 (gnome-terminal:5250): GnomeUI-WARNING **: While connecting to session manager: 
 Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed. 
 The program 'gnome-terminal' received an X Window System error. 
 This probably reflects a bug in the program. 
 The error was 'BadRequest (invalid request code or no such operation)'. 
   (Details: serial 89 error_code 1 request_code 156 minor_code 2) 
   (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.) 
 localhost keikoz # mozilla 
 No running windows found 
 
 localhost keikoz # thunderbird 
 No running windows found 
 Registering Enigmail account manager extension. 
 Enigmail account manager extension registered. 
 The program 'Gecko' received an X Window System error. 
 This probably reflects a bug in the program. 
 The error was 'BadRequest (invalid request code or no such operation)'. 
   (Details: serial 731 error_code 1 request_code 156 minor_code 2) 
   (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.) 
 thunderbird-bin exited with non-zero status (1) 

emerge --info

Portage 2.1_pre6-r6 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.4-r1, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 unknown
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="fr_FR.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 arts avi berkdb bitmap-fonts cdr cli crypt ctype cups dba dri dvd dvdr eds emacs emboss encode expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg libg++ libwww lm_sensors mad memlimit mikmod motif mp3 mpeg ncurses nls nptl nptlonly nvidia ogg opengl oss pam pcre pdflib perl png posix python quicktime readline sdl session simplexml soap sockets spell spl ssl tcpd tokenizer truetype truetype-fonts type1-fonts udev unicode vorbis xml xmms xsl xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nv video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LDFLAGS, LINGUAS

Greets,

Rodolphe Keller
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-23 10:45:38 UTC
Did you run revdep-rebuild after upgrading?
Comment 2 Rodolphe Keller 2006-03-23 10:53:13 UTC
Yes, i run revdep-rebuild, and it found out that some binaries were broken (missing dependencie to libXaw.so.8). 

The binaries were groff, xapm, xterm, and openoffice (but this last is normal ...). The revdep-rebuild reemerged the packages, but it stopped on an error emerging apmd (i didnt care, since i'm not using it). 

What i dont understand, is that libXaw wasnt present on the system. I emerged libXaw, and the problem is still there. 

Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-23 10:54:02 UTC
libXaw 8 is only installed when USE=xprint.
Comment 4 Jens Pranaitis 2006-03-23 11:00:24 UTC
I can confirm this:

Portage 2.1_pre6-r6 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.4-r1, 2.6.15-gentoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/gentoo.de"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext 7zip X a52 aac acl acpi alsa apache2 apm arts asf audiofile avi bash-completion berkdb bigger-fonts bitmap-fonts bzip2 cdparanoia cdrom cli crypt css cups curl dba dri dvd dvdr dvdread emboss encode fam ffmpeg firefox flac flatfile fontconfig foomaticdb fortran freetype ftp gd gdbm gif gimp glut gnutls gpm gtk gtk2 hal haskell html http icq idn ieee1394 imagemagick imap imlib imlib2 irc jabber java javascript jpeg jpeg2k kde kqemu lame lcms libg++ libwww live lm_sensors logitech-mouse mad menubar mikmod mmx mmxext mng mod_python motif mouse mp3 mpeg mpeg2 mpeg4 mplayer msn musepack musicbrainz mysql ncurses nforce2 nls no-old-linux nowin nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl pcre pdf pdflib pear perl php pic png python qemu-fast qt quicktime quotas rar rdesktop readline real remote rpc rss ruby samba sdl server session simplexml softmmu spell sqlite sse ssl subversion tcltk tcpd theora tidy tiff truetype truetype-fonts type1 type1-fonts usb userlocales vcd vim vorbis wifi win32codecs wma xchat xcomposite xfs xine xml xml2 xpm xprint xv xvid zip zlib elibc_glibc input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS

I tried remerging the crashing apps but it didn't help. I also have:
INPUT_DEVICES="evdev joystick keyboard mouse"
VIDEO_CARDS="nvidia"
Comment 5 Michael Färber 2006-03-23 11:24:36 UTC
The same problem on AMD64.
Comment 6 César Fernández 2006-03-23 11:31:05 UTC
Same problem here, kdm doesn't work also with another BadRequest. KDE and startx work fine. No xprint here.

Portage 2.1_pre6-r6 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo i686)
=================================================================
System uname: 2.6.16-gentoo i686 AMD Athlon(TM) XP 1800+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -ffast-math -funroll-loops -O2 -ftracer -fno-ident -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -ffast-math -funroll-loops -O2 -ftracer -fno-ident -fomit-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s -Wl,--as-needed"
LINGUAS="es-ES es"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 16bit 3dnow 3dnowext 7zip S3TC X a52 aac aalib acpi alsa amr asf bash-completion berkdb bidi bzip2 cairo canvas cdda cddb cdparanoia chroot cjk clock-screen crypt cscope css cups curl daap dbus dlloader dri dts dvd dvdr dvdread ecc edl eds erandom exif faac faad fam fbcon ffmpeg flac font-server fontconfig foomaticdb foreign-sysvinit freetype gdbm gif gimpprint glibc-omitfp glitz gmp gnutls gphoto2 gpm graphviz gs gtk2 hal hardened hpn icecast iconv idn imagemagick imlib imlib2 immqt-bc ipv6 ithreads jabber java javascript jbig jce jikes jpeg jpeg2k justify kde kdeenablefinal kipi lcms libcaca libg++ libwww linguas_es live lm_sensors logitech-mouse logrotate lzo lzw-tiff mad matroska md5sum mikmod mmap mmx mmxext mng mod modplug monkey mouse moznocompose moznoirc moznomail mozsvg mp3 mp4 mpeg mpeg4 mpi mplayer msn musepack musicbrainz mysql mysqli ncurses network nls no-old-linux no_wxgtk1 nomac nomalloccheck nomotif nowebdav nptl nptlonly nsplugin ogg oggvorbis openexr opengl pam pccts pdflib perl physfs pic png ppds python qt quicktime rdesktop readline real rtc ruby sasl screen sftplogging shorten slp speex spell srvdir sse ssl stencil-buffer svg symlink tcpd tga theora threads tiff toolbar truetype truetype-fonts udev unicode urandom usb userlocales utf8 vcd vhosts vim-with-x visualization vorbis win32codecs wmf x264 xcomposite xine xml xpm xrandr xscreensaver xv xvid yv12 zeroconf zip zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_es-ES userland_GNU video_cards_fbdev video_cards_vesa video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, MAKEOPTS
Comment 7 Gianluca Parmiggiani 2006-03-23 11:52:17 UTC
Same problem here, i reemerged about everything graphics related without luck.
on forum seems to be something related to fonts as i initially tought:
http://forums.gentoo.org/viewtopic-t-439969-postdays-0-postorder-asc-start-75.html#3202715
revdep-rebuild found some broken package but the reemerge went fine.

(In reply to comment #1)
> Did you run revdep-rebuild after upgrading?
> 

Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-23 12:12:51 UTC
If you run this before running an app, does it work?

export XLIB_SKIP_ARGB_VISUALS=1
Comment 9 Michael Färber 2006-03-23 12:16:03 UTC
No.
Comment 10 Thomas W. Larsen 2006-03-23 12:16:24 UTC
Im seeing the same problem.

For some strange reason, epiphany runs fine,- but firefox crashes with the same error as the other here. Most gtk2 apps do this,- especially applications relying on text input.
I am able to crash epiphany with the same error if i try to copy/paste text.
Other applications crash if i click the right mousebutton.

An issue new input functionality in xorg and gtk ?

Interestingly, this bug seems to only apply to people installing the test arch ebuild. People who installed modular x prior to last night do not seem to be affected.
Comment 11 Steve Berryman 2006-03-23 12:20:43 UTC
I am also having this problem. That command didnt help. 
Comment 12 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-23 12:22:22 UTC
Can someone who's familiar with ebuilds and overlays try this?

Copy compositeproto and fixesproto into your overlay. Move the compositeproto ebuild to 0.2.2 and fixesproto to 3.0.2. Remerge both of them, and remerge libXcomposite, libXfixes, and xorg-server.
Comment 13 Gianluca Parmiggiani 2006-03-23 12:30:05 UTC
I didn't tried to run epiphany but firefox works for me
maybe some different use between firefox and epiphany? i tought firfox was working since i *may* use custom widgets

(In reply to comment #10)
> Im seeing the same problem.
> 
> For some strange reason, epiphany runs fine,- but firefox crashes with the same
> error as the other here. Most gtk2 apps do this,- especially applications
> relying on text input.
> I am able to crash epiphany with the same error if i try to copy/paste text.
> Other applications crash if i click the right mousebutton.
> 
> An issue new input functionality in xorg and gtk ?
> 
> Interestingly, this bug seems to only apply to people installing the test arch
> ebuild. People who installed modular x prior to last night do not seem to be
> affected.
> 

Comment 14 David Holm (RETIRED) gentoo-dev 2006-03-23 12:38:28 UTC
Downgrading compositeproto and fixesproto fixed the problem on my amd64 box. Thanks Donnie.
Comment 15 Steve Berryman 2006-03-23 12:42:09 UTC
yep that worked for me as well
Comment 16 James Ward 2006-03-23 12:58:22 UTC
Thanks Donnie!  Everything works except gnome-screensaver:
jamesw@grande ~ $ gnome-screensaver --debug
jamesw@grande ~ $ gnome-screensaver-command --lock
jamesw@grande ~ $ The program 'gnome-screensaver' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 2294 error_code 2 request_code 134 minor_code 15)
  (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.)
Comment 17 César Fernández 2006-03-23 13:18:23 UTC
Yep, #12 is the way.
Comment 18 bartek 2006-03-23 13:22:08 UTC
you don't have to compile xorg-server, just compositeproto-0.2.2, fixesproto-3.0.2, libXcomposite and libXfixes :) save your time :)
Comment 19 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-23 13:23:17 UTC
OK, I think I can fix this with a revision bump to xorg-server to add the needed new stuff. That will be easier than trying to convince everybody to downgrade the protos and realize they need to recompile the libraries.
Comment 20 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-23 13:28:52 UTC
Created attachment 82962 [details]
xorg-server-1.0.2-r1.ebuild
Comment 21 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-23 13:29:29 UTC
Created attachment 82963 [details]
1.0.2-overlay-windows.patch

Please try this ebuild and patch instead of the earlier mentioned workaround in comment #12.
Comment 22 Michael Färber 2006-03-23 13:49:54 UTC
With your ebuild/patch, I get this message:

 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -I../include -I../include -I../include -DHAVE_DIX_CONFIG_H -DXFree86Server -DXFree86LOADER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -I../lbx -march=k8 -pipe -O2 -MT cursor.lo -MD -MP -MF .deps/cursor.Tpo -c cursor.c  -fPIC -DPIC -o .libs/cursor.o
cursor.c: In function `TestForCursorName':
cursor.c:705: warning: cast from pointer to integer of different size
cursor.c: In function `ProcXFixesChangeCursorByName':
cursor.c:721: warning: cast to pointer from integer of different size
cursor.c: In function `ProcXFixesHideCursor':
cursor.c:840: error: syntax error before '*' token
cursor.c:843: error: `xXFixesHideCursorReq' undeclared (first use in this function)
cursor.c:843: error: (Each undeclared identifier is reported only once
cursor.c:843: error: for each function it appears in.)
cursor.c:845: error: `stuff' undeclared (first use in this function)
cursor.c: In function `SProcXFixesHideCursor':
cursor.c:879: error: syntax error before '*' token
cursor.c:881: error: `stuff' undeclared (first use in this function)
cursor.c:882: error: `xXFixesHideCursorReq' undeclared (first use in this function)
cursor.c: In function `ProcXFixesShowCursor':
cursor.c:892: error: syntax error before '*' token
cursor.c:894: error: `xXFixesShowCursorReq' undeclared (first use in this function)
cursor.c:896: error: `stuff' undeclared (first use in this function)
cursor.c: In function `SProcXFixesShowCursor':
cursor.c:923: error: syntax error before '*' token
cursor.c:925: error: `stuff' undeclared (first use in this function)
cursor.c:926: error: `xXFixesShowCursorReq' undeclared (first use in this function)
make[1]: *** [cursor.lo] Fehler 1
make[1]: *** Warte auf noch nicht beendete Prozesse...
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -I../include -I../include -I../include -DHAVE_DIX_CONFIG_H -DXFree86Server -DXFree86LOADER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -I../lbx -march=k8 -pipe -O2 -MT region.lo -MD -MP -MF .deps/region.Tpo -c region.c  -fPIC -DPIC -o .libs/region.o
make[1]: Leaving directory `/var/tmp/portage/xorg-server-1.0.2-r1/work/xorg-server-1.0.2/xfixes'
make: *** [all-recursive] Fehler 1

!!! ERROR: x11-base/xorg-server-1.0.2-r1 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile
  ebuild.sh, line 1648:   Called x-modular_src_compile
  x-modular.eclass, line 305:   Called x-modular_src_make

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 23 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-23 13:52:04 UTC
(In reply to comment #22)
> With your ebuild/patch, I get this message:

You did reupgrade your composite/fixes protos and libs, right?
Comment 24 Andrew Gaydenko 2006-03-23 13:53:36 UTC
The same problem for me, and Donnie's workaround from #12 helped.
Comment 25 Fortunato Ventre 2006-03-23 14:23:09 UTC
(In reply to comment #21)
> Created an attachment (id=82963) [edit]
> 1.0.2-overlay-windows.patch
> 
> Please try this ebuild and patch instead of the earlier mentioned workaround in
> comment #12.
> 

It works for me. Thanks.
Comment 26 James Ward 2006-03-23 14:37:30 UTC
I upgraded xorg-server to 1.0.2-r1 and I don't get the BadValue error anymore, even on gnome-screensaver!

Only problem is that X won't start with the ati-drivers:
(II) LoadModule: "fglrx"
(II) Loading /usr/lib/xorg/modules/drivers/fglrx_drv.so
dlopen: /usr/lib/xorg/modules/drivers/fglrx_drv.so: undefined symbol: __glXActiveScreens
(EE) Failed to load /usr/lib/xorg/modules/drivers/fglrx_drv.so
Comment 27 John-Mark Newton 2006-03-23 15:45:22 UTC
(In reply to comment #21)
> Created an attachment (id=82963) [edit]
> 1.0.2-overlay-windows.patch
> 
> Please try this ebuild and patch instead of the earlier mentioned workaround in
> comment #12.
>

This fixes things for me on amd64. 

Comment 28 Gianluca Parmiggiani 2006-03-23 16:57:44 UTC
(In reply to comment #21)
> Created an attachment (id=82963) [edit]
> 1.0.2-overlay-windows.patch
> 
> Please try this ebuild and patch instead of the earlier mentioned workaround in
> comment #12.
> 

that fixed the problem for me and fglrx drivers works too
Comment 29 James Ward 2006-03-23 18:24:07 UTC
I was able to get my fglrx driver working.  For some reason my libglx.a file disappeared and I had to manually copy it from a xorg-server compile.
Comment 30 John N. Laliberte (RETIRED) gentoo-dev 2006-03-23 18:56:48 UTC
*** Bug 127351 has been marked as a duplicate of this bug. ***
Comment 31 Chris Bailey 2006-03-23 18:59:52 UTC
(In reply to comment #21)
> Created an attachment (id=82963) [edit]
> 1.0.2-overlay-windows.patch
> 
> Please try this ebuild and patch instead of the earlier mentioned workaround in
> comment #12.
> 

This appears to completely fix the execution issues with gdm/firefox/nautilus/gtk-demo and other gtk+ apps (currently using gtk+-2.8.13
). Copy and paste also works as expected and does not cause any applications to crash.

emerge --info:

Portage 2.1_pre6-r6 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.4-r1, 2.6.15-g      
entoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -msse2 -O2 -pipe -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/      
X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -msse2 -O2 -pipe -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.isp.net.au/pub/gentoo/ ftp://mirror.isp.net.au/pub      
/gentoo/ ftp://ftp.swin.edu.au/gentoo http://ftp.swin.edu.au/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac acpi alsa apm avi bash-completion bitmap-fonts bzip2 ca      
iro cdr crypt cups dbus dllloader dri dvd dvr eds emboss encode firefox flac foo      
maticdb fortran gdbm gif gnome gphoto2 gpm graphviz gstreamer gtk gtk2 hal image      
magick imlib ipv6 jack java jpeg lcms libg++ libwww mad mikmod mmx mng motif mp3      
 mpeg ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl oss       
pam pcre pdflib perl phyfs png python quicktime readline sdl spell sse sse2 ssl       
svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs      
 xinerama xml2 xmms xprint xv xvid zlib elibc_glibc input_devices_keyboard input      
_devices_mouse kernel_linux userland_GNU video_cards_nv video_cards_nvidia video      
_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 32 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-23 19:20:12 UTC
This has been committed to the portage tree; please sync for the update.

Thanks to everyone for your patience and your testing!
Comment 33 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-03-23 20:54:49 UTC
Works great for me, thanks for the very quick turnaround and fix.
Comment 34 Jakub Moc (RETIRED) gentoo-dev 2006-03-24 00:18:01 UTC
*** Bug 127376 has been marked as a duplicate of this bug. ***
Comment 35 Andrew Gaydenko 2006-03-24 00:37:33 UTC
r1 works for me too. Thanks!!
Comment 36 Rodolphe Keller 2006-03-24 00:45:04 UTC
(In reply to comment #32)
> This has been committed to the portage tree; please sync for the update.
> 
> Thanks to everyone for your patience and your testing!
> 

It works perfectly. Thanks to you for that excellent and fast work :)
Comment 37 gent_bz 2006-03-24 03:41:12 UTC
Donnie, was it intentional that media-fonts/font-adobe-75dpi was dropped from RDEPEND in 1.0.2-r1? (it was in RDEPEND in 1.0.2 - at least the one I have^H^Hd).
Comment 38 daedalus144 2006-03-24 06:51:24 UTC
Just curious how come i didn't have this issue when I was running compositeproto-0.3 and fixesproto-4.0 (not from official portage but from a xgl overlay) ?
Comment 39 mutlu_inek 2006-03-24 06:56:33 UTC
(In reply to comment #38)
> Just curious how come i didn't have this issue when I was running
> compositeproto-0.3 and fixesproto-4.0 (not from official portage but from a xgl
> overlay) ?

I run the same versions from the coffee overlay, but I still had the bug. Donnie's fix (thank you!) did it for me & I kept the mentioned versions (0.3 and 0.4). It seems that the versions given in #12 are not mandatory for the (new) fix.


Comment 40 Michael Färber 2006-03-24 07:33:24 UTC
Donnie, your patch works now! You were right, I forgot to downgrade the protos before.

Thanks for your support!
Comment 41 Jakub Moc (RETIRED) gentoo-dev 2006-03-24 08:07:09 UTC
*** Bug 127431 has been marked as a duplicate of this bug. ***
Comment 42 mutlu_inek 2006-03-24 09:12:10 UTC
(In reply to comment #41)
> I run the same versions from the coffee overlay, but I still had the bug.
> Donnie's fix (thank you!) did it for me & I kept the mentioned versions (0.3
> and 0.4). It seems that the versions given in #12 are not mandatory for the
> (new) fix.

I have to correct myself: this is true for the standard X server, but under Xgl gtk applications will only start after downgrading both protos.
Comment 43 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-24 10:29:27 UTC
(In reply to comment #37)
> Donnie, was it intentional that media-fonts/font-adobe-75dpi was dropped from
> RDEPEND in 1.0.2-r1? (it was in RDEPEND in 1.0.2 - at least the one I
> have^H^Hd).

No, thank you for your sharp eye.
Comment 44 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-24 10:32:04 UTC
(In reply to comment #38)
> Just curious how come i didn't have this issue when I was running
> compositeproto-0.3 and fixesproto-4.0 (not from official portage but from a xgl
> overlay) ?

You probably never recompiled libXcomposite while they were installed.
Comment 45 James Ausmus 2006-03-24 12:41:15 UTC
(In reply to comment #32)
> This has been committed to the portage tree; please sync for the update.
> 
> Thanks to everyone for your patience and your testing!
> 

One issue with the ebuild- The DEPEND needs to list
>=x11-proto/fixesproto-4.0
>=x11-proto/compositeproto-0.3

As if you applied the fix from #12 into your local OVERLAY and masked the newer versions, and then tried to install xorg-server-1.0.2-r1, the compilation fails, as the source is now expecting some of the newer elements of the *proto builds... (I can get exact errors for you if you like...)
Unmasking the newer versions (4.0 and 0.3), re-emerging them, then emerging -r1 fixes the problem in its entirety.

-James



Comment 47 Yang Dehua 2006-03-25 06:02:46 UTC
I followed #12 method and it didn't work for my ppc64(G5). I copied compositeproto and fixesproto into your overlay, and did:
 mv compositeproto-4.0.ebuild compositeproto-3.0.2
 mv fixesproto-0.3.ebuild  fixesproto-0.2.2
 <generated digests>
Then I emerged compositeproto-3.0.2, fixesproto-0.2.2, libXcomposite, libXfixes.
When I emerged xorg-server-1.0.2-r1 the compositeproto-4.0 and fixesproto-0.3 compiled from overlay before xorg-server merged. 
So the problem was just as before: gnome was broken, gtk+-2 progs were broken too.
Comment 48 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-25 23:16:02 UTC
You aren't supposed to be doing anything on this bug anymore, just upgrade your xorg-server. That's why it's marked FIXED.
Comment 49 Yang Dehua 2006-03-26 05:27:14 UTC
After I upgraded xorg-server I still got the following errors and gnome was still broken:

X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.15-ck7 ppc64
Current Operating System: Linux localhost 2.6.15-ck7 #1 SMP Wed Mar 15 10:06:56 CST 2006 ppc64
Build Date: 26 March 2006
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Mar 26 21:32:28 2006
(==) Using config file: "/etc/X11/xorg.conf"
(WW) ****INVALID IO ALLOCATION**** b: 0xf0000400 e: 0xf00004ff correcting 
(EE) RADEON(0): MergedFB does not work with Option UseFBDev, MergedFB mode is disabled
No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes = 4294967295
No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes = 4294967295
No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes = 4294967295
No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes = 4294967295
No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes = 4294967295
No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes = 4294967295
No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes = 4294967295
No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes = 4294967295
SESSION_MANAGER=local/localhost:/tmp/.ICE-unix/15913
Gnome-Message: gnome_execute_async_with_env_fds: returning -1
The program 'gnome-session' received an X Window System error.
This probably reflects a bug in the program.
The error was 'RenderBadGlyphSet (invalid GlyphSet parameter)'.
  (Details: serial 690 error_code 182 request_code 154 minor_code 23)
  (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.)

waiting for X server to shut down Window manager warning: Lost connection to the display ':0.0';
most likely the X server was shut down or you killed/destroyed
the window manager.
FreeFontPath: FPE "/usr/share/fonts/misc/" refcount is 2, should be 1; fixing.

when I started gnome.
Comment 50 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-26 09:30:47 UTC
You probably didn't recompile libXcomposite and libXfixes after reupgrading to the newer compositeproto and fixesproto.
Comment 51 Yang Dehua 2006-03-26 15:53:02 UTC
Yes, in fact I recompiled compositeproto, fixesproto, xproto, libXcomposite, libXfixes, mesa, mesa-progs, before I upgraded to xorg-server-1.0.2-r1. It's a really workable X environment a week ago on my G5, the problems only occured in the last a few days. There is no problem for KDE and QT progs. I realy want to revert to old versions of xorg-7.0 for a short run, but no where to find them. 
Comment 53 Yang Dehua 2006-03-28 00:48:35 UTC
Finally I found that my problems turned out to be those of fonts config. I sorted it out and gnome worked well. Now the problem is glx no longer works; it works in xorg-server-1.0.1-r4,but not in xorg-server-1.0.2-r1. Could I apply the 1.0.1 patches of 64-bit in 1.0.2 version?
Comment 54 Joshua Baergen (RETIRED) gentoo-dev 2006-03-28 05:56:15 UTC
That sounds like another bug to me :)  Please create a new one.
Comment 55 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-28 07:51:53 UTC
This bug is for discussion of GTK+ applications crashing. Anything else should be filed as a new bug.
Comment 56 Yang Dehua 2006-03-28 20:12:26 UTC
I noticed the new xorg-server-1.0.2-r2, in which some 64-bit patched were added. I think the amd64-fix-for-glx should also be added to it. Glx worked on my ppc64 only with this fix included.
Thank your great work!
Comment 57 Yang Dehua 2006-04-15 02:09:10 UTC
It seems with new xorg-server-1.0.99.901 the bug reappears.
Comment 58 Yang Dehua 2006-04-15 03:38:21 UTC
Under KDE-3.5.2 I just emerged, most gtk+ progs crahed with RenderBadGlyphSet errors. But it's fine under gnome. Don't know if something actually goes wrong with KDE.
Comment 59 Donnie Berkholz (RETIRED) gentoo-dev 2006-04-16 00:42:29 UTC
The driver-server ABI broke from 1.0 to 1.0.99/1.1, so any driver that works with 1.0 will be broken in numerous ways with 1.1. Please test with a driver designed to work with 1.1.