[Bug 291627] New: nef data loss after geotaging

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

[Bug 291627] New: nef data loss after geotaging

Bugzilla from serge@pdmi.ras.ru
https://bugs.kde.org/show_bug.cgi?id=291627

           Summary: nef data loss after geotaging
           Product: digikam
           Version: 2.5.0
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: Geolocation
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           2.5.0 (using KDE 4.7.3)
OS:                Linux

When geotaging of big portion of NEF images (>100) with writing the metadata
into the images, digikam often crashes. Very approximately I usually have ~ 1
crash corresponding to ~ 50 images. Before with digikam 1.9 this never lead to
data corruption. Now, with digikam 2.5 or digikam 2.4.1 I discover several
corrupted nef files. Perhaps crashes are another bug, lets speak here about nef
structure corruption. My NEFs are from Nikon D90.

Reproducible: Sometimes

Steps to Reproduce:
1) Enable writing the metadata into RAW
2) Geotag the big portion of NEF files (~ 500)
3) If digikam crashes, find the first unchanged file and resume the process of
geotagging
4) When all files are geotagged, run

ALL=`find -iname "*NEF"
for arg in $ALL; do exiftool -htmlDump $arg | grep Error; done

to find the broken files in the current directory.

Actual Results:  
Yesterday I geotagged ~ 500 files and 4 ones were corrupted.

Expected Results:  
This is serious data loss - these NEF are not recoverable anymore: see output
of exiftool -htmlDump

This should be fixed.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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 291627] nef data loss after geotaging

Bugzilla from serge@pdmi.ras.ru
https://bugs.kde.org/show_bug.cgi?id=291627





--- Comment #1 from  <serge pdmi ras ru>  2012-01-16 06:32:16 ---
Created an attachment (id=67876)
 --> (http://bugs.kde.org/attachment.cgi?id=67876)
Structure of a corrupted NEF (otput of exiftool -htmlDump)

The small piece of RAW data is absent.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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 291627] nef data loss after geotaging

Bugzilla from serge@pdmi.ras.ru
In reply to this post by Bugzilla from serge@pdmi.ras.ru
https://bugs.kde.org/show_bug.cgi?id=291627





--- Comment #2 from  <serge pdmi ras ru>  2012-01-16 06:33:45 ---
Put the cursor onto "(SubIFD1:Strip data)" at the bottom to see the error.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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 291627] nef data loss after geotaging

Bugzilla from serge@pdmi.ras.ru
In reply to this post by Bugzilla from serge@pdmi.ras.ru
https://bugs.kde.org/show_bug.cgi?id=291627





--- Comment #3 from  <serge pdmi ras ru>  2012-01-16 06:35:20 ---
If necessary I will provide the broken NEF and the original one.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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 291627] nef data loss after geotaging

Gilles Caulier-4
In reply to this post by Bugzilla from serge@pdmi.ras.ru
https://bugs.kde.org/show_bug.cgi?id=291627


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email],
                   |                            |[hidden email]
          Component|Geolocation                 |Metadata




--- Comment #4 from Gilles Caulier <caulier gilles gmail com>  2012-01-16 08:03:57 ---
yes, we need original and corrupted image to compare.

I CC Andreas Huggel who can analys metadata issue with Exiv2.

I suppose that you have " write metadata to RAW file" option enabled in digiKam
configuration panel. Right ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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 291627] nef data loss after geotaging

Bugzilla from serge@pdmi.ras.ru
In reply to this post by Bugzilla from serge@pdmi.ras.ru
https://bugs.kde.org/show_bug.cgi?id=291627





--- Comment #5 from  <serge pdmi ras ru>  2012-01-16 09:28:17 ---
(In reply to comment #4)
> yes, we need original and corrupted image to compare.

http://www.pdmi.ras.ru/~serge/nef.zip

>
> I CC Andreas Huggel who can analys metadata issue with Exiv2.
>
> I suppose that you have " write metadata to RAW file" option enabled in digiKam
> configuration panel. Right ?

I usually enable this before geotaging and disable just after

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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 291627] nef data loss after geotaging

Gilles Caulier-4
In reply to this post by Bugzilla from serge@pdmi.ras.ru
https://bugs.kde.org/show_bug.cgi?id=291627





--- Comment #6 from Gilles Caulier <caulier gilles gmail com>  2012-01-16 09:32:37 ---
And which Exiv2 version you use exactly ? Got to Help/Components Info dialog
for details.

Note : If you don't enable metadata writing in RAW option, geolocation data are
written only in digiKam database, which ca be enough and suitable as well.

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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 291627] nef data loss after geotaging

Bugzilla from serge@pdmi.ras.ru
In reply to this post by Bugzilla from serge@pdmi.ras.ru
https://bugs.kde.org/show_bug.cgi?id=291627





--- Comment #7 from  <serge pdmi ras ru>  2012-01-16 09:37:35 ---
(In reply to comment #6)
> And which Exiv2 version you use exactly ? Got to Help/Components Info dialog
> for details.
>

0.21

I did not upgraded exiv2 when upgraded gigikam up to 2.4.1 from 1.9

So it seems that this is digikam2 issue

> Note : If you don't enable metadata writing in RAW option, geolocation data are
> written only in digiKam database, which ca be enough and suitable as well.
>
> Gilles Caulier

Yes, I know this, thanks

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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 291627] nef data loss after geotaging

Gilles Caulier-4
In reply to this post by Bugzilla from serge@pdmi.ras.ru
https://bugs.kde.org/show_bug.cgi?id=291627





--- Comment #8 from Gilles Caulier <caulier gilles gmail com>  2012-01-16 09:48:09 ---
No, i don't think it's a digiKam issue. digiKam do not play with metadata
directly. all is delegate to Exiv2.

But do you mean that with 1.9 release geolocation metadata work fine with NEF
but not 2.x ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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 291627] nef data loss after geotaging

Bugzilla from serge@pdmi.ras.ru
In reply to this post by Bugzilla from serge@pdmi.ras.ru
https://bugs.kde.org/show_bug.cgi?id=291627





--- Comment #9 from  <serge pdmi ras ru>  2012-01-16 09:55:40 ---

> But do you mean that with 1.9 release geolocation metadata work fine with NEF
> but not 2.x ?
>

Yes, definitely. I use the same procedure with digikam 1.9 many times during a
have of a year. I just have checked with exiftool that there were no broken
files. The problems began after upgrade up to digikam 2.4.1

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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 291627] nef data loss after geotaging

Gilles Caulier-4
In reply to this post by Bugzilla from serge@pdmi.ras.ru
https://bugs.kde.org/show_bug.cgi?id=291627





--- Comment #10 from Gilles Caulier <caulier gilles gmail com>  2012-01-16 10:01:24 ---
And are you sure that Exiv2 used by digiKam still the same between 1.9 and 2.x
release.

I recommend to take a look into Help/Component Info dialog in 1.9 version, to
be sure. Both Exiv2 release can be installed on your system...

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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 291627] nef data loss after geotaging

Bugzilla from serge@pdmi.ras.ru
In reply to this post by Bugzilla from serge@pdmi.ras.ru
https://bugs.kde.org/show_bug.cgi?id=291627





--- Comment #11 from  <serge pdmi ras ru>  2012-01-16 10:08:41 ---
Yes, I have checked carefully with /var/log/portage and took a look into
Help/Component.

The last upgrade of exiv2 was at 2011-02-04

The digikam 2.4.1 was installed at 2011-12-09 together with libkexiv2-4.6.1
(which was upgraded from 4.5.5)

Now I have digikam 1.5.0 and libkexiv2-4.7.3

Both digikam 2.4.1 and 2.5.0 are seem to be affected. Digikam 1.9 is not
affected.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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 291627] nef data loss after geotaging

Bugzilla from serge@pdmi.ras.ru
In reply to this post by Bugzilla from serge@pdmi.ras.ru
https://bugs.kde.org/show_bug.cgi?id=291627





--- Comment #12 from  <serge pdmi ras ru>  2012-01-16 10:12:11 ---
Sorry this not quite right.

The digikam 2.4.1 was installed at 2011-12-09 together with libkexiv2-4.7.3
(which was upgraded from 4.6.1)

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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 291627] nef data loss after geotaging

Bugzilla from ahuggel@gmx.net
In reply to this post by Bugzilla from serge@pdmi.ras.ru
https://bugs.kde.org/show_bug.cgi?id=291627





--- Comment #13 from Andreas Huggel <ahuggel gmx net>  2012-01-16 10:39:24 ---
Just for the record, we have at least one other issue with crippled NEFs, bug
283681.

-ahu.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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 291627] nef data loss after geotaging

Gilles Caulier-4
In reply to this post by Bugzilla from serge@pdmi.ras.ru
https://bugs.kde.org/show_bug.cgi?id=291627

--- Comment #14 from Gilles Caulier <[hidden email]> ---
Official digiKam 2.6.0 release is out since few days now :

http://www.digikam.org/drupal/node/656

Please, check if this entry still valid, or update report accordingly.

Thanks in advance.

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 291627] nef data loss after geotaging

Bugzilla from serge@pdmi.ras.ru
In reply to this post by Bugzilla from serge@pdmi.ras.ru
https://bugs.kde.org/show_bug.cgi?id=291627

--- Comment #15 from [hidden email] ---
I cannot reproduce this anymore:

digikam 2.7.0
exiv2 0.23
kde 4.9

--
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 291627] nef data loss after geotaging

Gilles Caulier-4
In reply to this post by Bugzilla from serge@pdmi.ras.ru
https://bugs.kde.org/show_bug.cgi?id=291627

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |2.9.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 291627] nef data loss after geotaging

Gilles Caulier-4
In reply to this post by Bugzilla from serge@pdmi.ras.ru
https://bugs.kde.org/show_bug.cgi?id=291627

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--
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