Bug 415406 - Krita crashes opening .kra file
Summary: Krita crashes opening .kra file
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: 4.2.8
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-20 17:07 UTC by Josie Peacock
Modified: 2020-02-07 04:33 UTC (History)
4 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 Josie Peacock 2019-12-20 17:07:34 UTC
SUMMARY

Krita crashes when opening .kra file.

Created an animation, saved it and reopened fine. 

Added another layer and more animation. Played fine but causes Krita to crash when trying to reopen after saving. 

files are too big to upload here's the links:
https://drive.google.com/file/d/1UnXnnLNBqsIdBxLrWQAMNm8q6FeTwoX2/view?usp=sharing

https://drive.google.com/file/d/1AaxzljUfzFzsizG-WqWCYfUbNHRrCQpP/view?usp=sharing

Similar to bug #327571?

STEPS TO REPRODUCE
1. Open working file
2. add animation and save
3. try to reopen file

OBSERVED RESULT
Krita crashes without any warning when trying to open file

EXPECTED RESULT
Krita doesn't crash and I can continue work

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

Log Name:      Application
Source:        Application Error
Date:          12/20/2019 11:02:26 AM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      DESKTOP-M2CDUSR
Description:
Faulting application name: krita.exe, version: 0.0.0.0, time stamp: 0x00000000
Faulting module name: libkritaimage.dll, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x00000000001f0674
Faulting process id: 0x1cb4
Faulting application start time: 0x01d5b7573762aeeb
Faulting application path: C:\Program Files\Krita (x64)\bin\krita.exe
Faulting module path: C:\Program Files\Krita (x64)\bin\libkritaimage.dll
Report Id: 748e73dc-f0cb-4d4c-a407-9a09dfa78057
Faulting package full name: 
Faulting package-relative application ID: 
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2019-12-20T17:02:26.415560400Z" />
    <EventRecordID>7746</EventRecordID>
    <Channel>Application</Channel>
    <Computer>DESKTOP-M2CDUSR</Computer>
    <Security />
  </System>
  <EventData>
    <Data>krita.exe</Data>
    <Data>0.0.0.0</Data>
    <Data>00000000</Data>
    <Data>libkritaimage.dll</Data>
    <Data>0.0.0.0</Data>
    <Data>00000000</Data>
    <Data>c0000005</Data>
    <Data>00000000001f0674</Data>
    <Data>1cb4</Data>
    <Data>01d5b7573762aeeb</Data>
    <Data>C:\Program Files\Krita (x64)\bin\krita.exe</Data>
    <Data>C:\Program Files\Krita (x64)\bin\libkritaimage.dll</Data>
    <Data>748e73dc-f0cb-4d4c-a407-9a09dfa78057</Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>
Comment 1 confifu 2019-12-25 04:40:05 UTC
Can you reproduce the crash in 4.3.0 prealpha (master)? Also see if turning off onion-skin on all layers and then saving prevents the crash.
Comment 2 confifu 2019-12-27 12:36:34 UTC
Can you please test whether the crash occurs on Krita Plus version?
Comment 3 Halla Rempt 2019-12-31 10:58:35 UTC
Setting to needsinfo.
Comment 4 Ahab Greybeard 2020-01-08 10:52:10 UTC
For the crashing .kra file provided by Josie and for another crashing animation provided by alyrah, here: https://forum.kde.org/viewtopic.php?f=139&t=163686, I can 'repair' them by opening in 4.2.7.1, turning onion skins off and then saving, after which they open ok in 4.2.8. If I then turn on onion skins in 4.2.8 and save, the resulting .kra file will crash krita 4.2.8.

Another way to 'repair' them is to delete the Annotations folder in the .kra file as mentioned in https://bugs.kde.org/show_bug.cgi?id=414818 by Mikhail (though I realise that this could never be recommended).

Krita Plus and the latest 4.3.0 prealpha do not crash with the original crashing files on Linux and Windows.
Comment 5 Bug Janitor Service 2020-01-23 04:33:13 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2020-02-07 04:33:18 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!