Your message dated Sat, 12 Jul 2008 13:38:48 +0200
with message-id <[EMAIL PROTECTED]>
has caused the   report #487873,
regarding gpscorrelate: Fails with non-complete gps tags
to be marked as having been forwarded to the upstream software
author(s) 

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
487873: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487873
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Dear Daniel,
  a couple of Debian users reported a segfault of gpscorrelate with
incomplete gps tags, the original bug report is reported below, while
the full story is available at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487873. Can you please
have a look at it?

Many thanks in advance!
Cheers.

PS I did not explicitly forward the bug just after the submission since
I happen to remember that you subscribed to the bug notifications for
gpscorrelate, don't you?

On Tue, Jun 24, 2008 at 02:36:03PM -0400, Chris Chiappa wrote:
> Package: gpscorrelate
> Version: 1.5.6-1+b1
> Severity: important
> 
> I believe this is probably a libexiv2 bug rather than gpscorrelate, but I'm
> not entirely sure what I'm seeing so I've sent it here first.
> 
> I generally shoot in RAW on a Canon DSLR, and develop the .CR2s using Canon
> DPP.  However, DPP strips most EXIF tags, so I manually copy them over with
> 
> exiftool -tagsfromfile %f.CR2 -all:all *.jpg
> 
> Trying to geotag these files with gpscorrelate fails:
> 
> (gdb) where
> #0  0x00000021 in ?? ()
> #1  0xb7e902e4 in Exiv2::Exifdatum::operator= (this=0x805aafc, [EMAIL 
> PROTECTED])
>     at /usr/include/c++/4.3/backward/auto_ptr.h:247
> #2  0x0804ff6d in ReadExifDate (File=0xbfb00650 "IMG_1404.JPG", 
>     IncludesGPS=0xbfaffd00) at exif-gps.cpp:142
> #3  0x0804b24b in CorrelatePhoto (Filename=0xbfb00650 "IMG_1404.JPG", 
>     Options=0xbfaffdd0) at correlate.c:53
> #4  0x0804a9d9 in main (argc=4, argv=0xbfafff24) at main-command.c:533
> 
> (This is the latest gpscorrelate build against libexiv2-4 which just entered
> unstable, note the versions are not quite correct below).
> 
> It's crashing on this line in exif-gps.cpp:
> 
>      GPSData = ExifRead["Exif.GPSInfo.GPSMapDatum"];
> 
> I'm more of a C than C++ guy, but GPSData currently reads like this:
> 
> (gdb) p GPSData
> $1 = (class Exiv2::Exifdatum &) @0x805aafc: {
>   <Exiv2::Metadatum> = {
>     _vptr.Metadatum = 0xb7f98ca8
>   }, 
>   members of Exiv2::Exifdatum: 
>   key_ = {
>     _M_ptr = 0x805b0f0
>   }, 
>   value_ = {
>     _M_ptr = 0x805b110
>   }
> }
> (gdb) p Value
> $2 = {
>   static npos = 4294967295, 
>   _M_dataplus = {
>     <std::allocator<char>> = {
>       <__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data
>       fields>}, 
>     members of std::basic_string<char, std::char_traits<char>,
>     std::allocator<char> >::_Alloc_hider: 
>     _M_p = 0x805bc74 "2 2 0 0 "
>   }
> 
> I've discovered that the files in question have only a single GPS tag:
> 
> $ exiftool ~/IMG_1404.JPG  | grep -i gps
> GPS Version ID                  : 2.2.0.0
> 
> If I remove the tag:
> 
> $ exiftool -GPSVersionID= ~/IMG_1404.JPG
> 
> then everything works.  Manually adding that tag to a random JPG
> file that was not taken by myself does produce a crash:
> 
> $ exiftool -GPSVersionID="2 2 0 0" example.jpg
>     1 image files updated
> $ exiftool -"DateTimeOriginal"="2008:02:20 10:56:46" example.jpg
>     1 image files updated
> $ exiftool -"CreateDate"="2008:02:20 10:56:46" example.jpg
>     1 image files updated
> $ gpscorrelate -g /tmp/GPSDATA-20080618.gpx example.jpg
> EXIF-GPS Photo matching program.
> Daniel Foote, 2005.
> 
> Reading GPS Data...
> Legend: . = Ok, / = Interpolated, < = Rounded, - = No match, ^ = Too far.
>         w = Write Fail, ? = No exif date, ! = GPS already present.
> 
> Segmentation fault
> 
> -- System Information:
> Debian Release: lenny/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: i386 (i686)
> 
> Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
> Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages gpscorrelate depends on:
> ii  libc6                      2.7-12        GNU C Library: Shared libraries
> ii  libexiv2-2                 0.16-4        EXIF/IPTC metadata manipulation 
> li
> ii  libgcc1                    1:4.3.1-2     GCC support library
> ii  libstdc++6                 4.3.1-2       The GNU Standard C++ Library v3
> ii  libxml2                    2.6.32.dfsg-2 GNOME XML library
> 
> gpscorrelate recommends no packages.
> 
> -- no debconf information




-- 
Stefano Zacchiroli -*- PhD in Computer Science \ PostDoc @ Univ. Paris 7
[EMAIL PROTECTED],pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
I'm still an SGML person,this newfangled /\ All one has to do is hit the
XML stuff is so ... simplistic  -- Manoj \/ right keys at the right time

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to