After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 765963 - assert in exiv2 when writing metadata
assert in exiv2 when writing metadata
Status: RESOLVED NOTGNOME
Product: shotwell
Classification: Other
Component: web-sharing
0.22.x
Other Linux
: Normal normal
: ---
Assigned To: Shotwell Maintainers
Shotwell Maintainers
: 766512 770058 770215 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2016-05-04 08:19 UTC by Albrecht Kleinfeld
Modified: 2016-08-22 12:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gdb backtrace as you wanted (32.10 KB, text/plain)
2016-05-07 07:29 UTC, Albrecht Kleinfeld
Details
bug norbert - gdb log (6.80 KB, text/plain)
2016-05-15 10:22 UTC, Norbert Preining
Details
bug norbert - shotwell debug output (9.18 KB, text/x-log)
2016-05-15 10:23 UTC, Norbert Preining
Details
bug norbert - problematic image (760.08 KB, image/jpeg)
2016-05-15 10:23 UTC, Norbert Preining
Details

Description Albrecht Kleinfeld 2016-05-04 08:19:14 UTC
my System: Ubuntu 16.04
my program: shotwell 0.22.0

Everytime I try to upload fotos including metadatas like location, camera and other stuff shotwell immediatly crashes to desktop.
When uploading of metadatas is disabled all things run without problems.

Installing the newer version of shotwell (0.23) fails because there is no compatible libgphoto on my system found although it is installed.
Comment 1 Jens Georg 2016-05-04 10:14:47 UTC
0.23 for 16.04 is available at https://launchpad.net/~yg-jensge/+archive/ubuntu/shotwell/+packages (new "official" ppa)
Comment 2 Jens Georg 2016-05-04 10:16:01 UTC
Can you provide a log and a callstack? https://wiki.gnome.org/Apps/Shotwell/ReportingABug
Comment 3 Albrecht Kleinfeld 2016-05-07 07:29:33 UTC
Created attachment 327423 [details]
gdb backtrace as you wanted
Comment 4 Jens Georg 2016-05-07 12:04:56 UTC
Comment on attachment 327423 [details]
gdb backtrace as you wanted

This asserts in exiv2 - can you share the original foto?
Comment 5 Jens Georg 2016-05-07 12:16:45 UTC
Comment on attachment 327423 [details]
gdb backtrace as you wanted

Can you also provide a backtrace with libexiv2-dbg and libgexiv2-2-dbg installed? Thanks
Comment 6 Jens Georg 2016-05-14 18:44:24 UTC
Not limited to picasa upload: https://mail.gnome.org/archives/shotwell-list/2016-May/msg00006.html
Comment 7 Norbert Preining 2016-05-15 10:22:08 UTC
Here the requested information: shotwell.log while running under SHOTWELL_DEBUG=1, the gdb bt with debug symbols installed, and the image that is mentioned in the gdb log for a problem.
Comment 8 Norbert Preining 2016-05-15 10:22:39 UTC
Created attachment 327928 [details]
bug norbert - gdb log
Comment 9 Norbert Preining 2016-05-15 10:23:01 UTC
Created attachment 327929 [details]
bug norbert - shotwell debug output
Comment 10 Norbert Preining 2016-05-15 10:23:29 UTC
Created attachment 327930 [details]
bug norbert - problematic image
Comment 11 Norbert Preining 2016-05-15 11:44:49 UTC
One more comment - I now got shotwell to work through my 50k picture library, and it stumbled in *all* instances over photos named "CIMG....JPG" (Casio).

I also tested some of the affected images with the exiv2 pr command, without any problems.
Comment 12 Alan Pater 2016-05-15 11:53:37 UTC
Sounds like http://dev.exiv2.org/issues/1106
Comment 13 Norbert Preining 2016-05-15 12:17:11 UTC
Rebuilding exiv2 in Debian with the 3889 and 3890 svn changes and rechecking ...
Comment 14 Norbert Preining 2016-05-15 12:30:22 UTC
Looks much better. I will prepare a NMU for Debian with the patch for Casio included.
Comment 15 Jens Georg 2016-05-15 13:06:40 UTC
yep, same here. Thanks Alan!
Comment 16 Jens Georg 2016-05-15 13:07:25 UTC
I will add the fixes to the PPA as well
Comment 17 Jens Georg 2016-05-16 13:52:19 UTC
*** Bug 766512 has been marked as a duplicate of this bug. ***
Comment 18 Norbert Preining 2016-05-19 00:50:31 UTC
Debian is updated
Comment 19 Jens Georg 2016-08-18 07:32:24 UTC
*** Bug 770058 has been marked as a duplicate of this bug. ***
Comment 20 Jens Georg 2016-08-22 12:20:45 UTC
*** Bug 770215 has been marked as a duplicate of this bug. ***