Just recently new versions of dev-lang/tcl and dev-lang/tk where marked stable for the x86 platform. When I updated to those versions (8.4.9) my aMSN client fails to start. Reproducible: Always Steps to Reproduce: 1. try to start aMSN 2. aMSN crashes Actual Results: This is the output when run from the command line: cca@lab ~ $ amsn X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 1 (X_CreateWindow) Value in failed request: 0x88 Serial number of failed request: 867 Current serial number in output stream: 869 Expected Results: aMSN should run normaly. emerge --info output: Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r6 i686) ================================================================= System uname: 2.6.11-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.11 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 09:27:21)] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.5, 1.9.5, 1.6.3, 1.8.5-r3, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -mtune=pentium4 -O2 -pipe -fomit-frame-pointer -w" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=i686 -mtune=pentium4 -O2 -pipe -fomit-frame-pointer -w" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.ntua.gr/pub/linux/gentoo ftp://files.gentoo.gr ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/" MAKEOPTS="-j2" 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 X aac acpi alsa avi berkdb bitmap-fonts cdr crypt cups curl dlloader dvd dvdr emboss encode esd ffmpeg flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 guile hal hardened hardenedphp imagemagick imlib java jpeg libg++ libwww mad matroska mikmod mmx mmxext motif mozilla moznocompose moznoirc moznomail mp3 mpeg mpeg4 ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl oss pam pdflib perl pic pie png pwdb python quicktime readline samba sdl slang spell sse sse2 ssl svg svga tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode userlocales vorbis win32codecs xine xml2 xmms xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS As you can see, I have a hardened toolchain setup. Maybe it is relevant?
Did you try to re-emerge amsn?
Yes I did try, just in case. No dice.
which version of tcltk ?
These versions, the latest x86: emerge -pv dev-lang/tcl dev-lang/tk These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-lang/tcl-8.4.9 -threads 0 kB [ebuild R ] dev-lang/tk-8.4.9 -threads 0 kB
You could try the cvs version. It works for me.
(In reply to comment #5) > You could try the cvs version. It works for me. Actually, I solved the problem. tcl/tk has problems when compiled with a hardened gcc, so I compiled them with vanilla gcc and now aMSN works just fine. Thnaks anyway.
hardened: this one is potentially for you..
Please narrow it down further. Is it tcl or tk? Is it PIE or SSP? Other? # gcc-config -l # gcc-config #NUM What version of aMSN etc..
OK, here goes. My latest emerge --info : Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4-hardenednossp, glibc-2.3.4.20050125-r1, 2.6.12-gentoo-r4 i686) ================================================================= System uname: 2.6.12-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -mtune=pentium4 -O2 -pipe -fomit-frame-pointer -w" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=i686 -mtune=pentium4 -O2 -pipe -fomit-frame-pointer -w" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache distcc distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.ntua.gr/pub/linux/gentoo ftp://files.gentoo.gr ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/" MAKEOPTS="-j5" 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 X aac acpi alsa avi berkdb bitmap-fonts cdr crypt cups curl dlloader dvd dvdr emboss encode esd ffmpeg flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 guile hal hardened hardenedphp imagemagick imlib java jpeg libg++ libwww mad matroska mikmod mmx mmxext motif mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mpeg4 ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl oss pam pdflib perl pic pie png pwdb python quicktime readline samba sdl slang spell sse sse2 ssl svg svga tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode userlocales vorbis win32codecs xine xml2 xmms xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS Now, it appears that the problem is with del-lang/tk: emerge -pv tk These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-lang/tk-8.4.9 -threads 0 kB I tried to compile it with various gcc profiles (I use hardened gcc 3.4.4) and it succeded with this: gcc-config -l [1] i686-pc-linux-gnu-3.3.6 [2] i686-pc-linux-gnu-3.3.6-hardenednopie [3] i686-pc-linux-gnu-3.3.6-hardenednopiessp [4] i686-pc-linux-gnu-3.3.6-hardenednossp [5] i686-pc-linux-gnu-3.3.6-vanilla [6] i686-pc-linux-gnu-3.4.4 [7] i686-pc-linux-gnu-3.4.4-hardenednopie [8] i686-pc-linux-gnu-3.4.4-hardenednopiessp [9] i686-pc-linux-gnu-3.4.4-hardenednossp * [10] i686-pc-linux-gnu-3.4.4-vanilla I tried 7 first, then 9 immediately after, I didn't try 8 since it is 7 and 9 together. It appears that the problem is ssp. My aMSN is version 0.94, the latest stable for x86 in portage. If more info is required, I 'll be glad to provide if I can.