On Wed, May 06, 2015 at 10:21:18AM +0200, Stéphane ANCELOT wrote:
>     size = 824; // size = 824 is failing but changing size to 3200 rocks ...
>     // --------------------------------------------------------------
>     ret = rt_heap_create(&heap2, "config", size, flags);
>     traceobj_assert(&trobj, ret == 0);

The interesting call to rt_heap_inquire would go here.

All the other ones are irrelevant.

Also, have you tried directly creating the heap with the failing
size instead of doing it after creating many useless heaps? Just to
reduce the test case.


>     cout << " heap size : " << info.heapsize << " heap usablemem: " <<
> info.usablemem;

The value you print here do not correspond to the heap you just
created. What is the point of this ?

> 
>     ret = rt_heap_alloc(&heap2, size, TM_INFINITE, &p);
>     traceobj_assert(&trobj, ret == 0);
> 
>     exit(0);
> }
> 
> 

-- 
                                            Gilles.

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

Reply via email to