If I select text and type ctrl-c (or in menu: edit/copy) abiword crashes immediately. This happens on this System: AMD K6-2/500 on Asus P5A-B 500MB Ram Diamond Fire 1000 GL Pro Using X11 - icewm, dfm No Gnome / No KDE installed, except what's needed due to dependencies Whole system compiled with -m586 -O3 -fomit-frame-pointer This is my emerge info after emerging abiword-1.0.5: Portage 2.0.48 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-gentoo-r5 i586 AMD-K6(tm) 3D processor GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm arts avi cups encode gpm kde gnome libg++ mikmod mmx oggvorbis qt quicktime xmms xv esd opengl berkdb bonobo crypt gd gdbm gif gtk gtkhtml guile imlib java jikes jpeg libwww motif mozilla mpeg ncurses nls nocardbus pam pdflib perl plotutils png pnp python readline sasl sdl slang slp spell ssl svga tcltk tcpd tiff truetype wmf X xface xml xml2 zlib" COMPILER="gcc3" CHOST="i586-pc-linux-gnu" CFLAGS="-O3 -g2 -mcpu=i586 -pipe -fomit-frame-pointer" CXXFLAGS="-O3 -g2 -mcpu=i586 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" ------------------------------------------------------------------ I have a core file here: http://www.wolle-hamburg.de/Bugs/abiword-1.0.5/core.gz My AbiWord_d is here: http://www.wolle-hamburg.de/Bugs/abiword-1.0.5/AbiWord_d .gz On a second system with a 1.4 GHz Athlon Thunderbird, ATI Rage Pro, KDE, Abiword works fine. Reproducible: Always Steps to Reproduce:
I re-emerged gtk+-1.2.10-r10 and the problem is gone. I don't know why gtk+ caused the error, but I think this bug can be closed.
I can reproduce the crash when I have "-fomit-frame-pointer" in my CFLAGS, CXXFLAGS. It works well, if I leave it out. This are my flags for a working abiword install (I know, O3 will be overwritten by ebuild): CFLAGS="-O3 -mcpu=i586 -pipe" CXXFLAGS="${CFLAGS}" I suggest to remove "-fomit-frame-pointer" fom FLAGS in ebuild to increase stability.
yeah well, flags beyond standard ones really are the responsibility of the user imho.
what are your CFLAGS on the pc it works fine on ?
CFLAGS="-O3 -mcpu=athlon-tbird -pipe -fomit-frame-pointer"
so that one has the -fomit-frame-pointer ? that means compilerspecific and/or m{arch,cpu} specific filtering, i don't feel we should do that. The responsibility on useflags is to some degree to the user.
I've been up all night trying to figure out this same problem. I would have fixed it a week ago had I looked for bugs marked as "won't fix" instead of unresolved or new ones. Your reason for not fixing the ebuild seems a silly one. Why shouldn't we make Gentoo as good as we can? I'm sure there's enough work involved configuring things right. I don't think you have to save problems up for a sunny day just in case getting things up and running starts going too smooth. At least with march=k6-2 OR mcpu=k6-2 OR march=k6 OR march=i586 AND -fomit-frame-pointer Abiword (2.0.6) crashes when trying to copy selected text. All other programs I've emerged have worked fine with -fomit-frame-pointer so I wouldn't call it a troublemaker. The Gentoo install docs also comment on using it so I wouldn't say a K6 or Pentium owner would be going out on a limb adding it to make.conf.