Have you tried mapping the old size again? I.e. maybe the new size is beyond some kind of limit?

Alternatively try to open+map using a local QFile instance, to check if some kind of internal state of "file" could be at fault.

Cheers,
_