[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gpsd-dev
Subject:    Re: [Gpsd-dev] raw + watcher memory correuption bug
From:       Martin Schaller <martin-s () users ! sourceforge ! net>
Date:       2009-03-16 22:52:07
Message-ID: 1237243927.11235.32.camel () pcmartin ! koesching ! it-schaller ! de
[Download RAW message or body]

Hi,

On Mo, 2009-03-16 at 16:17 -0400, Eric S. Raymond wrote:
> Bernd Zeimetz dug up old list mail, which somehow I didn't see
> first time around (perhaps I was traveling) describing how to
> reproduce this.
> 
> I will fix it, and I will add a C unit test for libgps.c to the
> test suite to ensire that the fix dous not come unstuck.

Thank you very much.

> It's extremely odd that we never saw this crash with the test clients
> like xgps, which run in raw+watcher mode routinely.

It only appears if there is more than one line in the network buffer.
This happens if the libgps client is busy and isn't capable of calling
gps_poll immediately when data is available.

Best regards,

Martin Schaller

_______________________________________________
Gpsd-dev mailing list
Gpsd-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/gpsd-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic