Bug 331646 - Files are damaged and lost when rotating on full disk
Summary: Files are damaged and lost when rotating on full disk
Status: RESOLVED FIXED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 4.11.3
Platform: Kubuntu Linux
: NOR critical
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-01 13:55 UTC by czsergey
Modified: 2019-04-02 22:02 UTC (History)
3 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 czsergey 2014-03-01 13:55:25 UTC
When I do a rotation of image during walking through the images, I was surprised that they was damaged. I assumed that it may be caused by full disk (because other program tells me that it's full).

Reproducible: Always

Steps to Reproduce:
1. run gwenview (I use $ gwenview ./ )
2. fill your disk to be full (or almost full - e.g. 1k left)
2. browse images in gwenview
3. rotate some big image   (eg. 3MB jpeg)
4. save
Actual Results:  
The newly created image is corrupted, if you're lucky there is half of the image. Original is lost.

Expected Results:  
The image won't rotate and some message according to full disk appear. At least the original image is not damaged.

I think it's not Critical severity, but the description said "The software causes you to lose data." .. and I lose them :( .
Comment 1 Andrew Crouthamel 2018-11-12 02:48:38 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Andrew Crouthamel 2018-11-21 04:48:11 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Skála 2019-04-02 22:02:29 UTC
I confirm this bug is not in actual version. When rotating and saving on full disk you will get error message "Unknown error" and in error output in console is written "libpng error: Write Error" but original image is left intact. 

I think we can close this bug as RESOLVED.


SOFTWARE/OS VERSIONS
Gwenview: 18.12.2
Linux/KDE Plasma: Fedora 29
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.55.0
Qt Version: 5.11.3

Advice when testing this bug
Better then filling your disk is making some small file. Then format it to some filesystem, mount this file it to some folder, add image to this folder and than  fill this image using dd if=/dev/zero of=fill.txt