All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodolfo Bamberg <rolfetas@domain.hid>
To: xenomai@xenomai.org
Subject: Re: [Xenomai-help] [Newbie question]Segmentation fault with user-space binary
Date: Wed, 30 May 2007 14:25:46 +0200	[thread overview]
Message-ID: <465D6D4A.5060009@domain.hid> (raw)
In-Reply-To: <b647ffbd0705300500t4c663883r723525ab8d977e85@domain.hid>

Dmitry Adamushko wrote:
> On 30/05/07, Rodolfo Bamberg <rolfetas@domain.hid> wrote:
>> I just can't figure out: If latency works, and it uses the native skin,
>> why does including libnative throw a segmantation fault?
>>
>
> Do you have Xenomai support built in-kernel or in external modules?
> How do you run your application and latency (i.e. do you actually
> launch the "latency"'s executable)?
>
> Probably, it shouldn't be a case (I don't remember all the
> installation/runtime details by heart any more) but be sure the
> xenomai modules are loaded by the moment your application starts.
>
> Although, I'd expect some more user-friendly behavior from the
> libnative in such a case.. so maybe it's not a case.
>
> Get a core dump when it crushes and feed it to "gdb".. maybe you'll
> have some relevant bits from the stacktrace.
>
>
Xenomai support is built-in within the Kernel. Latency works for both
Kernel and User-Space modes, as an executable. Is there any other way to
use latency? as a kernel loadable module? I will try to bind-statically
everything with Xenomai support to the Kernel and see if it makes a
change. If not I'll try to cross-debug my app.



  reply	other threads:[~2007-05-30 12:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-30  7:46 [Xenomai-help] [Newbie question]Segmentation fault with user-space binary Rodolfo Bamberg
2007-05-30  8:05 ` Jan Kiszka
2007-05-30  8:39   ` Rodolfo Bamberg
2007-05-30  8:52     ` Jan Kiszka
2007-05-30  9:19       ` Rodolfo Bamberg
2007-05-30  9:26       ` Rodolfo Bamberg
2007-05-30 11:56         ` Jan Kiszka
2007-05-30 12:29           ` Rodolfo Bamberg
2007-05-30 12:00         ` Dmitry Adamushko
2007-05-30 12:25           ` Rodolfo Bamberg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-05-30  8:11 Rodolfo Bamberg

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=465D6D4A.5060009@domain.hid \
    --to=rolfetas@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.