[Bug 306782] New: Rotating several times quickly corrupts images

classic Classic list List threaded Threaded
29 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Bug 306782] New: Rotating several times quickly corrupts images

Toby Newman
https://bugs.kde.org/show_bug.cgi?id=306782

            Bug ID: 306782
          Severity: critical
               URL: http://www.asktoby.com/miscimages/digikam.jpg
           Version: 2.6.0
          Priority: NOR
          Assignee: [hidden email]
           Summary: Rotating several times quickly corrupts images
    Classification: Unclassified
                OS: Linux
          Reporter: [hidden email]
          Hardware: openSUSE RPMs
            Status: UNCONFIRMED
         Component: general
           Product: digikam

Rapid rotations via keyboard cause data loss

Reproducible: Always

Steps to Reproduce:
1) Select folder in "My Albums"
2) Multiselect several photos in the album preview window on right hand side
3) Rapidly execute a series of rotate commands via keyboard, e.g.:
Ctrl-Shift-right
Ctrl-Shift-right
Ctrl-Shift-left
Ctrl-Shift-right
Ctrl-Shift-left
4) Images become corrupt.
Actual Results:  
Some jpgs simply will no longer load, others load and are partially grey.

Expected Results:  
It should have waited for each rotation to finish before starting the next.

Possible to select many photos and do this, potentially causing a large loss of
data!

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 306782] Rotating several times quickly corrupts images

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=306782

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |[hidden email]
         Resolution|---                         |WAITINGFORINFO

--- Comment #1 from Gilles Caulier <[hidden email]> ---
It's probably fixed with last stable 2.9.0. Please update and try again.

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 306782] Rotating several times quickly corrupts images

Toby Newman
In reply to this post by Toby Newman
https://bugs.kde.org/show_bug.cgi?id=306782

--- Comment #2 from Toby Newman <[hidden email]> ---
I will wait for 2.9 to make it to the OpenSUSE 12.2 repos.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 306782] Rotating several times quickly corrupts images

Toby Newman
In reply to this post by Toby Newman
https://bugs.kde.org/show_bug.cgi?id=306782

Toby Newman <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.6.0                       |3.0.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 306782] Rotating several times quickly corrupts images

Toby Newman
In reply to this post by Toby Newman
https://bugs.kde.org/show_bug.cgi?id=306782

Toby Newman <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED

--- Comment #3 from Toby Newman <[hidden email]> ---
I'm now running Digikam version 3.0.0-beta3 and this bug is still present.
It's possible to wipe out a whole directory of images with one stray click!

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 306782] Rotating several times quickly corrupts images

Gilles Caulier-4
In reply to this post by Toby Newman
https://bugs.kde.org/show_bug.cgi?id=306782

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|VERIFIED                    |REOPENED
         Resolution|WAITINGFORINFO              |---
     Ever confirmed|0                           |1

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 306782] Rotating several times quickly corrupts images

Gilles Caulier-4
In reply to this post by Toby Newman
https://bugs.kde.org/show_bug.cgi?id=306782

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 306782] Rotating several times quickly corrupts images

Toby Newman
In reply to this post by Toby Newman
https://bugs.kde.org/show_bug.cgi?id=306782

--- Comment #4 from Toby Newman <[hidden email]> ---
I have uploaded a 90sec screencast demonstrating this bug:
http://www.youtube.com/watch?v=dzIYUSv8xbk
It seems very serious to me.
With just a few clicks I am able to corrupt a whole folder of images!

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 306782] Rotating several times quickly corrupts images

Marcel Wiesweg
In reply to this post by Toby Newman
https://bugs.kde.org/show_bug.cgi?id=306782

--- Comment #5 from Marcel Wiesweg <[hidden email]> ---
As you may imagine, we cannot reproduce this bug on our systems.
Can you reproduce this with only one image (+ multiple commands), or a few
(2-5) images?
Are you compiling from source so that you could test a patch?

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 306782] Rotating several times quickly corrupts images

Toby Newman
In reply to this post by Toby Newman
https://bugs.kde.org/show_bug.cgi?id=306782

--- Comment #6 from Toby Newman <[hidden email]> ---
Thank you for looking at this.

I cannot reproduce the error using just one image, but I am able to reproduce
it by selecting just two images.

I am not running from source.

