Package: libexiv2-14 Version: 0.25-2.1 Severity: normal Dear Maintainer, I have a problem to geotag my jpeg photos. This task I did with the Viking[1] already some time ago. Viking aborts now. Also gpscorrelate[2] aborts with the same error:
(gdb) run Starting program: /usr/bin/gpscorrelate -v -g 20160201.gpx 2016.02.01-14.20.40.jpg EXIF-GPS Photo matching program. Daniel Foote, 2005. Reading GPS Data... Correlate: gpscorrelate: tiffcomposite.cpp:749: virtual Exiv2::Internal::TiffComponent* Exiv2::Internal::TiffMnEntry::doAddPath(uint16_t, Exiv2::Internal::TiffPath&, Exiv2::Internal::TiffComponent*, Exiv2::Internal::TiffComponent::AutoPtr): Assertion `mn_' failed. Program received signal SIGABRT, Aborted. 0x00007ffff697b507 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55 55 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. There is a back-trace: #0 0x00007ffff697b507 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55 #1 0x00007ffff697c8da in __GI_abort () at abort.c:89 #2 0x00007ffff697459d in __assert_fail_base (fmt=0x7ffff6ab16b8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7ffff7784604 "mn_", file=file@entry=0x7ffff7784512 "tiffcomposite.cpp", line=line@entry=749, function=function@entry=0x7ffff7784f00 <Exiv2::Internal::TiffMnEntry::doAddPath(unsigned short, std::stack<Exiv2::Internal::TiffPathItem, std::deque<Exiv2::Internal::TiffPathItem, std::allocator<Exiv2::Internal::TiffPathItem> > >&, Exiv2::Internal::TiffComponent*, std::auto_ptr<Exiv2::Internal::TiffComponent>)::__PRETTY_FUNCTION__> "virtual Exiv2::Internal::TiffComponent* Exiv2::Internal::TiffMnEntry::doAddPath(uint16_t, Exiv2::Internal::TiffPath&, Exiv2::Internal::TiffComponent*, Exiv2::Internal::TiffComponent::AutoPtr)") at assert.c:92 #3 0x00007ffff6974652 in __GI___assert_fail (assertion=assertion@entry=0x7ffff7784604 "mn_", file=file@entry=0x7ffff7784512 "tiffcomposite.cpp", line=line@entry=749, function=function@entry=0x7ffff7784f00 <Exiv2::Internal::TiffMnEntry::doAddPath(unsigned short, std::stack<Exiv2::Internal::TiffPathItem, std::deque<Exiv2::Internal::TiffPathItem, std::allocator<Exiv2::Internal::TiffPathItem> > >&, Exiv2::Internal::TiffComponent*, std::auto_ptr<Exiv2::Internal::TiffComponent>)::__PRETTY_FUNCTION__> "virtual Exiv2::Internal::TiffComponent* Exiv2::Internal::TiffMnEntry::doAddPath(uint16_t, Exiv2::Internal::TiffPath&, Exiv2::Internal::TiffComponent*, Exiv2::Internal::TiffComponent::AutoPtr)") at assert.c:101 #4 0x00007ffff76c2a6e in Exiv2::Internal::TiffMnEntry::doAddPath (this=0x5555557eead0, tag=<optimized out>, tiffPath=std::stack wrapping: std::deque with 2 elements = {...}, pRoot=<optimized out>, object=...) at tiffcomposite.cpp:749 #5 0x00007ffff76bd1c2 in Exiv2::Internal::TiffComponent::addPath (this=<optimized out>, tag=tag@entry=2, tiffPath=std::stack wrapping: std::deque with 2 elements = {...}, pRoot=pRoot@entry=0x5555557da7e0, object=...) at tiffcomposite.cpp:634 #6 0x00007ffff76bdc57 in Exiv2::Internal::TiffDirectory::doAddPath (this=0x5555557ed940, tag=<optimized out>, tiffPath=std::stack wrapping: std::deque with 2 elements = {...}, pRoot=0x5555557da7e0, object=...) at tiffcomposite.cpp:694 #7 0x00007ffff76bd1c2 in Exiv2::Internal::TiffComponent::addPath (this=<optimized out>, tag=tag@entry=2, tiffPath=std::stack wrapping: std::deque with 2 elements = {...}, pRoot=pRoot@entry=0x5555557da7e0, object=...) at tiffcomposite.cpp:634 #8 0x00007ffff76c270b in Exiv2::Internal::TiffSubIfd::doAddPath (this=0x5555557edd10, tag=<optimized out>, tiffPath=std::stack wrapping: std::deque with 2 elements = {...}, pRoot=0x5555557da7e0, object=...) at tiffcomposite.cpp:729 #9 0x00007ffff76bd1c2 in Exiv2::Internal::TiffComponent::addPath (this=<optimized out>, tag=tag@entry=2, tiffPath=std::stack wrapping: std::deque with 2 elements = {...}, pRoot=pRoot@entry=0x5555557da7e0, object=...) at tiffcomposite.cpp:634 #10 0x00007ffff76bdc57 in Exiv2::Internal::TiffDirectory::doAddPath (this=0x5555557da7e0, tag=<optimized out>, tiffPath=std::stack wrapping: std::deque with 2 elements = {...}, pRoot=0x5555557da7e0, object=...) at tiffcomposite.cpp:694 #11 0x00007ffff76bd1c2 in Exiv2::Internal::TiffComponent::addPath (this=this@entry=0x5555557da7e0, tag=<optimized out>, tiffPath=std::stack wrapping: std::deque with 2 elements = {...}, pRoot=pRoot@entry=0x5555557da7e0, object=...) at tiffcomposite.cpp:634 #12 0x00007ffff76daeec in Exiv2::Internal::TiffEncoder::add (this=this@entry=0x7fffffffc940, pRootDir=pRootDir@entry=0x5555557da7e0, pSourceDir=pSourceDir@entry=0x5555557bfbb0, root=root@entry=131072) at tiffvisitor.cpp:1094 #13 0x00007ffff76c908d in Exiv2::Internal::TiffParserWorker::encode (io=..., pData=pData@entry=0x55555577e7a0 "MM", size=size@entry=19260, exifData=..., iptcData=..., xmpData=..., root=131072, findEncoderFct=0x7ffff76c5ab0 <Exiv2::Internal::TiffMapping::findEncoder(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, Exiv2::Internal::IfdId)>, pHeader=0x5555557bf9c0, pOffsetWriter=0x0) at tiffimage.cpp:2164 #14 0x00007ffff765a6f6 in Exiv2::ExifParser::encode (blob=std::vector of length 0, capacity 0, pData=0x55555577e7a0 "MM", size=19260, byteOrder=Exiv2::bigEndian, exifData=...) at exif.cpp:719 #15 0x00007ffff767522f in Exiv2::JpegBase::doWriteMetadata (this=this@entry=0x5555557715e0, outIo=...) at jpgimage.cpp:837 #16 0x00007ffff76765f9 in Exiv2::JpegBase::writeMetadata (this=0x5555557715e0) at jpgimage.cpp:662 #17 0x000055555555a798 in ?? () #18 0x0000555555558182 in ?? () #19 0x0000555555556cb7 in ?? () #20 0x00007ffff6968870 in __libc_start_main (main=0x555555556790, argc=5, argv=0x7fffffffe2a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe298) at libc-start.c:291 #21 0x0000555555557357 in ?? () Hmm, now I also try to set GPS location by example from manual page: $ exiv2 -M"set Exif.GPSInfo.GPSLatitude 4/1 15/1 33/1" -M"set Exif.GPSInfo.GPSLatitudeRef N" 2016.02.01-14.20.40.jpg exiv2: tiffcomposite.cpp:749: virtual Exiv2::Internal::TiffComponent* Exiv2::Internal::TiffMnEntry::doAddPath(uint16_t, Exiv2::Internal::TiffPath&, Exiv2::Internal::TiffComponent*, Exiv2::Internal::TiffComponent::AutoPtr): Assertion `mn_' failed. Aborted The same problem :(. Thanks -- Zito [1] https://tracker.debian.org/pkg/viking [2] https://tracker.debian.org/pkg/gpscorrelate -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libexiv2-14 depends on: ii libc6 2.21-7 ii libexpat1 2.1.0-7 ii libgcc1 1:5.3.1-8 ii libstdc++6 5.3.1-8 ii zlib1g 1:1.2.8.dfsg-2+b1 libexiv2-14 recommends no packages. Versions of packages libexiv2-14 suggests: ii exiv2 0.25-2.1 -- no debconf information