Hi Dave,
        Thank you very much for the reply.
I am using xalan 1.2 on AIX4.3.2 with xlC3.6.6.
We are planning to move to xlC5 in future.
But I have to get it working with the current compiler.
I tried copying the latest files from cvs and re-builded xalan1.2.
It is crashing for all the xml files. 
I also tried changing the VariablesStack::findXObject() 
method as suggested in the BUG#4506.
It stills dumps core in my case.
It would be great, If Can you please suggest a fix for me for xalan_1.2 


Thanks for the help.
Raj..


Here is the stack:


StylesheetExecutionContextDefault.getVariable__33StylesheetExecutionContextD
efaultFRC10XalanQName() at 0x2063d
c88
XPath.executeMore__5XPathCFP9XalanNodeiR21XPathExecutionContext() at
0x205e4790
XPath.executeMore__5XPathCFP9XalanNodeiR21XPathExecutionContext() at
0x205e452c
XPath.runFunction__5XPathCFP9XalanNodeiR21XPathExecutionContext() at
0x205e7130
XPath.executeMore__5XPathCFP9XalanNodeiR21XPathExecutionContext() at
0x205e47f0
XPath.executeMore__5XPathCFP9XalanNodeiR21XPathExecutionContext() at
0x205e452c
XPath.execute__5XPathCFP9XalanNodeRC14PrefixResolverR21XPathExecutionContext
() at 0x205e4440
StylesheetExecutionContextDefault.createVariable__33StylesheetExecutionConte
xtDefaultFPC19ElemTemplateElementR
C5XPathP9XalanNodeRC14PrefixResolver() at 0x2063af6c
StylesheetExecutionContextDefault.getParams__33StylesheetExecutionContextDef
aultFRC19ElemTemplateElementP9Xala
nNodeR6vectorXTQ2_14VariablesStack17ParamsVectorEntry_() at 0x2063ee80
StylesheetExecutionContextDefault.pushParams__33StylesheetExecutionContextDe
faultFRC19ElemTemplateElementP9Xal
anNodePC19ElemTemplateElement() at 0x2063b470
StylesheetExecutionContext.__ct__Q2_26StylesheetExecutionContext13ParamsPush
PopFR26StylesheetExecutionContextR
C19ElemTemplateElementP9XalanNodePC19ElemTemplateElement() at 0x206145b0
ElemCallTemplate.execute__16ElemCallTemplateCFR26StylesheetExecutionContext(
) at 0x20678158
ElemTemplateElement.executeChildren__19ElemTemplateElementCFR26StylesheetExe
cutionContext() at 0x205b70b8
ElemChoose.execute__10ElemChooseCFR26StylesheetExecutionContext() at
0x2068481c
ElemTemplateElement.executeChildren__19ElemTemplateElementCFR26StylesheetExe
cutionContext() at 0x205b7110
ElemTemplate.execute__12ElemTemplateCFR26StylesheetExecutionContext() at
0x206655e0
ElemCallTemplate.execute__16ElemCallTemplateCFR26StylesheetExecutionContext(
) at 0x20678180
ElemTemplateElement.executeChildren__19ElemTemplateElementCFR26StylesheetExe
cutionContext() at 0x205b70b8
ElemChoose.execute__10ElemChooseCFR26StylesheetExecutionContext() at
0x2068481c
ElemTemplateElement.executeChildren__19ElemTemplateElementCFR26StylesheetExe
cutionContext() at 0x205b7110
ElemTemplate.execute__12ElemTemplateCFR26StylesheetExecutionContext() at
0x206655e0
ElemCallTemplate.execute__16ElemCallTemplateCFR26StylesheetExecutionContext(
) at 0x20678180

..........
..........

