Bug 352955 - digikam crashes when I start the geolocation
Summary: digikam crashes when I start the geolocation
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Runtime (show other bugs)
Version: 4.13.0
Platform: Arch Linux Linux
: NOR grave
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-20 20:17 UTC by Albrecht Will
Modified: 2017-08-18 19:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.1.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albrecht Will 2015-09-20 20:17:10 UTC
For 3 images I entered coordinates (N, E, no H). The output for this is ok.
I just want to enter next datas, If I start the plugin, digikam crashes.

Reproducible: Always


Actual Results:  
I cannot go back to the conditions befor I entered the GPS-datas
Comment 1 caulier.gilles 2015-09-20 20:53:33 UTC
We need a GDB backtrace to hack :

https://www.digikam.org/contrib
Comment 2 Albrecht Will 2015-09-21 08:46:32 UTC
Am Sonntag, 20. September 2015, 20:53:33 schrieben Sie:
> https://bugs.kde.org/show_bug.cgi?id=352955
> 
> Gilles Caulier <caulier.gilles@gmail.com> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
> Status|UNCONFIRMED                 |RESOLVED
>          Resolution|---                         |BACKTRACE
>                  CC|                            |caulier.gilles@gmail.com
> 
> --- Comment #1 from Gilles Caulier <caulier.gilles@gmail.com> ---
> We need a GDB backtrace to hack :
> 
> https://www.digikam.org/contrib

Hi,

I think I found the problem.

To shorten the procedure, entering coordinates over the plugin, I inserted 
into an images xml-file the following text after "exif:Sharpness="0":

   exif:GPSVersionID="2.0.0.0"
   exif:GPSLatitude="52,35.0322050N"
   exif:GPSLongitude="11,38.3300750E"
   exif:GPSMapDatum="WGS-84"
   tiff:DateTime="2015-03-16T14:51:08"

When I erased this input, digikam works as normal as earlier.

My problem is:

giving 2000 pictures their geolocation. I wanted to make it easier.

Albrecht
Comment 3 caulier.gilles 2015-09-21 08:48:42 UTC
Sound like a problem with Exiv2 lib used by the plugin.

We need a GDB back-trace to investigate

Gilles Caulier
Comment 4 Albrecht Will 2015-09-21 09:39:18 UTC
Am Montag, 21. September 2015, 08:48:42 schrieben Sie:
> https://bugs.kde.org/show_bug.cgi?id=352955
> 
> --- Comment #3 from Gilles Caulier <caulier.gilles@gmail.com> ---
> Sound like a problem with Exiv2 lib used by the plugin.
> 
> We need a GDB back-trace to investigate
> 
> Gilles Caulier

To deliver the back-trace, I tried to produce the same constellation. But 
digikam doesn't crash.
So i cannot give you the back-trace.

But I found a little missunderstanding:

I inserted 

   exif:GPSVersionID="2.0.0.0"
   exif:GPSLatitude="52,35.0322050N"
   exif:GPSLongitude="11,38.3300750E"
   exif:GPSMapDatum="WGS-84"
   tiff:DateTime="2015-03-16T14:51:08"

after that I wanted to store the xml-datas in the image:
"write metadatas into the image"

The result: My new xml-file was overwritten and the inserted were dissappeard.

I expected that the xml-datas were written into the image.

And my aim to enter GPS-datas into an xml-file to show it with "geolocation" 
seems not to work.


Albrecht Will
Comment 5 caulier.gilles 2016-07-07 10:57:00 UTC
The XML data problem is already reported to another file.
About the crash is not reproducible with last 5.0.0
I close this file now.
Gilles Caulier