[ 
http://issues.apache.org/jira/browse/XALANC-447?page=comments#action_57358 ]
     
Robert Schiele commented on XALANC-447:
---------------------------------------

Here is a stack trace for this issue:

#0  0xffffe410 in ?? ()
#1  0xbfffe1b8 in ?? ()
#2  0x00000006 in ?? ()
#3  0x00005af7 in ?? ()
#4  0x40d02d41 in raise () from /lib/tls/libc.so.6
#5  0x40d04529 in abort () from /lib/tls/libc.so.6
#6  0x40c88c25 in __cxxabiv1::__terminate () from /usr/lib/libstdc++.so.5
#7  0x40c88c62 in std::terminate () from /usr/lib/libstdc++.so.5
#8  0x40c89146 in __cxa_pure_virtual () from /usr/lib/libstdc++.so.5
#9  0x403b9bc6 in xalanc_1_9::XalanReferenceCountedObject::removeReference 
(theInstance=0x8076d8c) at 
/home/robert/xalan/xml-xalan/c/src/xalanc/PlatformSupport/XalanReferenceCountedObject.cpp:73
#10 0x403dddd6 in ~XObjectPtr (this=0x8078998) at XObject.hpp:624
#11 0x40412eae in xalanc_1_9::XalanVector<xalanc_1_9::XObjectPtr, 
xalanc_1_9::MemoryManagedConstructionTraits<xalanc_1_9::XObjectPtr> >::destroy 
([EMAIL PROTECTED]) at XalanVector.hpp:965
#12 0x405262ef in xalanc_1_9::XalanVector<xalanc_1_9::XObjectPtr, 
xalanc_1_9::MemoryManagedConstructionTraits<xalanc_1_9::XObjectPtr> >::pop_back 
(this=0x8056c48) at XalanVector.hpp:254
#13 0x40531089 in xalanc_1_9::XalanVector<xalanc_1_9::XObjectPtr, 
xalanc_1_9::MemoryManagedConstructionTraits<xalanc_1_9::XObjectPtr> 
>::shrinkToSize (this=0x8056c48, theSize=0)
    at XalanVector.hpp:1057
#14 0x4052633d in xalanc_1_9::XalanVector<xalanc_1_9::XObjectPtr, 
xalanc_1_9::MemoryManagedConstructionTraits<xalanc_1_9::XObjectPtr> >::clear 
(this=0x8056c48) at XalanVector.hpp:796
#15 0x40522391 in xalanc_1_9::StylesheetExecutionContextDefault::reset 
(this=0x8056958) at 
/home/robert/xalan/xml-xalan/c/src/xalanc/XSLT/StylesheetExecutionContextDefault.cpp:1956
#16 0x405935a1 in ~EnsureReset (this=0xbfffe760) at 
/home/robert/xalan/xml-xalan/c/src/xalanc/XalanTransformer/XalanTransformer.cpp:1138
#17 0x40593d63 in xalanc_1_9::XalanTransformer::doTransform (this=0xbfffeea0, 
[EMAIL PROTECTED], theCompiledStylesheet=0x0, theStylesheetSource=Internal: 
global symbol `XSLTInputSource' found in 
/home/robert/xalan/xml-xalan/c/src/xalanc/XSLT/XSLTInputSource.cpp psymtab but 
not in symtab.
XSLTInputSource may be an inlined function, or may be a template function
(if a template, try specifying an instantiation: XSLTInputSource<type>).
)
    at 
/home/robert/xalan/xml-xalan/c/src/xalanc/XalanTransformer/XalanTransformer.cpp:1300
#18 0x0804dceb in xalanc_1_9::XalanTransformer::transform (this=0xbfffeea0, 
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]) at 
XalanTransformer.hpp:167
#19 0x40591596 in xalanc_1_9::XalanTransformer::transform (this=0xbfffeea0, 
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED])
    at 
/home/robert/xalan/xml-xalan/c/src/xalanc/XalanTransformer/XalanTransformer.cpp:338
#20 0x0804d5ce in transform ([EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL 
PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED])
    at /home/robert/xalan/xml-xalan/c/src/xalanc/XalanExe/XalanExe.cpp:631
#21 0x0804d3b4 in transform ([EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL 
PROTECTED], [EMAIL PROTECTED])
    at /home/robert/xalan/xml-xalan/c/src/xalanc/XalanExe/XalanExe.cpp:735
#22 0x0804d249 in transform ([EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL 
PROTECTED]) at 
/home/robert/xalan/xml-xalan/c/src/xalanc/XalanExe/XalanExe.cpp:761
#23 0x0804ce2d in transform ([EMAIL PROTECTED], [EMAIL PROTECTED]) at 
/home/robert/xalan/xml-xalan/c/src/xalanc/XalanExe/XalanExe.cpp:785
#24 0x0804c6be in xsltMain (argc=3, argv=0xbffff064) at 
/home/robert/xalan/xml-xalan/c/src/xalanc/XalanExe/XalanExe.cpp:829
#25 0x0804c7cd in main (argc=3, argv=0xbffff064) at 
/home/robert/xalan/xml-xalan/c/src/xalanc/XalanExe/XalanExe.cpp:869

> Xalan crashes with "pure virtual method called"
> -----------------------------------------------
>
>          Key: XALANC-447
>          URL: http://issues.apache.org/jira/browse/XALANC-447
>      Project: XalanC
>         Type: Bug
>   Components: XalanC
>     Versions: 1.9
>  Environment: Linux/x86
>     Reporter: Robert Schiele

>
> When you run the stylesheet
> <xsl:stylesheet version="1.0" 
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
>   <xsl:template match="*">
>     <xsl:apply-templates select="current()" mode="a"/>
>   </xsl:template>
>   <xsl:template match="*" mode="a">
>     <xsl:apply-templates select="current()" mode="b"/>
>   </xsl:template>
>   <xsl:template match="*" mode="b">
>     <xsl:call-template name="a">
>       <xsl:with-param name="a">
>         <xsl:for-each select="*">
>           <xsl:variable name="a"/>
>         </xsl:for-each>
>       </xsl:with-param>
>     </xsl:call-template>
>   </xsl:template>
>   <xsl:template name="a"/>
> </xsl:stylesheet>
> on any XML file with "Xalan file.xml file.xsl" Xalan crashes with
> pure virtual method called
> Aborted
> This happens with self built Xalan and with the provided binaries for RedHat 
> 8.0.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to