discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] MacOS 10.7.3 - mmap or shm_open is not available


From: Michael Dickens
Subject: Re: [Discuss-gnuradio] MacOS 10.7.3 - mmap or shm_open is not available
Date: Mon, 9 Apr 2012 08:13:16 -0400

Hmmph.  Well, I bet Apple did something "clever" inside the Darwin kernel that 
messed with shared memory in 10.7.3.  There's probably a work-around too, but I 
have no idea what it might be right now since I'm still using 10.6.8: it's 
stable and works well for what I need right now.  I'll look into this issue at 
the end of this week unless someone else gets there first :) - MLD

On Apr 9, 2012, at 6:08 AM, Steven wrote:

> 
> On 9 Apr 2012, at 01:16, Michael Dickens wrote:
> 
>>> Does anyone have any pointers as to where I should be looking?
>> 
>> 
>> Hi Steven - First, the humor < http://xkcd.com/138/ >.
>> 
> 
> I was waiting for something like that :o)
> 
> 
>> Do "ipcs -a" to see how many shared memory attachments are in place.  You 
>> might see a lot, given that 'shmat' returns 'too many files open'.  Here's 
>> the BASH script I run, very often in my work right now, to try to remove 
>> extraneous ones:
>> 
>> for tf in `ipcs -m | sed -e 1d -e 2d -e 3d | awk '{print $2 }'`; do
>>   ipcrm -m $tf ;
>> done
>> 
> 
> I only seem to have one entry:
> 
> $ ipcs -a
> IPC status from <running system> as of Mon Apr  9 11:03:42 BST 2012
> T     ID     KEY        MODE       OWNER    GROUP  CREATOR   CGROUP CBYTES  
> QNUM QBYTES LSPID LRPID   STIME    RTIME    CTIME
> Message Queues:
> 
> T     ID     KEY        MODE       OWNER    GROUP  CREATOR   CGROUP NATTCH  
> SEGSZ  CPID  LPID   ATIME    DTIME    CTIME
> Shared Memory:
> m 262157 0x00000000 --rw-------   steven    staff   steven    staff      2 
> 393216   2302   2120 19:39:30 20:03:03 19:39:30
> 
> T     ID     KEY        MODE       OWNER    GROUP  CREATOR   CGROUP NSEMS   
> OTIME    CTIME
> Semaphores:
> 
> $ ipcrm -m 262157
> ipcrm: shmid(262157): : Invalid argument
> 
> 
> 
>> If all else fails, reboot and see if that doesn't take care of the issue, at 
>> least for now.  If the issue persists, it might be a new Lion issue from 
>> 10.7.3; I know I've run GNU Radio in 10.7.[0-2].  I'll hopefully have a few 
>> spare cycles later this week to look into GNU Radio on Lion. - MLD
> 
> I've already tried that, doesn't seem to make any difference.  I know of at 
> least one other person on 10.7.3 that is having this exact same issue.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]