Saxon-PE 9.5.1.4 Error "Local variable $v has not been allocated a stack frame slot"

StackOverflow https://stackoverflow.com/questions/22178838

  •  03-06-2023
  •  | 
  •  

Question

I am using Saxon-PE 9.5.1.4 to transform some documents and I am getting the following error printed:

Local variable $x has not been allocated a stack frame slot

Unfortunately I can't easily access the stylesheet which is doing the transformation or a stack trace, just this error.

What I can say, is that this transform worked fine with Saxon-HE 9.4.x

Before I spend hours trying to dig down and create an xsl that reproduces this, I am hoping someone might have seen this before, or perhaps it is a known bug?

Thanks

Était-ce utile?

La solution

The error is a run-time error, but it arises as a symptom of a problem occurring (usually) at compile time during the optimization phase (you can test this by running with -opt:0 to see if this makes the problem go away). The fact that other bugs exhibit the same symptom doesn't mean it's he same bug (like a NullPointerException, it can have many different underlying causes). Generally, because it happens during optimization, it's very sensitive to minor changes in the source code, so it's best to send us the original source and let us do the trimming down. If you can't get hold of the source, then sorry, there's little we can do to help.

Sorry, this isn't really an answer according to SO rules, but it's too long to go in a comment.

The preferred way to report Saxon problems is at saxonica.plan.io. Then we can track them to a resolution.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top