Re: [Xenomai] heap corruption with multiple, differently-sized calls to rt_queue_alloc()

2017-03-05 Thread Philippe Gerum
On 03/05/2017 12:43 PM, Philippe Gerum wrote: > On 03/04/2017 03:30 AM, Josh Bowman wrote: >> Hi, >> >> I'm having a problem when trying to allocate multiple blocks using >> rt_queue_alloc(). When my client code is building a message to send to >> queue, it sometimes finds that it needs a bigger

Re: [Xenomai] heap corruption with multiple, differently-sized calls to rt_queue_alloc()

2017-03-05 Thread Philippe Gerum
On 03/04/2017 03:30 AM, Josh Bowman wrote: > Hi, > > I'm having a problem when trying to allocate multiple blocks using > rt_queue_alloc(). When my client code is building a message to send to > queue, it sometimes finds that it needs a bigger block. So it creates a new > block via

[Xenomai] heap corruption with multiple, differently-sized calls to rt_queue_alloc()

2017-03-03 Thread Josh Bowman
Hi, I'm having a problem when trying to allocate multiple blocks using rt_queue_alloc(). When my client code is building a message to send to queue, it sometimes finds that it needs a bigger block. So it creates a new block via rt_queue_alloc(); copies the data from the previous block into the