You should download Xalan 1.4 and see if this problem persists. Also, make
sure you are using VisualAge 5.02. This looks like it's happening deep in
the standard library, so it could be a bug in the 5.0 library.
Just for verification, I downloaded the Xalan 1.3 distribution and tested.
I had no problems building anything and XalanTransform runs without any
problems.
I suspect there is a problem with your local installation of VisualAge for
C++, or you are using an older version. If you are not using 5.02, make
sure you also rebuild Xerces with your version of the compiler.
Dave
"Amol Potnis"
<[EMAIL PROTECTED] To: <[EMAIL PROTECTED]>
n> cc: "amol" <[EMAIL PROTECTED]>,
(bcc: David N Bertoni/Cambridge/IBM)
Subject: Problems with running samples
for Xalan 1.3 on Aix 4.3.
10/16/2002 12:48
PM
Please respond
to xalan-dev
Hi,
I am trying to build Xalan 1.3 on Aix4.3 with XLC 5.0.
I am able to build the sources and samples.
Following is my observation while running the samples:
- When I tried 'DocumentBuilder' and 'SimpleTransform' , they went
through.
But 'XalanTransform' always gave me segmentation fault. On debugging it
was showing some problem in 'StylesheetHandler.cpp'.
* I am wondering about this behavior.
I guess the samples which come along with the source code , should go
through without any problems.
Also Xalan 1.3 is marked as 'stabilized' on apache site.
So Am I missing anything very obvious?
Has anybody observed similar problem with samples with Xalan 1.3?
Any help is really appreciated.
Thanks and regards
Amol Potnis
Note: Please find the following stack-trace for more information:
--------------------------------------------------------------------------------------------------
Segmentation fault in
StylesheetHandler.__opb__Q3_3std6vectorXTbTQ2_3std9allocatorXTb() const at
line 3
52 in file "/usr/vacpp/include/vector" ($t1)
352 {return ((*_Ptr & _Mask) != 0); }
(dbx) where
StylesheetHandler.__opb__Q3_3std6vectorXTbTQ2_3std9allocatorXTb()
const(0x2ff21788), line 352 in "vecto
r"
StylesheetHandler.__as__Q3_3std6vectorXTbTQ2_3std9allocatorXTb(0x2ff21780,
0x2ff21788), line 340 in "ve
ctor"
unnamed block $b4302, line 521 in "xutility"
StylesheetHandler.copy(0x2ff217f0, 0x0, 0x40069209, 0x0, 0x20069209, 0x7,
0x40069208), line 521 in "xut
ility"
StylesheetHandler.erase(0x2ff21dfc, 0x2ff21850, 0x7, 0x40069208), line 659
in "StylesheetHandler.cpp"
StylesheetHandler.pop_back(0x2ff21dfc), line 622 in "vector"
StylesheetHandler::endElement(const unsigned short* const)(this =
0x2ff21d78, name = 0x20087248), line
1629 in "StylesheetHandler.cpp"
startElement__9SAXParserFRC14XMLElementDeclCUiCPCUsRC11RefVectorOfXT7XMLAttr_CUiCbCb()
at 0xd63d35d8
scanStartTag__10XMLScannerFRb() at 0xd62e5158
scanContent__10XMLScannerFCb() at 0xd62e1014
scanDocument__10XMLScannerFRC11InputSourceCb() at 0xd62e0210
parse__9SAXParserFRC11InputSourceCb() at 0xd63d2540
XercesParserLiaison.parseXMLStream(const
InputSource&,DocumentHandler&,const XalanDOMString&)(0x2004627
0, 0x2ff228d0, 0x2ff21d78, 0x2ff21ef0), line 204 in
"XercesParserLiaison.cpp"
XalanSourceTreeParserLiaison.parseXMLStream(const
InputSource&,DocumentHandler&,const XalanDOMString&)(
0x20046268, 0x2ff228d0, 0x2ff21d78, 0x2ff21ef0), line 213 in
"XalanSourceTreeParserLiaison.cpp"
unnamed block $b4568, line 509 in "XSLTEngineImpl.cpp"
unnamed block $b4566, line 509 in "XSLTEngineImpl.cpp"
XSLTEngineImpl.processStylesheet(const
XSLTInputSource&,StylesheetConstructionContext&)(0x2ff22430, 0x2
ff228d0, 0x2ff225c8), line 509 in "XSLTEngineImpl.cpp"
XSLTEngineImpl.process(const XSLTInputSource&,const
XSLTInputSource&,XSLTResultTarget&,StylesheetConstr
uctionContext&,StylesheetExecutionContext&)(0x2ff22430, 0x2ff22640,
0x2ff228d0, 0x2ff225f8, 0x2ff225c8,
0x20040f08), line 277 in "XSLTEngineImpl.cpp"
unnamed block $b5096, line 359 in "XalanTransformer.cpp"
XalanTransformer.transform(const XalanParsedSource&,const
XSLTInputSource&,const XSLTResultTarget&)(0x2
ff227b0, 0x20041a48, 0x2ff228d0, 0x2ff228f0), line 359 in
"XalanTransformer.cpp"
unnamed block $b5121, line 661 in "XalanTransformer.cpp"
XalanTransformer.transform(const XSLTInputSource&,const
XSLTInputSource&,const XSLTResultTarget&)(0x2ff
227b0, 0x2ff228b0, 0x2ff228d0, 0x2ff228f0), line 661 in
"XalanTransformer.cpp"
unnamed block $b2, line 61 in "XalanTransform.cpp"
main(argc = 3, argv = 0x2ff229a0), line 61 in "XalanTransform.cpp"
Re: Problems with running samples for Xalan 1.3 on Aix 4.3.
David N Bertoni/Cambridge/IBM Wed, 16 Oct 2002 15:35:25 -0700
- Problems with running samples for Xalan 1.3 ... Amol Potnis
- RE:Problems with running samples for Xa... David N Bertoni/Cambridge/IBM
- RE:Problems with running samples for Xa... Amol Potnis
- RE:Problems with running samples fo... David N Bertoni/Cambridge/IBM
- RE: Problems with running sampl... Amol Potnis
- RE: Problems with running s... David N Bertoni/Cambridge/IBM
- RE: Problems with runn... Amol Potnis
- RE: Problems with ... David N Bertoni/Cambridge/IBM
