As I said, it is weekend and I've got a little time at my hands to look into this. The problem is indeed with the cacheing. A quick fix is this change to /sys/src/cmd/page/view.c:
136,138c136
< if(im == nil)
< wexits(0);
< if(resizing)
---
> if(im && resizing)
I'm about to submit a patch with that for the powers that be. I haven't
extensively tested the diff, but it is as unobtrusive as I could wish for.
Martin
