From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Daniel Schnell <daniel.schnell@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Debugging in Xenomai
Date: Thu, 23 Nov 2006 18:56:34 +0100 [thread overview]
Message-ID: <4565E0D2.5000008@domain.hid> (raw)
In-Reply-To: <DD39B5C3F4963040ADC9768BE7E430CB015D5270@domain.hid>
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
next prev parent reply other threads:[~2006-11-23 17:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-23 15:25 [Xenomai-help] Debugging in Xenomai Daniel Schnell
2006-11-23 15:57 ` Jan Kiszka
2006-11-23 17:23 ` Philippe Gerum
2006-11-23 17:56 ` Gilles Chanteperdrix [this message]
2006-11-24 9:20 ` Peter Soetens
2006-11-24 10:41 ` Jan Kiszka
2006-11-24 11:09 ` Philippe Gerum
2006-11-24 12:10 ` Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4565E0D2.5000008@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=daniel.schnell@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.