Bug 507047 - When saving a document, krita will crash and all progress is lost with no identifiable cause.
Summary: When saving a document, krita will crash and all progress is lost with no ide...
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (other bugs)
Version First Reported In: 5.2.9
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-14 20:41 UTC by Freja
Modified: 2025-08-24 03:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Crash log from kritacrash.log (206.45 KB, application/rtf)
2025-07-14 20:41 UTC, Freja
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Freja 2025-07-14 20:41:43 UTC
Created attachment 183238 [details]
Crash log from kritacrash.log

SUMMARY
Krita will randomly completely crash with no warning and close the program when trying to save. It is unclear what triggers this. It has happened to a few different projects. 
This also happens when it's on the autosave feature and will unceremoniously crash.

STEPS TO REPRODUCE
1. Draw something using any tools from paint brush, paint fill or pasting in layers.
2. Save project

OBSERVED RESULT
It crashes. Not every time, but randomly.

EXPECTED RESULT
It to save the work and not crash

SOFTWARE/OS VERSIONS
Windows: 10

ADDITIONAL INFORMATION:
I apologize that I don't have anything more concrete on steps to reproduce. I really don't understand what is wrong or why it crashes. 
This issue has also persisted for me in different versions of Krita so updating the software has not fixed the issue.
Comment 1 Halla Rempt 2025-07-15 06:42:25 UTC
Do you have any 3rd party python plugins installed? The crash happens inside the python interterpreter.
Comment 2 Freja 2025-07-15 22:33:51 UTC
(In reply to Halla Rempt from comment #1)
> Do you have any 3rd party python plugins installed? The crash happens inside
> the python interterpreter.

Does the AI image generation plug in count? I thought that was through Krita.
Comment 3 Bug Janitor Service 2025-07-16 03:47:31 UTC
๐Ÿ›๐Ÿงน Thanks for your comment!

Automatically switching the status to REPORTED so the team can perform further triage.

In the future you may also do this yourself when providing needed information.
Comment 4 Freja 2025-07-17 13:28:53 UTC
I wasn't sure where to put this, but I just discovered a few minutes ago that I can do "Save As" to save whatever project as the same name and it bypasses the issue as far as I can tell right now when it crashes due to saving. So it seems quick save is part of the issue. I will update if it at all helps in case this work around has issues or isn't fool proof.
Comment 5 Freja 2025-07-17 17:43:46 UTC
(In reply to Freja from comment #4)
> I wasn't sure where to put this, but I just discovered a few minutes ago
> that I can do "Save As" to save whatever project as the same name and it
> bypasses the issue as far as I can tell right now when it crashes due to
> saving. So it seems quick save is part of the issue. I will update if it at
> all helps in case this work around has issues or isn't fool proof.

Update: It often works, but I did have a crash with this method too.
Comment 6 Halla Rempt 2025-08-22 10:27:45 UTC
Sorry for the late reply. I was on vacation. If the plugin you mention is https://download.kde.org/stable/krita/FastSketchPlugin-1.1.0/ then it's something we can look into it, if not, it's not our bug.
Comment 7 Freja 2025-08-23 13:28:44 UTC
(In reply to Halla Rempt from comment #6)
> Sorry for the late reply. I was on vacation. If the plugin you mention is
> https://download.kde.org/stable/krita/FastSketchPlugin-1.1.0/ then it's
> something we can look into it, if not, it's not our bug.

Hi! Hope you had a nice vacation. I don't have that plugin. What I realized that has helped, but I don't know for sure if it's going to stay that way was updating my graphics card drivers. I don't know if Krita is dependent on drivers being up to date or not. But it seemed to help last time I had them updated.
Comment 8 Bug Janitor Service 2025-08-24 03:47:15 UTC
๐Ÿ›๐Ÿงน Thanks for your comment!

Automatically switching the status to REPORTED so the team can perform further triage.

In the future you may also do this yourself when providing needed information.