[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] test failures with shmget
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-dev] test failures with shmget |
Date: |
Tue, 3 Feb 2015 14:17:19 -0800 |
Yo All!
On Tue, 3 Feb 2015 13:28:22 -0800
"Gary E. Miller" <address@hidden> wrote:
> ------ 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.
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.
The test code just needs to delete shmid 0x47505344 before and/or after
it runs the tests.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
address@hidden Tel:+1(541)382-8588
pgpBoj7l1LRDP.pgp
Description: OpenPGP digital signature
- [gpsd-dev] test failures with shmget, Greg Troxel, 2015/02/03
- Message not available
- 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 <=
- Re: [gpsd-dev] test failures with shmget, Eric S. Raymond, 2015/02/03
- 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