Bug 391261 - Runtime crash when opening some files from older Krita versions
Summary: Runtime crash when opening some files from older Krita versions
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 4.0.0-beta.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-01 17:30 UTC by kalia24
Modified: 2018-03-01 21:41 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kalia24 2018-03-01 17:30:25 UTC
It doesn't apply to all the files, but to many (most?) that I have - so probably applies to files created before or around 3.0 version. One of them:
https://www.dropbox.com/s/6hzzuzj7ic1c168/Szkocja2017-3.kra?dl=0
(sorry, couldn't attach it as it is >4MB).
Can't tell much more - any time I try to open any of "them" I get runtime VC++ error and Krita crashes.
Comment 1 wolthera 2018-03-01 17:40:32 UTC
Aw, it is just opening fine here.

Now, there could be two causes to this, either...

1. It is a windows only crash. In that case someone else with a windws machine needs to check out what is happening. Or...
2. We have already fixed the bug, which might be because dmitry did fix a handful of crash bugs. To check if this is the case, you can try to get a nightly from here: https://binary-factory.kde.org/job/Krita_Nightly_Windows_Build/ and then test with that.
Comment 2 Halla Rempt 2018-03-01 18:06:23 UTC
I'll check on windows.
Comment 3 Halla Rempt 2018-03-01 18:37:34 UTC
Nightlies are down. I created a new build:

https://www.dropbox.com/s/vetc2tjmpgif3jy/krita-4.0-beta3.zip?dl=0

because of that. I can open your test file with it. However, NOTE: this file contains lots of text fields. Krita 3 and Krita 4 are not really compatible when it comes to text because of the conversion from ODT to SVG. If you want to continue working on your Krita 3 files in Krita 4 and they contain text, do keep a backup and do consider converting your vector layers to paint layers.

Please check whether with this version of Krita you still get a crash; if not, we can close this bug.
Comment 4 kalia24 2018-03-01 21:38:20 UTC
The beta3 build opened the files without any problem, thanks :)

The issue was not in text fields, since I had that problem with other files that had no text in them (I only chose this one, since it was the smallest I found around that failed to open). I remember the warnings though and I'm making backups of every file I convert to Krita4, thanks :)
Comment 5 Halla Rempt 2018-03-01 21:41:16 UTC
Oh, good to hear that the crash is gone :-)