Bug 120554 - OO code causes compiler seq fault
Summary: OO code causes compiler seq fault
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: openoffice.org
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dan Williams
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-04-10 18:24 UTC by R P Herrold
Modified: 2007-04-18 17:05 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-04-10 18:36:14 UTC
Embargoed:


Attachments (Terms of Use)

Description R P Herrold 2004-04-10 18:24:58 UTC
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.
-I/home/herrold/rpmbuild/BUILD/ooo-build-1.1.51/build/OOO_1_1_0/solver/645/unxlngi4.pro/inc/stl
-I/home/herrold/rpmbuild/BUILD/ooo-build-1.1.51/build/OOO_1_1_0/solver/645/unxlngi4.pro/inc/external
-I/home/herrold/rpmbuild/BUILD/ooo-build-1.1.51/build/OOO_1_1_0/solver/645/unxlngi4.pro/inc
-I/home/herrold/rpmbuild/BUILD/ooo-build-1.1.51/build/OOO_1_1_0/solenv/unxlngi4/inc
-I/home/herrold/rpmbuild/BUILD/ooo-build-1.1.51/build/OOO_1_1_0/solenv/inc
-I/home/herrold/rpmbuild/BUILD/ooo-build-1.1.51/build/OOO_1_1_0/res
-I/home/herrold/rpmbuild/BUILD/ooo-build-1.1.51/build/OOO_1_1_0/solver/645/unxlngi4.pro/inc/stl
-I/home/herrold/rpmbuild/BUILD/ooo-build-1.1.51/build/OOO_1_1_0/solenv/inc/Xp31
-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
-DLINUX -DUNX -DVCL -DGCC -DC300 -DINTEL -DCVER=C300 -D_USE_NAMESPACE
-DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX
-DCPPU_ENV=gcc3 -DSUPD=645 -DPRODUCT -DNDEBUG -DPRODUCT_FULL
-DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSRX645 
-DSHAREDLIB -D_DLL_  -DMULTITHREAD   -o
../../../unxlngi4.pro/slo/winwmf.o
/home/herrold/rpmbuild/BUILD/ooo-build-1.1.51/build/OOO_1_1_0/svtools/source/filter.vcl/wmf/winwmf.cxx
In file included from ../../../inc/fltcall.hxx:67,
                 from
/home/herrold/rpmbuild/BUILD/ooo-build-1.1.51/build/OOO_1_1_0/svtools/source/filter.vcl/wmf/winmtf.hxx:103,
                 from
/home/herrold/rpmbuild/BUILD/ooo-build-1.1.51/build/OOO_1_1_0/svtools/source/filter.vcl/wmf/winwmf.cxx:62:
/home/herrold/rpmbuild/BUILD/ooo-build-1.1.51/build/OOO_1_1_0/solver/645/unxlngi4.pro/inc/vcl/field.hxx:872:
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
/home/herrold/rpmbuild/BUILD/ooo-build-1.1.51/build/OOO_1_1_0/svtools/source/filter.vcl/wmf
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
glibc-2.3.2-95.6
gcc-3.2.3-24

Comment 1 R P Herrold 2004-04-10 18:26:40 UTC
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 18:36:14 UTC
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.