[Xenomai] Assertion current-magic 0 failed

Philippe Gerum rpm at xenomai.org
Wed Jul 4 16:00:11 CEST 2018


On 07/04/2018 03:26 PM, Stéphane Reichert wrote:
> Hi Philippe,
> 
> Unfortunately, we did not disable auto-init.
> 
> Maybe the fact that rt_heap_bind is called from a shared library could be 
> the problem ?

Does that code run over a constructor routine (i.e. tagged with
__attribute__((constructor))?

> 
> I joined the 2 executables we are using. In order to reproduce the problem, 
> you have to run these commands:
> ./start_lib_ipc --session=rct &
> ./tests_integration_lib_ipc --session=rct CH1 &
> 
> The shared library lib_ipc.so contains the call to rt_heap_bind.
> 

Ok, I'll have a look. Thanks.

-- 
Philippe.



More information about the Xenomai mailing list