Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21702 - abiword crashes on copying text
Summary: abiword crashes on copying text
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-26 03:45 UTC by Wolfgang Thiess
Modified: 2004-05-10 19:45 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Thiess 2003-05-26 03:45:35 UTC
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:
Comment 1 Wolfgang Thiess 2003-06-09 02:54:44 UTC
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. 
 
Comment 2 Wolfgang Thiess 2003-06-13 09:06:19 UTC
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. 
 
Comment 3 foser (RETIRED) gentoo-dev 2003-06-17 06:29:55 UTC
yeah well, flags beyond standard ones really are the responsibility of the user imho.
Comment 4 foser (RETIRED) gentoo-dev 2003-06-25 09:12:07 UTC
what are your CFLAGS on the pc it works fine on ?
Comment 5 Wolfgang Thiess 2003-06-25 09:41:32 UTC
CFLAGS="-O3 -mcpu=athlon-tbird -pipe -fomit-frame-pointer" 
Comment 6 foser (RETIRED) gentoo-dev 2003-06-25 10:36:59 UTC
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.
Comment 7 Carl Olof Englund 2004-05-10 19:45:56 UTC
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.