viking crashes when I want to download the maps around a track

Bug #445374 reported by Paul Gevers
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
viking (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: viking

When I start viking, download the data from the GPS (via File -> Aquire from GPS), add a Map layer and go to a track to download the maps around the track, I get the following output. This is reproducible. I did get a warning about ' New map cannot be displayed in the current drawmode. Select "UTM Mode" from View menu to view it.' But the program should not crash on it.

If needs be, I can provide more infomation.

paul@etna ~ $ viking -V
GPSBabel Version: 1.3.6
Waypoint type: 108
Chosen waypoint length 10

ERROR:terraserver.c:96:terraserver_coord_to_mapcoord: assertion failed: (src->mode == VIK_COORD_UTM)
Aborted

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: viking 0.9.8-0ubuntu1
SourcePackage: viking
Uname: Linux 2.6.28-15-generic i686

Revision history for this message
Paul Gevers (paul-climbing) wrote :
Revision history for this message
Rob Norris (rw-norris) wrote :

Fixed upstream and is in version 0.9.96.

Here is the patch:

-------------------------- src/terraservermapsource.c --------------------------
index 7fb9472..efeb9d0 100644
@@ -187,7 +187,8 @@ _coord_to_mapcoord ( VikMapSource *self, const VikCoord *src, gdouble xmpp, gdou

  TerraserverMapSourcePrivate *priv = TERRASERVER_MAP_SOURCE_PRIVATE(self);
  int type = priv->type;
+ if ( src->mode == VIK_COORD_UTM )
+ return FALSE;

  if ( xmpp != ympp )
   return FALSE;

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in viking (Ubuntu):
status: New → Confirmed
Rob Norris (rw-norris)
Changed in viking (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.