[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] test failures with shmget
From: |
Eric S. Raymond |
Subject: |
Re: [gpsd-dev] test failures with shmget |
Date: |
Tue, 3 Feb 2015 23:34:55 -0500 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Gary E. Miller <address@hidden>:
> > ------ Shared Memory Segments --------
> > key shmid owner perms bytes nattch
> > status 0x4e545030 0 root 600 96
> > 2 0x4e545031 32769 root 600 96
> > 2 0x4e545032 65538 root 666 96
> > 1 0x4e545033 98307 root 666 96
> > 1 0x47505344 131076 root 666 8248
> > 0 0x4e545034 163845 root 666 96
> > 1 0x4e545035 196614 root 666 96
> > 1 0x4e545036 229383 root 666 96
> > 1 0x4e545037 262152 root 666 96
> > 1
> >
> > Notice NTP4 (0x47505344) has a size of 8248. They should all be 96!
>
> Gack. My mistake. 0x47505344 clearly is GPSD, not NTP4.
That is correct.
> 8248 is sizeof(struct gps_data_t)
>
> So this is an occasional. Things like building with qt=no will change
> the size of gps_data_t. Any shmid laying around from prior to a
> change will be the wrong size.
Yes. Good catch.
> The test code just needs to delete shmid 0x47505344 before and/or after
> it runs the tests.
Adding that now.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
signature.asc
Description: Digital signature
- [gpsd-dev] Fwd: test failures with shmget, (continued)
- Re: [gpsd-dev] test failures with shmget, Eric S. Raymond, 2015/02/03
- Re: [gpsd-dev] test failures with shmget, Gary E. Miller, 2015/02/03
- Re: [gpsd-dev] test failures with shmget, Greg Troxel, 2015/02/03
- Re: [gpsd-dev] test failures with shmget, Gary E. Miller, 2015/02/03
- Re: [gpsd-dev] test failures with shmget, Gary E. Miller, 2015/02/03
- Re: [gpsd-dev] test failures with shmget,
Eric S. Raymond <=
- Re: [gpsd-dev] test failures with shmget, Eric S. Raymond, 2015/02/03
- Re: [gpsd-dev] test failures with shmget, Gary E. Miller, 2015/02/04
- Re: [gpsd-dev] test failures with shmget, Eric S. Raymond, 2015/02/04
- Re: [gpsd-dev] test failures with shmget, Gary E. Miller, 2015/02/04
Re: [gpsd-dev] test failures with shmget, Gary E. Miller, 2015/02/03