Bug 113057

Summary: Segmetation fault when compiling xalan C++ source code
Product: [Retired] Red Hat Linux Reporter: Anne Racel <amracel>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-01-12 08:54:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Anne Racel 2004-01-07 20:31:39 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b)
Gecko/20031210

Description of problem:
d ~/external/xml-xalan/src/xalanc/
gmake -f /home/crc/external/xml-xalan/src/xalanc/Makefile
Preparing the directory structure for a build ...
mkdir -p /home/crc/external/xml-xalan/obj
mkdir -p /home/crc/external/xml-xalan/lib
mkdir -p /home/crc/external/xml-xalan/bin
c++ -O2 -DNDEBUG      -fno-elide-constructors -Wall -fPIC -DLINUX
-D_REENTRANT  -c -I/home/crc/external/xml-xalan/src
-I/home/crc/external/xml-xerces/src/
-I/home/crc/external/xml-xerces/include/xercesc
-I/home/crc/external/xml-xerces/include/  -o
/home/crc/external/xml-xalan/obj/XPathExecutionContextDefault.o
/home/crc/external/xml-xalan/src/xalanc/XPath/XPathExecutionContextDefault.cpp
/home/crc/external/xml-xalan/src/xalanc/Include/XalanObjectCache.hpp:
In method 
`xalanc_1_6::XPathExecutionContextDefault::XPathExecutionContextDefault
(xalanc_1_6::XPathEnvSupport &, 
xalanc_1_6::DOMSupport &, xalanc_1_6::XObjectFactory &,
xalanc_1_6::XalanNode *, const 
xalanc_1_6::NodeRefListBase *, const xalanc_1_6::PrefixResolver *)':
/home/crc/external/xml-xalan/src/xalanc/Include/XalanObjectCache.hpp:306:
Internal error: Segmentation 
fault.
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
gmake: ***
[/home/crc/external/xml-xalan/obj/XPathExecutionContextDefault.o] Error 1

Compilation exited abnormally with code 2 at Wed Jan  7 15:28:01


Version-Release number of selected component (if applicable):
Xalan 1.6 gcc 2.96 

How reproducible:
Always

Steps to Reproduce:
1. run 'gmake' from ${XALANCROOT}/src/xalanc, as per apache's
instructions for the module

Actual Results:  As can be seen from the output, this produced a
segmentation fault.

Expected Results:  Complete compilation.

Additional info:

Comment 1 Jakub Jelinek 2004-01-12 08:54:52 UTC
RHL7.2 is EOL.  Try gcc-3.{2,3}.* in a newer distribution.
If you manage to reproduce it with that compiler, please reopen the bug.