All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [BUG] recursive fault on cyclictest termination --	scalable sched?
Date: Fri, 25 May 2007 15:50:09 +0200	[thread overview]
Message-ID: <4656E991.1070507@domain.hid> (raw)
In-Reply-To: <4656E62F.3090603@domain.hid>

Jan Kiszka wrote:
> People, we have some new troubles:
> 
> I'm reproducibly getting recursive faults on termination of cyclictest
> via ^C. It's all standard here: ipipe 1.8-02, Xenomai trunk #2469, no
> weird patches of mine.
> 
> Something goes utterly wrong, the debugger currently points into
> xnshadow_relax->rpi_push, and there into some queuing operation. Note
> that I have XENO_OPT_SCALABLE_SCHED on in my config, also
> XENO_OPT_PRIOCPL. Without XENO_OPT_SCALABLE_SCHED, things seems to work
> find. Who did last work on this? What was fixed?

cyclictest termination is rather strange, to say the least. The first
SIGTERM terminates the application, the other SIGTERM never get sent,
pthread_join never get called. I would recommend replacing the SIGTERM,
join loop, with a pthread_cancel loop followed by a pthread_join loop
(running a loop with pthread_cancel followed by pthread_join may lead to
deadlocks).

-- 
                                                 Gilles Chanteperdrix


      parent reply	other threads:[~2007-05-25 13:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-25 13:35 [Xenomai-core] [BUG] recursive fault on cyclictest termination -- scalable sched? Jan Kiszka
2007-05-25 13:45 ` Gilles Chanteperdrix
2007-05-25 13:55   ` Jan Kiszka
2007-05-25 14:09     ` Jan Kiszka
2007-05-25 14:12     ` Philippe Gerum
2007-05-25 14:18       ` Gilles Chanteperdrix
     [not found]         ` <DD39B5C3F4963040ADC9768BE7E430CB01F547BA@is-hdq-exchange.marel.net>
2007-05-25 14:34           ` Jan Kiszka
2007-05-25 15:32           ` Jan Kiszka
2007-05-27  1:51             ` Philippe Gerum
2007-05-25 13:50 ` Gilles Chanteperdrix [this message]

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=4656E991.1070507@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=jan.kiszka@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.