[ gpsdrive ] Infinite loop when starting gpsdrive in mapnik-mode

Jannis Achstetter kripton at kripserver.net
Sun Mar 1 20:38:08 AKST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello list,

I have a strange problem concerning gpsdrive and mapnik. It used to work
for a very long time but since the last update I did, gpsdrive will
enter an infinite loop when started in mapnik mode (CPU goes to 100%,
can only be killed with SIGKILL).
When I edit my gpsdriverc to not use mapnik mode, gpsdrive starts up as
normal displaying a raster-map. I can then use the Map Mode menu to
enable mapnik and it works as expected. So this is probably not a
problem with mapnik (it works using the generate_image.py-script, too).
I'm using gpsdrive version "Version 2.10pre7.svn; $Id: gpsdrive.c 2297
2009-02-10 13:11:38Z rosscoe $". When I start gpsdrive with -D 99 it
will loop enter the loop about here:

"...
read_icon(gauge.png): FOUND     /usr/local/share/gpsdrive/pixmaps/gauge.png
expose_compass()
expose_mini_cb()
calldrawmarker_cb()
expose_gpsfix()
event:ff51 key:Q
Key pressed: ff51
calldrawmarker_cb()
expose_gpsfix()
calldrawmarker_cb()
expose_gpsfix()
drawmacker_cb()
rendering mapnik map ....
expose_cb()
  setting borderlimit to 112
  setting size of mapview to 664x564 px
display_status(Keine Karte für diese Position verfügbar!)
calcxy(_,_,-38767,-28969,1) ---> 50,9.07045
map zoomed!
expose_mini_cb()
draw_grid()
calcxytopos(0,0,_,_,1) ---> 48.1512,11.5588
calcxytopos(0,564,_,_,1) ---> 48.1151,11.5588
calcxytopos(664,0,_,_,1) ---> 48.1512,11.6014
calcxytopos(664,564,_,_,1) ---> 48.1151,11.6014
Draw Grid: (nan,nan) - (nan,nan) Step nan for Ef.Scale 0 Zoom 1
Draw Grid: (nan) Iterations for lat
Draw Grid: (nan) Iterations for lon
Draw Grid: (nan,nan) - (nan,nan) Step nan for Ef.Scale 0 Zoom 1
Draw Grid: (nan) Iterations for lat
Draw Grid: (nan) Iterations for lon
Draw Grid: (nan,nan) - (nan,nan) Step nan for Ef.Scale 0 Zoom 1
Draw Grid: (nan) Iterations for lat
Draw Grid: (nan) Iterations for lon
..."

Anyone got a good idea what this may be?

Jannis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmrcLkACgkQeYlewm37lbidLQCcDqTz2ABcGB090mJZQZzzO4Fe
Q3EAmwe79/k6OerelU1aDgkWUp9XZA08
=Sxvn
-----END PGP SIGNATURE-----


More information about the GPSdrive mailing list