Project

Profile

Help

Bad parent pointer message in Saxon-HE-9.8.0-2

Added by Vladimir Nesterovsky almost 7 years ago

Saxon-HE-9.8.0-2 from maven issues a following text on output during compilation:

*** Bad parent pointer found in param at ...my.xslt#7 ***
*** Bad parent pointer found in $e at ...my.xslt#9 ***
*** Bad parent pointer found in $e at ...my.xslt#9 ***

on the following xslt:




  
    

    
  


Not sure whether it's an error of an info but it looks scaring. This does not happen with earlier versions.

P.S. Use any input.


Replies (2)

RE: Bad parent pointer message in Saxon-HE-9.8.0-2 - Added by Michael Kay almost 7 years ago

Thanks for reporting it. I have reproduced it.

The "bad parent pointer found" indicates that something has gone wrong usually while rewriting the expression tree during optimization. It's an early indicator of problems: very often the code recovers from the problem (the tree can be repaired) but sometimes a crash occurs later on as a consequence. So you're right, it's an indicator that there's a problem we need to fix.

RE: Bad parent pointer message in Saxon-HE-9.8.0-2 - Added by Michael Kay almost 7 years ago

Logged as a bug here:

https://saxonica.plan.io/issues/3316

Please track this issue for an explanation and eventual resolution.

    (1-2/2)

    Please register to reply