Assertion Error after updating from 6.4.4 to 6.6.1

Closing the loop on this. We did finally nail down a reproducer and a fix is being worked on.