Hello!

This is the released 1.2.5 (as a debian package):

Downloading from garmin does not cause the high CPU load I was
experiencing before but still results in bad data:

<bounds minlat="-286276469720.843139648" minlon ="9999.000000000" 
maxlat="46404771532.667770386" maxlon="634281368307.067993164" />
<wpt lat="46184670052.667800903" lon="634281368133.769653320">
  <ele>9999999562023526247432192.000000</ele>
  <cmt>c^P</cmt>
  <desc>c^P</desc>
  <sym>Waypoint</sym>
</wpt>

Everything succeeds:

(gdb) run
Starting program: /home/rj/work/debian/jgoerzen/gpsbabel-1.2.5/gpsbabel -r -i 
garmin -f /dev/ttyS0 -o gpx -F r.gpx

Program exited normally.

(gdb) run
Starting program: /home/rj/work/debian/jgoerzen/gpsbabel-1.2.5/gpsbabel -w -i 
garmin -f /dev/ttyS0 -o gpx -F w.gpx

Program exited normally.

This is a fairly large tracklog (~8000 points) but it works on an i386:

(gdb) set args -t -i garmin -f /dev/ttyS0 -o gpx -F t.gpx
(gdb) run
Starting program: /home/rj/work/debian/jgoerzen/gpsbabel-1.2.5/gpsbabel -t -i 
garmin -f /dev/ttyS0 -o gpx -F t.gpx

Program received signal SIGINT, Interrupt.
0x00002aaaab03f475 in select () from /lib/libc.so.6
(gdb) bt
#0  0x00002aaaab03f475 in select () from /lib/libc.so.6
#1  0x0000000000419437 in GPS_Serial_Chars_Ready (fd=10)
    at jeeps/gpsserial.c:486
#2  0x00000000004188f1 in GPS_Packet_Read (fd=9, packet=0x7fffff9b8ed0)
    at jeeps/gpsread.c:95
#3  0x00000000004105d9 in GPS_A301_Get (port=0x7fffff9b97e2 "/dev/ttyS0",
    trk=0x7fffff9b8f28) at jeeps/gpsapp.c:3342
#4  0x0000000000414223 in GPS_Command_Get_Track (
    port=0xa <Address 0xa out of bounds>, trk=0x7fffff9b8dd0)
    at jeeps/gpscom.c:224
#5  0x0000000000429c7c in track_read () at garmin.c:247
#6  0x0000000000429f8c in data_read () at garmin.c:359
#7  0x0000000000402d03 in main (argc=10, argv=0x7fffff9b90e8) at main.c:170
(gdb) cont
Continuing.

[Letting it run for 4 minutes]

Program exited normally.
(gdb)

This results in single-point-tracks:

<trk>
  <name>ACTIVE LOG #7911</name>
<number>7910</number>
<trkseg>
<trkpt lat="36736266287.378410" lon="410576299240.414917">
  <ele>0.000000</ele>
<time>965686835-12-30T13:53:21Z</time>
</trkpt>
</trkseg>
</trk>



        Robert.

-- 
10.0 times 0.1 is hardly ever 1.0.

Attachment: signature.asc
Description: Digital signature

Reply via email to