Other information that may be relevant:
My digikam4.db file is on my local hard disk.
My photo library is stored on my NAS, connected via gigabit LAN, and shared via
SAMBA with write permissions.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 306782] Rotating several times quickly corrupts images

ondrej.vorel
In reply to this post by Toby Newman
https://bugs.kde.org/show_bug.cgi?id=306782

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #7 from [hidden email] ---
I can confirm the same behavior in version 2.9.0 (running from gentoo stable
portage).
While rotating few selected thumbnails in "Thumbnails" section, some of them
are corrupted.
Sometimes results in 0 bytes size files, sometimes are the pictures demaged
partialy.  Partialy means that just few rows of pixels are visible, the rest is
just gray area. Corruption rate is about 20%.

Photos are stored on NFS drive, colection is registered as on network share
drive in digikam settings. I have also try to copy them to iSCSI drive (whole
system is running on iSCSI). Sorry, It's a diskless PC, and I don't have any
free physical disk available for testing.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 306782] Rotating several times quickly corrupts images

Marcel Wiesweg
In reply to this post by Toby Newman
https://bugs.kde.org/show_bug.cgi?id=306782

--- Comment #8 from Marcel Wiesweg <[hidden email]> ---
The network aspect is interesting. Toby: Can you reproduce when photos lie on
the local disk?

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 306782] Rotating several times quickly corrupts images

Toby Newman
In reply to this post by Toby Newman
https://bugs.kde.org/show_bug.cgi?id=306782

--- Comment #9 from Toby Newman <[hidden email]> ---
Marcel,
I can reproduce the issue when photos lie on the local disk, so we can rule out
the network aspect.
My local disk is an SSD, for what it's worth.
Toby

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 306782] Rotating several times quickly corrupts images

Gilles Caulier-4
In reply to this post by Toby Newman
https://bugs.kde.org/show_bug.cgi?id=306782

--- Comment #10 from Gilles Caulier <[hidden email]> ---
I use also a SSD drive here (ext4), and i cannot reproduce the problem...

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 306782] Rotating several times quickly corrupts images

Christian L
In reply to this post by Toby Newman
https://bugs.kde.org/show_bug.cgi?id=306782

Christian L <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #11 from Christian L <[hidden email]> ---
I can confirm what has been described above. When rotating multiple images
(more than four or five) at a time (or in a fast sequence), one or two of the
processed images get corrupted. However, this does not happen when rotating one
after another in single steps.

I am running version 2.9.0 (using kde plattform 4.9.2) on opensuse 12.2.

I hope, we can identify the source soon. I am a committed digikam user and can
hardly understand why this severe thing is happening.

Chris

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 306782] Rotating several times quickly corrupts images

Toby Newman
In reply to this post by Toby Newman
https://bugs.kde.org/show_bug.cgi?id=306782

--- Comment #12 from Toby Newman <[hidden email]> ---
I have just rebuilt my system with Fedora, KDE 4.9.5 and digikam 2.9.0 and can
report that this issue remains.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 306782] Rotating several times quickly corrupts images

Toby Newman
In reply to this post by Toby Newman
https://bugs.kde.org/show_bug.cgi?id=306782

--- Comment #13 from Toby Newman <[hidden email]> ---
Tip: It is possible to hide the rotate command to reduce the risk of
accidentally clicking it and corrupting photos:
Settings/Configure Digikam/Album View/Show rotation overlay buttons (untick)

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 306782] Rotating several times quickly corrupts images

Gilles Caulier-4
In reply to this post by Toby Newman
https://bugs.kde.org/show_bug.cgi?id=306782

--- Comment #14 from Gilles Caulier <[hidden email]> ---
Toby,

What's about to use 3.0.0 official release ?

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 306782] Rotating several times quickly corrupts images

Toby Newman
In reply to this post by Toby Newman
https://bugs.kde.org/show_bug.cgi?id=306782

--- Comment #15 from Toby Newman <[hidden email]> ---
Is the below 3.0.0 RPM sufficiently recent to be suitable for testing?
http://rpmfind.net//linux/RPM/fedora/devel/rawhide/i386/d/digikam-3.0.0-1.fc19.i686.html
I'd like to avoid installing from source if possible.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 306782] Rotating several times quickly corrupts images

Gilles Caulier-4
In reply to this post by Toby Newman
https://bugs.kde.org/show_bug.cgi?id=306782

--- Comment #16 from Gilles Caulier <[hidden email]> ---
yes it sound like...

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
12