Doing pretty much anything with wine will generate this error and crash: wine-pthread: stack smashing attack in function DrawFrameControl() Aborted Reproducible: Always Steps to Reproduce: 1. run "wine notepad" 2. file menu > open (many many other tasks generate the same error using all kinds of programs) Actual Results: Wine crashes to the console. Expected Results: The open dialog should have been displayed, and everything continues normally. Portage 2.0.51-r8 (gcc34-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-mm1 i686) ================================================================= System uname: 2.6.9-mm1 i686 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.7 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Sep 22 2004, 21:46:53)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -msse2 -pipe -fomit-frame-pointer -mfpmath=sse,387"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=athlon-xp -O2 -msse2 -pipe -fomit-frame-pointer -mfpmath=sse,387" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/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="3dnow 3dnowex X aac acpi aim alsa apm avi berkdb bindist bitmap-fonts cddb cdr codecs crypt cups divx4linux dvd dvdr dvdread encode esd f77 faac faad fam flac foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal imlib java jpeg kde libg++ libwww mad mikmod mmx mmx2 mng monkey motif mozilla mozsvg mp3 mpeg mpeg4 msn ncurses network nls no_wxgtk1 nptl nvidia offensive oggvorbis openal opengl oss pam pdflib perl png python qt quicktime readline rtc samba sdl slang spell sse sse2 ssl svg svga tcpd theora tiff truetype unicode x86 xine xml2 xmms xpm xrandr xv xvid yahoo zlib" I just built it with a null set of cflags, and the same error happened.
I was able to fix it by adding -fno-stack-protector-all (didn't test just -fno-stack-protector) to the CFlags and recompiling. Obviously, this isn't an idea solution, since it just disables stack protection, but it does work after that.
Follow instructions of Bug 73383 to fix gcc...
Bug 73383 is unrelated to this bug
But it fixed my issue with wine, so it seems unrelated, but is not. Something about gcc-update borked this.
To be more precise: Do the steps in resolution of above bugs, re-emerge wine and be happy...
sounds like a non-issue now ...