View Single Post
Old 07-11-2024, 06:53 AM   #31
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,958
Karma: 6361444
Join Date: Nov 2009
Device: many
Hmm, are you sure it is a "crash" because typically a real segfault or abort can not be "caught" by Sigil at all, the program just exits immediately with no chance to save?

Was there a specific error message that is provided?

Windows Qt goes have a bug that goes back a long long way where trying to delete or rename a file, causes problems when MD (or some other anti-virus program) has grabbed control of it and is still trying to "analyze" the file and will not allow you to delete, rename, of change it in any way causing an exception that can be caught by Sigil but results in Sigil saying it has to close.

My guess is this is what you are seeing. We try to workaround this by retrying the delete/rename/change after a random interval but this is not always 100% effective, but works most of the time. Qt has had the bug reported but still have not fixed it. Although there have been some recent changes that should make the issue happen less often.

If this ever happens again, please note the very last step you used, and grab a screen shot of any failure dialog.

Thanks!
KevinH is offline   Reply With Quote