From: Philippe Gerum <rpm@xenomai.org>
To: rob@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Does Valgrind work with Xenomai?
Date: Wed, 19 Nov 2008 16:00:08 +0100 [thread overview]
Message-ID: <492429F8.2090309@domain.hid> (raw)
In-Reply-To: <42B0FA09DE79461986CBEE046DEF3B87@domain.hid>
Robert McCullough wrote:
> Hi,
>
>
>
> I currently have a C++ application that is using 5 RTDM drivers, 2
> Xenomai real-time user-space threads and several non-real-time Linux
> threads.
>
> This application seems to have a memory leak because after running for
> several hours the OOM-Killer kills this application.
>
> I am looking for a memory leak detection tool to help find the leak.
>
>
>
> Two years ago in the following mail it was mentioned that making
> Valgrind aware of Xenomai syscalls was on the todo list.
>
> http://article.gmane.org/gmane.linux.real-time.xenomai.users/1805
>
>
>
> Has this been done?
>
No news.
> Does Valgrind work with Xenomai?
>
Nope.
> Do you have to use the Xenomai simulator with Valgrind?
>
This won't work in your case. The simulator is rather aimed at virtualizing a
standalone environment for debugging the nucleus and skins that normally run in
kernel space; it is not application-oriented - you would have lots of namespace
conflicts to begin with.
> Or is there a better memory debugger the works with C++, Linux, and Xenomai?
>
Sorry for the lame suggestion, but you may have to resort to old cranky tools
like dmalloc, provided your new/delete operators are still backed by malloc(3).
At least you should be able to identify some leakage.
>
>
> Thanks,
>
> Rob
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
--
Philippe.
next prev parent reply other threads:[~2008-11-19 15:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-19 14:28 [Xenomai-help] Does Valgrind work with Xenomai? Robert McCullough
2008-11-19 15:00 ` Philippe Gerum [this message]
2008-11-20 13:24 ` Gilles Chanteperdrix
2008-11-20 14:02 ` stephane ancelot
2008-11-20 17:05 ` Robert McCullough
2008-11-20 17:12 ` 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=492429F8.2090309@domain.hid \
--to=rpm@xenomai.org \
--cc=rob@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.