Bug 181952 - corrupted kra file generated by krita2
Summary: corrupted kra file generated by krita2
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR critical
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-26 04:14 UTC by Elián Hanisch
Modified: 2009-02-09 13:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
possible corrupted kra (380.01 KB, application/octet-stream)
2009-01-26 04:16 UTC, Elián Hanisch
Details
screentshot (128.77 KB, image/jpeg)
2009-01-26 04:17 UTC, Elián Hanisch
Details

Note You need to log in before you can comment on or make changes to this bug.
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.