From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4565E0D2.5000008@domain.hid> Date: Thu, 23 Nov 2006 18:56:34 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 Subject: Re: [Xenomai-help] Debugging in Xenomai References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Daniel Schnell Cc: xenomai@xenomai.org Daniel Schnell wrote: > How do the Xenomai veterans debug their application in case of deadlocks > / synchronization errors, crashes etc. ? You may try to enable Xenomai debug options, it may give you some information of why the program is crashing, for instance if you are destroying the same object twice or such kind of errors. If using the posix skin, one source of deadlocks is the threads cancelation, you should cancel all the threads and then join them all and not cancel then join each thread in turn. -- Gilles Chanteperdrix