It seems that this problem isn't just confined to libreoffice. I've also had it happen with abiword and gimp now, with no particular special documents/images.