Return-Path: X-Original-To: apmail-xalan-dev-archive@www.apache.org Delivered-To: apmail-xalan-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5A473104C5 for ; Sat, 3 Aug 2013 04:19:57 +0000 (UTC) Received: (qmail 96124 invoked by uid 500); 3 Aug 2013 04:19:56 -0000 Delivered-To: apmail-xalan-dev-archive@xalan.apache.org Received: (qmail 96105 invoked by uid 500); 3 Aug 2013 04:19:51 -0000 Mailing-List: contact dev-help@xalan.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@xalan.apache.org Delivered-To: mailing list dev@xalan.apache.org Received: (qmail 96087 invoked by uid 99); 3 Aug 2013 04:19:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Aug 2013 04:19:49 +0000 Date: Sat, 3 Aug 2013 04:19:48 +0000 (UTC) From: "Bill Blough (JIRA)" To: dev@xalan.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (XALANC-751) Segmentation fault in TestXSLT MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/XALANC-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13728437#comment-13728437 ] Bill Blough commented on XALANC-751: ------------------------------------ Note, the "xalan" executable in the example above is a renamed TestXSLT. Similar behavior occurs with XalanExe. > Segmentation fault in TestXSLT > ------------------------------ > > Key: XALANC-751 > URL: https://issues.apache.org/jira/browse/XALANC-751 > Project: XalanC > Issue Type: Bug > Components: XalanC > Affects Versions: 1.11 > Environment: Debian GNU/Linux > Reporter: Bill Blough > Assignee: Steven J. Hathaway > Priority: Critical > > Forwarded from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718303 > TestXSLT segfaults under certain input instead of returning an error. My testing indicates that this issue began in SVN rev 1388736, as 1388735 appears to exhibit the correct behavior. > The issue can be reproduced as follows: > $ cat var-in-xslkey.xsl > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > > > > $ xalan -xsl var-in-xslkey.xsl -in var-in-xslkey.xsl > Expected Results (1388735 and before): > XSLException Type is: XPathParserException > Message is: A variable reference is allowed in a match pattern or > expression in this context. > pattern = '*[@id != $var]' Remaining tokens are: ( 'var' ']') > (var-in-xslkey.xsl, line 5, column 54) > Actual Results (1388736 and later): > XPath error: A variable reference is allowed in a match pattern or expression in this context. > pattern = '*[@id != $var]' Remaining tokens are: ( 'var' ']') (Occurred in an unknown entity, at line 5, column 5.) > Segmentation fault -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org For additional commands, e-mail: dev-help@xalan.apache.org