[Gpsbabel-code] Re: [Gpsbabel-misc] Waypoints, tracks & routes in one go?
Brought to you by:
robertl
From: Lars L. <la...@us...> - 2004-06-09 21:53:39
|
On Wed, 2004-06-09 at 23:10, Robert Lipe wrote: > > > If your 484 matches my 484, then either rte or wpt is bad. What doe= s > > > a 'p *rte' or 'p *wpt' show us? > >=20 > > (gdb) p *wpt > > $1 =3D { ... lots of variable names with values, looking good ... } > > (gdb) p *rte > > Cannot access memory at address 0x402a1000 >=20 > This code should be sent back to data structures class. Try replacing > the 'rte++' with 'rte =3D *cur_tx_routelist_entry' after the increment of > cur_tx_routelist_entry. With that change the segfault goes away, and instead I get ElectricFence Aborting: Allocating 0 bytes, probably a bug. Illegal instruction (core dumped) with the backtrace #0 0x40099d71 in kill () from /lib/i686/libc.so.6 #1 0x4004afd7 in Page_Size () from /usr/lib/libefence.so.0 Cannot access memory at address 0x401f1000 Linking without libefence, I get no errors and the eTrex says "TRANSFER COMPLETE", even though nothing seems to have been transferred. This is the debug data I get: GPSBabel Version: 1.2.3 =20 Tx Data:10 fe 00 02 10 03 : ... Rx Data:10 06 02 fe 00 fa 10 03 Rx Data:10 ff 25 9c 00 dc 00 65 54 72 65 78 20 45 75 72 6f 20 53 6f 66 74 77 61 72 65 20 56 65 72 73 69 6f 6e 20 32 2e 32 30 00 4e 10 03 Tx Data:10 06 02 ff 00 f9 10 03 : .....eTrex Euro Software Version 2.20 ID: 156 =20 Version: 2.20 =20 =20 Rx Data:10 fd 3c 50 00 00 4c 01 00 41 0a 00 41 64 00 44 6c 00 41 c9 00 44 ca 00 44 6c 00 44 d2 00 41 2d 01 44 36 01 44 2d 01 41 f4 01 44 f5 01 41 58 02 44 58 02 41 bc 02 44 bc 02 41 20 03 44 20 03 db 10 03 Tx Data:10 06 02 fd 00 fb 10 03 : .....Capability 'P'. Type 0 Capability 'L'. Type 1 Capability 'A'. Type 10 Capability 'A'. Type 100 Capability 'D'. Type 108 Capability 'A'. Type 201 Capability 'D'. Type 202 Capability 'D'. Type 108 Capability 'D'. Type 210 Capability 'A'. Type 301 Capability 'D'. Type 310 Capability 'D'. Type 301 Capability 'A'. Type 500 Capability 'D'. Type 501 Capability 'A'. Type 600 Capability 'D'. Type 600 Capability 'A'. Type 700 Capability 'D'. Type 700 Capability 'A'. Type 800 Capability 'D'. Type 800 =20 Tx Data:10 0a 02 32 00 c2 10 03 : 2.... Rx Data:10 06 02 0a 00 ee 10 03 Tx Data:10 0a 02 05 00 ef 10 03 : ..... Rx Data:10 06 02 0a 00 ee 10 03 Rx Data:10 0e 08 06 09 d4 07 15 00 32 29 90 10 03 Tx Data:10 06 02 0e 00 ea 10 03 : ..... Tx Data:10 0a 02 02 00 f2 10 03 : ..... Rx Data:10 06 02 0a 00 ee 10 03 Rx Data:10 11 10 10 6f 54 3b 41 10 10 94 f0 3f e0 2e b5 97 be 2e d4 3f 74 10 03 Tx Data:10 06 02 11 00 e7 10 03 : ..... Tx Data:10 1b 02 00 00 e3 10 03 : ..... Rx Data:10 06 02 1b 00 dd 10 03 Tx Data:10 0c 02 07 00 eb 10 03 : ..... Rx Data:10 06 02 0c 00 ec 10 03 [ll@gnorf gpsbabel-1.2.3-wrt]$ It exits without an error message, but also without writing a linebreak for the last line, which is a bit worrying. And still nothing has been transferred. --ll |