Are you by any chance leaving Dropbox running? Very important -- do not EVER allow a sync program (whether cloud storage or local directory mirroring) to access your calibre library while calibre is running.
They will be fighting it out over who gets to access the files.

And then Bad Things happen, like corruption and duplication.