With gedit-2.4.12 if I enter the "find" or "replace" menus and enter a phrase that appears in the text the program crashes. Repro steps: 1) run gedit 2) Type in a single line of text 2) Go into find menu 3) Type in the phrase you entered as that line of text 4) note that it finds/highlights the single line 5) Now add a 2nd line of text 6) Go into find menu again and enter the text of either line 1) run gedit 2) open pre-existing file 3) go into find menu 4) enter random text into the menu 5) see that it says "phrase not found" 6) enter into the menu some text that should be found in the file Result: Crash Could be gcc-4.1.1 related as I just upgraded to it a day or so ago. app-editors/gedit-2.14.2 USE="-debug -python spell" I specified "app-editors/gedit -python" in /etc/portage/package.use # emerge --info Portage 2.1_rc3-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-ck11 i686) ================================================================= System uname: 2.6.16-ck11 i686 AMD Athlon(tm) XP 3000+ Gentoo Base System version 1.12.0 distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r1 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 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-r5 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="" ARCH="x86" AUTOCLEAN="yes" CBUILD="i586-pc-linux-gnu" CFLAGS="-march=athlon-xp -pipe -O3 -fweb -frename-registers -fforce-addr -fomit-frame-pointer -ftracer" CHOST="i586-pc-linux-gnu" CLASSPATH="." CLEAN_DELAY="5" COLORTERM="gnome-terminal" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CVS_RSH="ssh" CXXFLAGS="-march=athlon-xp -pipe -O3 -fweb -frename-registers -fforce-addr -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden" DCCC_PATH="/usr/lib/distcc/bin" DISPLAY=":0.0" DISTCC_LOG="" DISTCC_VERBOSE="0" DISTDIR="/usr/portage/distfiles" EDITOR="/bin/nano" ELIBC="glibc" EMERGE_DEFAULT_OPTS="--alphabetical --verbose" EMERGE_WARNING_DELAY="10" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox" FETCHCOMMAND="/usr/bin/getdelta.sh ${URI}" GCC_SPECS="" GDK_USE_XFT="1" GENTOO_MIRRORS="ftp://localhost http://distfiles.gentoo.org http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" G_BROKEN_FILENAMES="1" G_FILENAME_ENCODING="UTF-8" HOME="/root" HUSHLOGIN="FALSE" HZ="100" INFOPATH="/usr/share/info:/usr/share/binutils-data/i586-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/i586-pc-linux-gnu/4.1.1/info" INPUT_DEVICES="keyboard mouse" JAVAC="/opt/blackdown-jdk-1.4.2.03/bin/javac" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03" JDK_HOME="/opt/blackdown-jdk-1.4.2.03" KERNEL="linux" LDFLAGS="-Wl,-O1 -Wl,--sort-common -s" LD_LIBRARY_PATH=":/usr/lib/wine/lib" LESS="-R -M --shift 5" LESSOPEN="|lesspipe.sh %s" LOGNAME="root" LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.flac=01;35:*.mp3=01;35:*.mpc=00;36:*.ogg=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.flac=00;36:*.aac=00;36:" MAKEOPTS="-j2" MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i586-pc-linux-gnu/2.16.1/man:/usr/share/gcc-data/i586-pc-linux-gnu/4.1.1/man::/opt/blackdown-jdk-1.4.2.03/man" OPENGL_PROFILE="nvidia" PAGER="/usr/bin/less" PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/lib/wine/bin" PKGDIR="/usr/portage/packages" PORTAGE_ARCHLIST="ppc s390 amd64 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha ppc-macos hppa x86" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_BIN_PATH="/usr/lib/portage/bin" PORTAGE_CALLER="emerge" PORTAGE_CONFIGROOT="/" PORTAGE_ELOG_CLASSES="log warn error" PORTAGE_ELOG_MAILFROM="portage" PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}" PORTAGE_ELOG_MAILURI="root" PORTAGE_GID="250" PORTAGE_INST_GID="0" PORTAGE_INST_UID="0" PORTAGE_NICENESS="3" PORTAGE_PYM_PATH="/usr/lib/portage/pym" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_RSYNC_RETRIES="3" PORTAGE_TMPDIR="/var/tmp" PORTAGE_WORKDIR_MODE="0700" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" PORT_LOGDIR="/var/log/portage" PRELINK_PATH="" PRELINK_PATH_MASK="" PS1="\[\033[1;35m\]\u\[\033[0m\]@\[\033[1;32m\]\h\[\033[0m\]:\[\033[1;36m\]\w \[\033[1;31m\]Root \[\033[0m\]\$ " PWD="/home/chris" PYTHONPATH="/usr/lib/portage/pym" RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI}" ROOT="/" RPMDIR="/usr/portage/rpm" SANE_CONFIG_DIR="/etc/sane.d" SHELL="/bin/bash" SHLVL="7" SYNC="rsync://rsync.gentoo.org/gentoo-portage" TERM="xterm" USE="x86 3dnow X aac aalib alsa audiofile avi bash-completion bitmap-fonts browserplugin bzip2 cdr crypt divx4linux dvd dvdr dvdread encode f77 ffmpeg fortran gif gnome gtk gtk2 imlib ipv6 jpeg lcms mad mikmod mmx mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl oss png python quicktime readline real sdl slang spell sse ssl tcpd tiff truetype unicode userlocales vorbis win32codecs wmf xml xml2 xmms xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia" USER="root" USERLAND="GNU" USE_EXPAND="DVB_CARDS ELIBC FCDSL_CARDS FRITZCAPI_CARDS INPUT_DEVICES KERNEL LINGUAS USERLAND VIDEO_CARDS" USE_EXPAND_HIDDEN="ELIBC KERNEL USERLAND" USE_ORDER="env:pkg:conf:defaults" VIDEO_CARDS="nvidia" WINDOWID="18874420" XARGS="xargs -r" XAUTHORITY="/home/chris/.Xauthority" _="/usr/bin/emerge"
I also get a crash when I attempt to highlight text with the mouse. Like if I click once to set the cursor, nothing bad happens. But if I click, hold down on the button, and attempt to drag to the side to select text, it crashes.
CFLAGS were the culprit. I had forgotten that flags that were safe for gcc-3.4.x weren't neccesarily safe for 4.1.x.