Date: Fri, 26 Jun 2020 16:54:19 +0200 (CEST) From: jeanmicheltaprest@free.fr Message-ID: <2036239901.240189362.1593183259994.JavaMail.root@zimbra14-e2.priv.proxad.net> In-Reply-To: <761356215.240180691.1593183018087.JavaMail.root@zimbra14-e2.priv.proxad.net> Subject: rt_task_create error EINVAL after a while MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Hi All, Hardware and firmware configuration : ARM Cortex A7 32 bit processor in an i.MX 6ULL NXP module with Linux 4.19.82 and Xenomai 3.0.9 ( Cobalt ). Problems with rt_task_create ( & object clusters ) and access to the registry root path : ================================================== The embedded Linux/Xenomai software application starts OK, except when, after a while, rt_task_create is used to create RT Xenomai daughter tasks. Suddenly a call to rt_task_create fails with error EINVAL, after many successfull calls to the same function. Warning debugging messages in the the Xenomai Alchemy and Copperplate libraries give EINVAL error when calling syncobj_lock from syncluster_addobj ( object clusters ) ( called from create_tcb, which is called from rt_task_create ). I also noticed a problem to access to the root registry, i don't know if it is related. The access to /var/run/xenomai/root/anon@724 blocks. The command 'ls /var/run/xenomai/root/anon@724' never returns. The xenomai libraries build was setup with the following command : ./configure --target=arm-linux-gnueabihf --host=arm-linux-gnueabihf --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-dependency-tracking --disable-static --enable-shared --includedir=/usr/include/xenomai/ --with-core=cobalt --enable-smp --enable-registry --enable-assert --enable-async-cancel --enable-pshared Best regards Jean-Michel