ElemTemplateElement.executeChildren__19ElemTemplateElementCFR26StylesheetExe
cutionContext() at 0x205b7110
ElemTemplate.execute__12ElemTemplateCFR26StylesheetExecutionContext() at
0x206655e0
ElemCallTemplate.execute__16ElemCallTemplateCFR26StylesheetExecutionContext(
) at 0x20678180
ElemTemplateElement.executeChildren__19ElemTemplateElementCFR26StylesheetExe
cutionContext() at 0x205b7164
ElemLiteralResult.execute__17ElemLiteralResultCFR26StylesheetExecutionContex
t() at 0x2068a15c
ElemTemplateElement.executeChildren__19ElemTemplateElementCFR26StylesheetExe
cutionContext() at 0x205b7110
ElemTemplate.execute__12ElemTemplateCFR26StylesheetExecutionContext() at
0x206655e0
StylesheetRoot.process__14StylesheetRootCFP9XalanNodeR16XSLTResultTargetR26S
tylesheetExecutionContext() at 0x20
662f50
XSLTEngineImpl.process__14XSLTEngineImplFRC15XSLTInputSourceR16XSLTResultTar
getR26StylesheetExecutionContext()
at 0x2064ad90
XalanTransformer.transform__16XalanTransformerFRC17XalanParsedSourcePC23Xala
nCompiledStylesheetRC16XSLTResultTa
rget() at 0x2071803c
XalanTransformer.transform__16XalanTransformerFRC15XSLTInputSourcePC23XalanC
ompiledStylesheetRC16XSLTResultTarg
et() at 0x207187c8
unnamed block CXSTransformImpl.transformImpl(const RWCString&,int,const
RWCString&).$b754, line 118 in "CXSTran
sformImpl.cc"
CXSTransformImpl.transformImpl(const RWCString&,int,const
RWCString&)(0x209d1c68, 0x20a73c94, 0x2ff213b8, 0x0,
0x20a73eb4), line 118 in "CXSTransformImpl.cc"

> -----Original Message-----
> From: David N Bertoni/Cambridge/IBM [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, February 26, 2002 7:33 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: XalanC++ is Crashing for 470KB XML file.
> 
> 
> Hi Raj,
> 
> This looks like this bug, which has already been fixed:
> 
>    http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6506
> 
> You can get a diff from CVS to patch your local copy.  The files changed
> were:
> 
>    xml-xalan/c/src/XSLT/VariablesStack.cpp
>    xml-xalan/c/src/XSLT/VariablesStack.hpp
> 
> This doesn't have anything to do with the size of the input file --
> Xalan-C
> can process very large documents, provided you have adequate memory
> available to the process.
> 
> Dave
> 
> 
> 
>  
> 
>                       "Avula, Raj"
> 
>                       <RAvula@firstam.         To:
> "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> 
>                       com>                     cc:      (bcc: David N
> Bertoni/Cambridge/IBM)                                          
>                                                Subject: XalanC++ is
> Crashing for 470KB XML file.                                      
>                       02/26/2002 05:13
> 
>                       PM
> 
>                       Please respond
> 
>                       to xalan-dev
> 
>  
> 
>  
> 
> 
> 
> 
> 
> 
> Hi,
>              Xalan is crashing for 470 KB input file. Here is the snippet
> of
> code, that I am using for transformation.
> It is crashing in the axXalanTransformer.transform method.
> Can you please go through it and let me know, If I can do any thing to get
> away with this.
> I am attaching the code at the end of the mail.
> 
> Thanks for the help,
> Raj..
> 
> ...
> 
> 

"MMS <firstam.com>" made the following
 annotations on 02/27/02 12:18:04
------------------------------------------------------------------------------
"THIS E-MAIL MESSAGE AND ANY FILES TRANSMITTED HEREWITH, ARE INTENDED SOLELY FOR THE 
USE OF THE INDIVIDUAL(S) ADDRESSED AND MAY CONTAIN CONFIDENTIAL, PROPRIETARY OR 
PRIVILEGED INFORMATION.  IF YOU ARE NOT THE ADDRESSEE INDICATED IN THIS MESSAGE (OR 
RESPONSIBLE FOR DELIVERY OF THIS MESSAGE TO SUCH PERSON) YOU MAY NOT REVIEW, USE, 
DISCLOSE OR DISTRIBUTE THIS MESSAGE OR ANY FILES TRANSMITTED HEREWITH.  IF YOU RECEIVE 
THIS MESSAGE IN ERROR, PLEASE CONTACT THE SENDER BY REPLY E-MAIL AND DELETE THIS 
MESSAGE AND ALL COPIES OF IT FROM YOUR SYSTEM."

==============================================================================

Reply via email to