Bug 120554 - OO code causes compiler seq fault
OO code causes compiler seq fault
Product: Red Hat Raw Hide
Classification: Retired
Component: openoffice.org (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Dan Williams
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2004-04-10 14:24 EDT by R P Herrold
Modified: 2007-04-18 13:05 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-04-10 14:36:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description R P Herrold 2004-04-10 14:24:58 EDT
It is unclear to me if this bug should be filed against gcc, or
openoffice --  this is building open office from RawHide (or whatever
it is called properly now)

it occurs when building Openoffice, and so I file it there in case it
is the underlying OO code which is provoking the error:

g++ -fmessage-length=0 -c -I.  -I. -I../inc -I../../../inc
-I../../../unx/inc -I../../../unxlngi4.pro/inc -I.
-INO_JAVA_HOME/include -INO_JAVA_HOME/include/linux
-INO_JAVA_HOME/include/native_threads/include -I/usr/X11R6/include   
 -I. -I../../../res -I. -O1   -pipe -mcpu=pentiumpro -fno-for-scope
-fpermissive -fno-rtti -include preinclude.h -fno-exceptions   -fpic
In file included from ../../../inc/fltcall.hxx:67,
internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
The bug is not reproduceable, so it is likely a hardware or OS problem
dmake:  Error code 1, while making '../../../unxlngi4.pro/slo/winwmf.obj'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making
make[1]: *** [all] Error 1

[herrold@dhcp226 oofice]$ df ; rpm -q glibc gcc
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda2             36352632   4063044  30442960  12% /
/dev/hda1                99043     14899     79030  16% /boot
none                   1030396         0   1030396   0% /dev/shm
Comment 1 R P Herrold 2004-04-10 14:26:40 EDT
ahhh -- also I was running time duringt the compile, so I paste it here

real    52m20.235s
user    36m15.330s
sys     8m55.510s
[herrold@dhcp226 oofice]$

it happened an hour in, roughly
Comment 2 Dan Williams 2004-04-10 14:36:14 EDT
This would be a GCC bug.  While some code in OOo must change to support certain 
compiler releases, GCC should never segfault on bad code in OOo.  If you can 
reproduce, file a bug against GCC.  Furthermore, the bug will be much easier to debug 
if you are able to reproduce the issue and also to add "-save-temps" to the 
CXXFLAGS+= line in ooo-build-1.1.51/build/OOO_1_1_0/solenv/inc/unxlngi4.mk.  
This will create some files in ooo-build-1.1.51/build/OOO_1_1_0/svtools/source/
filter.vcl/wmf/ with the extension .ii and perhaps something else too that you should 
attach to the GCC issue.

Also please note that the most current version of OOo in Rawhide is 1.1.1, so your 
build is slightly out of date and this may no longer be an issue.  In any case, if you file 
a bug against GCC code generation, Jakub Jelenik is usually very helpful in tracking 
down the cause.

Thanks!  (closing as NOTABUG so you can refile for GCC)

Note You need to log in before you can comment on or make changes to this bug.