From: "Stéphane ANCELOT" <sancelot@free.fr>
To: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: [Xenomai] safely terminate application
Date: Tue, 10 Nov 2015 09:01:06 +0100 [thread overview]
Message-ID: <5641A442.80201@free.fr> (raw)
Hi,
I have got some problems terminating my RT application, I have very
strange behavours.
either locking application, either TERMINATE signal does not seem being
propagated.
I am using a SIGTERM handler to call a cleanup func to delete everything.
I noticed that if I delete nothing , it seems to quit fine (altough
there may be lot of memory leaks,etc...)
Unfortunately, I don't have the problem using a small regression test
... my problem concerns a real life application, with rt_tasks,
rt_pipes, mutex,rtdm driver ...
At initialisation of program I am loading an xmlfile using libxml2 api.
I strongly suspect this library being intrusive, since it modifiess
some signals, is using mutexes....and may have an impact in
the way my application quits.
http://www.xmlsoft.org/threads.html
if some people have any idea on how I could deal with this problem...
Regards,
Steph
next reply other threads:[~2015-11-10 8:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-10 8:01 Stéphane ANCELOT [this message]
2015-11-10 10:21 ` [Xenomai] safely terminate application Gilles Chanteperdrix
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=5641A442.80201@free.fr \
--to=sancelot@free.fr \
--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.