You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Amol Potnis <am...@pspl.co.in> on 2002/10/16 21:48:05 UTC

Problems with running samples for Xalan 1.3 on Aix 4.3.

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"