Skip to content

v1.3.1 — stack guard on small-stack threads

Choose a tag to compare

@sashokfestival sashokfestival released this 08 Sep 07:45
· 179 commits to main since this release

What's new in 1.3.1

A single fix, for hosts that run the engine on threads with a small stack.

  • Stack guard re-calibrated. The guard kept more headroom in reserve than it still needs —
    the reserve was measured back when the recursion error was converted deep inside the engine.
    On a caller thread with a 256 KB stack that stale reserve rejected ordinary work at any depth.
    Normal transforms now run on such threads, while genuine runaway recursion is still stopped
    with a catchable error before the CLR raises its uncatchable StackOverflowException.
  • XQueryCompiler now reports that recursion limit as DAXonApiException, like every other
    compile-time failure, instead of letting an internal exception escape to the host.

No API changes, and AssemblyVersion stays 1.3.0 — nothing needs re-binding.

Verification is unchanged: the full W3C QT3 (XPath/XQuery 3.1) and XSLT 3.0 conformance corpora
at the documented 17-failure baseline, the spec suite, byte-identity gates against Java Saxon-HE,
and the robustness probes — now including one that exercises the engine on a 256 KB thread.