Applications aborting--any clue?

I just got Gnu Radio installed on a Fedora 12 image on a Sheeva Plug.

Apps start up with this error:

gr_vmcircbuf_mmap_shm_open: shm_open [/tmp/gnuradio-1343-0]: No such
file or directory
gr_buffer::allocate_buffer: failed to allocate buffer of size 64 KB
terminate called after throwing an instance of ‘std::bad_alloc’
what(): std::bad_alloc
Aborted

But only if they’re a regular user, if I run the same app as root,
everything is fine.

Clues?

I’ve set kernel.shmmax and kernel.shmmin in /etc/sysctl.conf, and
rebooted. That makes no difference.


Marcus L.
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org

On 04/01/2010 05:18 PM, Marcus D. Leech wrote:

I just got Gnu Radio installed on a Fedora 12 image on a Sheeva Plug.

Apps start up with this error:

Have you tried make check?

Philip

gr_vmcircbuf_mmap_shm_open: shm_open [/tmp/gnuradio-1343-0]: No such
Clues?

I’ve set kernel.shmmax and kernel.shmmin in /etc/sysctl.conf, and
rebooted. That makes no difference.

Make check failing the same way.

But I found the problem. /dev/shm had the wrong permissions on it.

The filesystem image I picked up for this Fedora distribution is
wonky. For example, ‘ping’ wasn’t
setuid root, so it wasn’t working, etc. Weird stuff.


Marcus L.
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs