All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Steven Seeger <sseeger@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] fpu context switch issue
Date: Mon, 03 Nov 2008 11:10:25 +0100	[thread overview]
Message-ID: <490ECE11.208@domain.hid> (raw)
In-Reply-To: <51CAD0CE1504444DBE77CBBE51A0135D533259@domain.hid>

Steven Seeger wrote:
> I'm having a weird issue. Sometimes when I run the attached program I
> see one of the "shouldn't see this" printouts. However, it only fails if
> I also link in another userspace library that doesn't do anything. (No
> libraries are being called here.)

Some libraries do things when loaded, even if no function is called: if
a C++ library declares a global or static object with a non trivial
constructor, the constructor is run when the library is loaded. The same
goes for C functions declared with the "constructor" attribute.

> 
>  
> 
> I've had issues with a couple of other xenomai apps. I get a nan on a
> double operation sometimes right after the app first loads, and then
> it's ok after that. This error in the attached program always happens on
> the first call in the higher priority task (started second.)
> 
>  
> 
> Running 2.4.5 with 2.6.26.3 and also 2.6.25.9. AMD Geode LX800 board.

Could you try to run the "switchtest" program, and see if it has bugs
too ? Also, do you see the "fxsr" flag in /proc/cpuinfo ?

-- 
                                                 Gilles.


  reply	other threads:[~2008-11-03 10:10 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-03  0:35 [Xenomai-help] fpu context switch issue Steven Seeger
2008-11-03 10:10 ` Gilles Chanteperdrix [this message]
2008-11-03 14:21   ` Steven Seeger
2008-11-03 17:04     ` Gilles Chanteperdrix
2008-11-03 20:37       ` Mark Saiia
2008-11-04  8:30         ` Gilles Chanteperdrix
2008-11-08 16:56           ` Gilles Chanteperdrix
2008-11-11  0:07             ` Mark Saiia
2008-11-11 11:21               ` Gilles Chanteperdrix
2008-11-11 17:43                 ` Steven Seeger
2008-11-11 22:32                   ` Mark Saiia
2008-11-11 22:39                     ` Gilles Chanteperdrix
2008-11-13 11:11                     ` Gilles Chanteperdrix
2008-11-14  3:59                       ` Mark Saiia
2008-11-14  8:42                         ` Gilles Chanteperdrix
2008-11-17 17:27                           ` Mark Saiia
2008-11-17 18:54                             ` Steven Seeger
2008-11-19 18:51                             ` Steven Seeger
2008-11-20 12:43                               ` Gilles Chanteperdrix
2008-11-20 13:51                                 ` Steven Seeger
2008-11-21 17:03                                   ` Mark Saiia
2008-11-21 17:07                                     ` Gilles Chanteperdrix
2008-11-26 10:47                                       ` Gilles Chanteperdrix
2008-11-12 13:48                   ` Steven Seeger
2008-11-12 13:52                     ` Gilles Chanteperdrix
2008-11-12 13:53                       ` Steven Seeger
2008-11-04  9:55         ` Gilles Chanteperdrix
2008-11-04 15:38           ` Steven Seeger
2008-11-04 17:29             ` Mark Saiia
2008-11-04 18:59               ` Gilles Chanteperdrix
2008-11-04 19:01             ` Gilles Chanteperdrix
2008-11-04 21:29               ` Steven Seeger
2008-11-05 17:47                 ` Mark Saiia

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=490ECE11.208@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=sseeger@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.