[Barrelfish-users] System V Shared memory

Zeus Gómez Marmolejo zeus.gomez at bsc.es
Thu Feb 16 13:50:14 CET 2012

Hi all,

I have been trying the shmget() shmat() functions present in the
posixcompat library, which are not used by any program in Barrelfish. I've
made two very simple programs shm_client and shm_server which export a
shared memory and waits for the other to write on it. I attach the two

The system seems to work even on different cores, but in this case I always
get an error on chips forcing it to abort:

ERROR: chips.0 in get_service_reference_handler()
get_service_reference_response failed
Failure: (       flounder) Cannot queue message for transmit: queue is full

(I removed the original assert to see the error).

I guess the waitset has to be serviced to process the ACKs and empty the
queue. But, this function is being called on the event handler.

Do you think is there an easy fix to this problem?


Zeus Gómez Marmolejo
Barcelona Supercomputing Center
PhD student
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20120216/3f415b07/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shm_server.c
Type: text/x-csrc
Size: 1394 bytes
Desc: not available
Url : https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20120216/3f415b07/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shm_client.c
Type: text/x-csrc
Size: 1311 bytes
Desc: not available
Url : https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20120216/3f415b07/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Hakefile
Type: application/octet-stream
Size: 350 bytes
Desc: not available
Url : https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20120216/3f415b07/attachment.obj 

More information about the Barrelfish-users mailing list