From: Philippe Gerum <rpm@xenomai.org>
To: Charles Kiorpes <ckiorpes@gmail.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Segfaults and ENOMEM during rt_event_create()
Date: Thu, 13 Aug 2015 13:14:55 +0200 [thread overview]
Message-ID: <55CC7C2F.5040805@xenomai.org> (raw)
In-Reply-To: <CAHoW4hFio_SG9knzKD5AG_3UOiNCf5KhrioZOAHOd0jVGVOrMA@mail.gmail.com>
On 08/10/2015 05:17 PM, Charles Kiorpes wrote:
>> Is this case (trying to create an event flag with a conflicting name)
>> part of the original scenario with Cobalt?
>
> This rt_event_create() with existing name occurs a little earlier in
> my application's startup phase than where the segfault occurs using
> Cobalt. However, applying the rt_event_bind() workaround and
> switching back to Cobalt does not change the segfault behavior (it
> still occurs at the same place), so I'm not convinced that they're
> related.
>
> When I run the processes through Valgrind using the Mercury core and
> checking event existence with rt_event_bind() before attempting to
> create, Valgrind finds no issues. The application hangs at a
> different location (creation of a periodic task; I'm fairly certain
> that I just need to rework that section of code a little).
>
> However, my application really need the tight timings that Cobalt
> provides, and this has to eventually run on an embedded system, so
> switching to Mercury is not a viable solution.
>
You should retry with the current head of the -next branch with Cobalt.
No guarantee, but several fixes took place in the shared heap
implementation. Since I don't know much about your application, I can
only assume that one of them might help. At the very least, this is a
better starting point than -rc6.
--
Philippe.
next prev parent reply other threads:[~2015-08-13 11:14 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-05 13:09 [Xenomai] Segfaults and ENOMEM during rt_event_create() Charles Kiorpes
2015-08-05 15:42 ` Philippe Gerum
2015-08-05 16:34 ` Charles Kiorpes
2015-08-06 7:42 ` Philippe Gerum
2015-08-05 17:24 ` Gilles Chanteperdrix
2015-08-06 7:40 ` Philippe Gerum
2015-08-06 7:49 ` Gilles Chanteperdrix
2015-08-06 8:00 ` Philippe Gerum
2015-08-06 9:25 ` dietmar.schindler
2015-08-06 15:12 ` Philippe Gerum
[not found] ` <CAHoW4hHS2QS1td6mUiWid-unDrMDZaQMo3vkYsDynNze5YsaSw@mail.gmail.com>
[not found] ` <55C326C5.4070608@xenomai.org>
2015-08-06 15:00 ` Charles Kiorpes
2015-08-06 15:23 ` Philippe Gerum
2015-08-06 15:26 ` Philippe Gerum
2015-08-10 13:52 ` Charles Kiorpes
2015-08-10 15:01 ` Philippe Gerum
2015-08-10 15:17 ` Charles Kiorpes
2015-08-10 15:40 ` Philippe Gerum
2015-08-13 11:14 ` Philippe Gerum [this message]
2015-08-13 11:39 ` Charles Kiorpes
2015-08-13 16:21 ` Philippe Gerum
2015-08-10 15:50 ` Philippe Gerum
2015-08-11 15:17 ` Philippe Gerum
2015-08-11 15:14 ` Philippe Gerum
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=55CC7C2F.5040805@xenomai.org \
--to=rpm@xenomai.org \
--cc=ckiorpes@gmail.com \
--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.