If a leaf call decides to call back into Dart, the GC might run, which leads to errors on (or immediately after) the return sequence of the leaf call.
we should probably consider putting verification in place (under a flag enabled in profile builds?) to make catching this sort of issues easier.
Originally posted by @mraleph in #162064