Bug 181952

Summary: corrupted kra file generated by krita2
Product: [Applications] krita Reporter: Elián Hanisch <lambdae2>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: critical CC: cberger, halla
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: possible corrupted kra
screentshot

Description Elián Hanisch 2009-01-26 04:14:21 UTC
Version:           2.0 beta-5 (using 4.1.2 (KDE 4.1.2), Kubuntu packages)
Compiler:          gcc
OS:                Linux (i686) release 2.6.24-23-generic

I made file while testing krita2, now whenever i open it I can't paint on it anymore, I don't know exactly what i did for get this but when I paint I see the checkered background, this didn't occur with other files I saved.
Comment 1 Elián Hanisch 2009-01-26 04:16:12 UTC
Created attachment 30618 [details]
possible corrupted kra
Comment 2 Elián Hanisch 2009-01-26 04:17:32 UTC
Created attachment 30619 [details]
screentshot

this is what happens when I paint after open it.
Comment 3 Cyrille Berger 2009-01-27 16:13:53 UTC
I found what's wrong with the file.
There is a first tile at offset x=y=-2147483648 (which is -INT_MAX), replacing -2147483648 by 0 allows to load the file. This seems to indicate a memory corruption prior to the saving of the file.
Comment 4 Halla Rempt 2009-02-09 13:08:49 UTC
Most likely (but it's hard to be sure) this was caused by bugs in sumi-e -- those bugs are fixed now by Cyrille.