Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62816 - X is crashing when I enter a "<" into quanta
Summary: X is crashing when I enter a "<" into quanta
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-04 05:24 UTC by meyerm
Modified: 2004-12-06 19:54 UTC (History)
0 users

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


Attachments
Emerge info (info,1.87 KB, text/plain)
2004-09-13 05:38 UTC, Sebastien
Details

Note You need to log in before you can comment on or make changes to this bug.
Description meyerm 2004-09-04 05:24:09 UTC
Just enter a < into the editor of quanta and the whole X goes down. Opening a file with already tags filled in is no problem. Other programs (even KDE) don't make any problem.

Reproducible: Always
Steps to Reproduce:
1. open quanta
2. enter <

Actual Results:  
I know this doesn't help very much for now. So please just ask for more / 
other informations. BTW: xorg-x11 is compiled WITHOUT stack-protector in 
contrance to the "emerge info" below. 

Expected Results:  
Well, anything. But not crash ;-) 

Portage 2.0.50-r10 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 
2.6.8-ck5) 
================================================================= 
System uname: 2.6.8-ck5 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz 
Gentoo Base System version 1.5.3 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5-r1 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer -fstack-protector 
-mfpmath=sse -mmmx -msse" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer -fstack-protector 
-mfpmath=sse -mmmx-msse" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs buildpkg ccache sandbox" 
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/mirrors/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="MM_APACHE MM_GLIBC MM_KDE MM_MPLAYER MM_OPENOFFICE MM_OPENSSH MM_OPENVPN 
MM_XORG X X509 acl adns alsa apache2 apm arts artswrappersuid avi berkdb 
cdparanoia cdr chroot crypt cups dgadio divx4linux dvb dvd dvdr encode 
ethereal exif fam flac foomaticdb gdbm gif gphoto2 gpm gstreamer gtk gtk2 
imagemagick imap imlib innodb insecure-drivers ipv6 jabber jack java jpeg kde 
kerberos ldap libg++ libwww linguas_de mad maildir mailwrapper memlimit mikmod 
mmx mng motif mpeg mpi mysql mysqli nas ncurses network nls nptl offensive 
oggvorbis ooo-kde openal opengl oscar oss pam pcmcia pcre pda pdflib perl php 
pic pie png pnp posix ppds prelude pthreads pythonqt quicktime readline recode 
samba scanner sdl sftplogging shared sharedmem slang slp snmp sockets socks5 
spell sqlite sse ssl svg svga tcpd tetex theora threads tidy tiff truetype 
trusted unicode usb vhosts video_cards_radeon wifi x86 xine xinerama xml2 xmms 
xosd xpm xv xvid zlib"
Comment 1 Sebastien 2004-09-13 05:38:22 UTC
Created attachment 39500 [details]
Emerge info

Same for me, and quanta says: "Fatal IO error: client killed"
Comment 2 Sebastien 2004-09-13 07:39:00 UTC
I recompiled xorg-x11-6.8.0 with gcc-3.4.2-r1 and used the "-Os" flag instead of "-O3".
It seems to work now.
I'm not sure if it is "-Os" or the new gcc version.
Comment 3 meyerm 2004-09-13 07:47:01 UTC
It seems to be the -O3. I recompiled xorg-x11-6.8.0 with gcc-3.4.1 and the following CFLAGS:
"-O2 -march=i686 -pipe -fomit-frame-pointer -fstack-protector"

Not it works.

(Even stack-protector now finally works :-D)
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2004-12-06 19:54:44 UTC
maybe the latest gcc and quanta fixes the cflags issue