Bug 113057 - Segmetation fault when compiling xalan C++ source code
Summary: Segmetation fault when compiling xalan C++ source code
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gcc
Version: 7.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-01-07 20:31 UTC by Anne Racel
Modified: 2007-04-18 17:01 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-01-12 08:54:52 UTC
Embargoed:


Attachments (Terms of Use)

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.


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