In reply to Robin Barton.

Can you report this on WP Trac? https://core.trac.wordpress.org/

That sounds like a serious bug, any information you can provide would be super helpful, particularly for reproducing the situation