<div dir="ltr">I need help, I have LEA 6T and not decoded RTKLIB.<div><br></div><div style>Regards</div><div style><br></div><div style>Sandra.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 14, 2013 at 5:39 PM, Tomoji TAKASU <span dir="ltr"><<a href="mailto:ttaka@yk.rim.or.jp" target="_blank">ttaka@yk.rim.or.jp</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Par,<br>
<br>
Thanks for pointing out a problem.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I managed to get a version of that code running, but<br>
I had to change one file of rtklib to make that happen.<br>
The change needed was that I commented out the<br>
free_raw on line 300 of rcwraw.c. The free_raw calls<br>
free() on the members of the struct. Then the struct<br>
members are again accessed which causes a<br>
segmentation fault on my platform.<br>
</blockquote>
<br></div>
Or you can also initialize the raw struct in advance<br>
(without modification of RTKLIB).<br>
<br>
raw_t raw;<br>
-><br>
raw_t raw={0};<div class="im"><br>
<br>
regards,<br>
<br>
Tomoji TAKASU<br>
<br>
------------------------------<u></u>--------------------<br>
From: "Degerman Pär" <<a href="mailto:par.degerman@scania.com" target="_blank">par.degerman@scania.com</a>><br></div>
Sent: Thursday, March 14, 2013 4:50 PM<br>
To: "Open Source GPS-related discussion and support" <<a href="mailto:foss-gps@lists.osgeo.org" target="_blank">foss-gps@lists.osgeo.org</a>><br>
Subject: Re: [FOSS-GPS] Decoding UBX data<div class="HOEnZb"><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Tomoji,<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Like the following codes.<br>
...<br>
</blockquote>
<br>
I managed to get a version of that code running, but I had to change one file of rtklib to make that happen. The change needed was that I commented out the free_raw on line 300 of rcwraw.c. The free_raw calls free() on the members of the struct. Then the struct members are again accessed which causes a segmentation fault on my platform.<br>

<br>
I'm using visual studio 2008 32 bit on a 64 bit platform and compiling in debug mode. I'm not sure if I have introduced a memory leak making this change or any other errors, but for my current use case this solution seems to work.<br>

<br>
Best regards<br>
- Pär<br>
<br>
______________________________<u></u>_________________<br>
This message is sent to you from <a href="mailto:FOSS-GPS@lists.osgeo.org" target="_blank">FOSS-GPS@lists.osgeo.org</a> mailing list.<br>
Visit <a href="http://lists.osgeo.org/mailman/listinfo/foss-gps" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/foss-gps</a> to manage your subscription<br>
For more information, check <a href="http://wiki.osgeo.org/wiki/FOSS-GPS" target="_blank">http://wiki.osgeo.org/wiki/<u></u>FOSS-GPS</a> <br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
This message is sent to you from <a href="mailto:FOSS-GPS@lists.osgeo.org" target="_blank">FOSS-GPS@lists.osgeo.org</a> mailing list.<br>
Visit <a href="http://lists.osgeo.org/mailman/listinfo/foss-gps" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/foss-gps</a> to manage your subscription<br>
For more information, check <a href="http://wiki.osgeo.org/wiki/FOSS-GPS" target="_blank">http://wiki.osgeo.org/wiki/<u></u>FOSS-GPS</a><br>
</div></div></blockquote></div><br></div>