All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Henri Roosen <henriroosen@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Xenomai 2.5.0: rt_task_shadow fails when libnative is statically linked.
Date: Mon, 01 Feb 2010 23:35:31 +0100	[thread overview]
Message-ID: <4B675733.3040902@domain.hid> (raw)
In-Reply-To: <b88603c31001260616wf2194d3t193de281af1318ad@domain.hid>

Henri Roosen wrote:
> Hi all,
> 
> I get segmentation fault when calling rt_task_shadow. Actually
> somewhere in the pthread library called from sigshadow_install_once();
> 
> This only happens on Xenomai 2.5 when libnative is statically linked.
> Tested ok on 2.4.10 both dynamically and statically linked. I use
> kernel version 2.6.30.10, xenomai 2.5.0 on x86.
> 
> Any idea what is wrong?
> 
> Reproduced it with basic app that is attached to this email. Compiled with:
> gcc -D_GNU_SOURCE -D_REENTRANT -Wall -pipe -D__XENO__
> -I/usr/xenomai/include tst_basic.c -o tst_basic
> /usr/xenomai/lib/libnative.a -lpthread
> 
> Segfailt in dmesg on xenomai 2.5.0:
> tst_basic_2.5[1351]: segfault at 0 ip b7ff5a54 sp bfc9b46c error 4 in
> libpthread-2.9.so[b7feb000+13000]

Ok. Reproduced here. It looks like xeno_sigshadow_install and
xeno_sigshadow_installed have no address. I am on it.

-- 
					    Gilles.


  reply	other threads:[~2010-02-01 22:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-26 14:16 [Xenomai-help] Xenomai 2.5.0: rt_task_shadow fails when libnative is statically linked Henri Roosen
2010-02-01 22:35 ` Gilles Chanteperdrix [this message]
2010-02-01 23:52   ` Gilles Chanteperdrix
2010-02-02  9:18     ` Henri Roosen
2010-02-02  9:21       ` 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=4B675733.3040902@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=henriroosen@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.