On 01/15/2016 05:34 PM, Thomas Axelsson wrote:
> Hi,
> 
> We are trying to use Alchemy RT Message Queues between two different 
> processes in Xenomai 3.0.1. However, our receiving process segfaults 
> when it receives a message. Using gdb, we see that the SIGSEGV occurs in 
> rt_queue_receive_timed() when doing  "ret = (ssize_t)msg->size;" 
> (queue.c:851). Can you help us solve the problem?

The alchemy code is wrong, it should use offset-based references in this
case since the message crosses address spaces. I will have a look and
suggest a patch for testing. Thanks for reporting.

-- 
Philippe.

_______________________________________________
Xenomai mailing list
Xenomai@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai

Reply via email to