I cant replicate, steps I tried:
Code:
calibre-debug -c "from calibre.utils.lock import windows_open as open; f = open('file.epub'); f.seek(1); input()"
this locks file.epub until you press enter
then tried refreshing file.epub in the viewer, it pops up an error about the file being locked, as expected.
I dont know is sigil uses atomic file writing, but if not it might be that the eub was in an inconsistent state, causing issues.