Project

Profile

Help

Bug #2633

closed

9.7.0.3 regression: XQuery compilation does not terminate

Added by Gunther Rademacher about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Performance
Sprint/Milestone:
-
Start date:
2016-02-21
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.7
Fix Committed on Branch:
9.7
Fixed in Maintenance Release:
Platforms:

Description

The attached XQuery code is a Java 6 parser created by REx. It works OK on Saxon-HE 9.7.0.2, but when I run it on 9.7.0.3, with '-t', I see this output

Saxon-HE 9.7.0.3J from Saxonica
Java version 1.8.0_40
Analyzing query from JavaParser.xquery

and it then appears to go into a loop, fully occupying one processor. A stack trace acquired while observing this is attached. This does not occur when using '-opt:0'.

Best regards,

Gunther


Files

JavaParser.xquery (807 KB) JavaParser.xquery Java Parser in XQuery generated by REx Gunther Rademacher, 2016-02-21 23:24
s2.log (13.9 KB) s2.log stack trace from optimization loop Gunther Rademacher, 2016-02-21 23:26

Please register to edit this issue

Also available in: Atom PDF