[Xenomai] Fwd: rt,Heap segfault with unittest

Philippe Gerum rpm at xenomai.org
Sat Dec 3 18:16:07 CET 2016


On 12/01/2016 04:21 PM, Benjamin ROUZAUD wrote:

> the process C tries to create or link differents allocation areas but it
> crashes with segfault after many
> creation.
> 

Then you may want to run your test application over GDB, and inspect the
stack backtrace for locating the offending code. You could also build it
for Mercury in debug mode (--enable-debug=full) instead of Cobalt, and
use Valgrind to detect memory errors.

-- 
Philippe.



More information about the Xenomai mailing list