Discussion:
[jira] [Created] (XALANC-761) xalan segfaults on <xsl:include> statement
Axel Söding-Freiherr von Blomberg (JIRA)
2015-03-16 12:16:40 UTC
Permalink
Axel Söding-Freiherr von Blomberg created XALANC-761:
--------------------------------------------------------

Summary: xalan segfaults on <xsl:include> statement
Key: XALANC-761
URL: https://issues.apache.org/jira/browse/XALANC-761
Project: XalanC
Issue Type: Bug
Components: XalanC
Affects Versions: 1.11
Environment: Linux 3.13.0-46-generic #77-Ubuntu SMP i686 GNU/Linux
sudo apt-get install xalan
Reporter: Axel Söding-Freiherr von Blomberg
Assignee: Steven J. Hathaway


The bug can be reproduced with a minimal setup:

stylesheet2.xsl:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml"/>
<xsl:template name="foo">foo</xsl:template>
</xsl:stylesheet>

stylesheet1.xsl:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml"/>
<xsl:include href="stylesheet2.xsl"/>
<xsl:template match="foo">
</xsl:template>
</xsl:stylesheet>

foo.xml:
<?xml version='1.0' encoding='UTF-8'?>
<foo>
</foo>

$/usr/bin/Xalan foo.xml stylesheet1.xsl
segmentation fault



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-***@xalan.apache.org
For additional commands, e-mail: dev-***@xalan.apache.org
Bill Blough (JIRA)
2015-10-13 01:40:05 UTC
Permalink
[ https://issues.apache.org/jira/browse/XALANC-761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14954211#comment-14954211 ]

Bill Blough commented on XALANC-761:
------------------------------------

I'm unable to reproduce this issue on my system (Debian stable, same package version as Ubuntu, 1.11-5).

Are you still experiencing this? Can you provide alternate/additional steps to reproduce?
Post by Axel Söding-Freiherr von Blomberg (JIRA)
xalan segfaults on <xsl:include> statement
------------------------------------------
Key: XALANC-761
URL: https://issues.apache.org/jira/browse/XALANC-761
Project: XalanC
Issue Type: Bug
Components: XalanC
Affects Versions: 1.11
Environment: Linux 3.13.0-46-generic #77-Ubuntu SMP i686 GNU/Linux
sudo apt-get install xalan
Reporter: Axel Söding-Freiherr von Blomberg
Assignee: Steven J. Hathaway
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml"/>
<xsl:template name="foo">foo</xsl:template>
</xsl:stylesheet>
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml"/>
<xsl:include href="stylesheet2.xsl"/>
<xsl:template match="foo">
</xsl:template>
</xsl:stylesheet>
<?xml version='1.0' encoding='UTF-8'?>
<foo>
</foo>
$/usr/bin/Xalan foo.xml stylesheet1.xsl
segmentation fault
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-***@xalan.apache.org
For additional commands, e-mail: dev-***@xalan.apache.org
Axel Söding-Freiherr von Blomberg (JIRA)
2015-10-15 12:46:05 UTC
Permalink
[ https://issues.apache.org/jira/browse/XALANC-761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14958840#comment-14958840 ]

Axel Söding-Freiherr von Blomberg commented on XALANC-761:
----------------------------------------------------------

Hi Bill,

I'm pretty sure that the issue is caused by some library abi mismatch. In the meanwhile I was able to compile from sources and see no further issues, at least with Xalan1.10.

I'm in hospital right now, will provide you with more details when back home.

Cheers
Axel


Von Samsung Mobile gesendet
Post by Axel Söding-Freiherr von Blomberg (JIRA)
xalan segfaults on <xsl:include> statement
------------------------------------------
Key: XALANC-761
URL: https://issues.apache.org/jira/browse/XALANC-761
Project: XalanC
Issue Type: Bug
Components: XalanC
Affects Versions: 1.11
Environment: Linux 3.13.0-46-generic #77-Ubuntu SMP i686 GNU/Linux
sudo apt-get install xalan
Reporter: Axel Söding-Freiherr von Blomberg
Assignee: Steven J. Hathaway
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml"/>
<xsl:template name="foo">foo</xsl:template>
</xsl:stylesheet>
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml"/>
<xsl:include href="stylesheet2.xsl"/>
<xsl:template match="foo">
</xsl:template>
</xsl:stylesheet>
<?xml version='1.0' encoding='UTF-8'?>
<foo>
</foo>
$/usr/bin/Xalan foo.xml stylesheet1.xsl
segmentation fault
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-***@xalan.apache.org
For additional commands, e-mail: dev-***@xalan.apache.org

Loading...