public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "James Yates" <j.yates@quartzuk.com>
To: "Ecos Discuss (E-mail)" <ecos-discuss@sources.redhat.com>
Subject: RE: [ECOS] Scheduler problems, thread delay
Date: Tue, 21 Oct 2003 16:19:00 -0000	[thread overview]
Message-ID: <CB39E7B8FC98924D85DFBED207E4CC98344219@ip02.quartzelec.adsl.gxn.net> (raw)

I have looked further into this problem and can see the RTC isr be installed. I turned on Asserts & Tracing to see what was going on and see the following as the scheduler is started:

TRACE: sched.cxx           [ 318] static void Cyg_Scheduler::start()  {{enter
TRACE: sched.cxx           [ 344] static void Cyg_Scheduler::start_cpu()  {{enter
TRACE: mlqueue.cxx         [ 119] Cyg_Thread* Cyg_Scheduler_Implementation::schedule()  {{enter
TRACE: mlqueue.cxx         [ 192] Cyg_Thread* Cyg_Scheduler_Implementation::schedule()  }}returning thread 00815650
TRACE: except.cxx          [ 247] void cyg_hal_deliver_exception() {{enter
TRACE: except.cxx          [ 207] void Cyg_Exception_Control::deliver_exception() {{enter
TRACE: except.cxx          [ 207] void Cyg_Exception_Control::deliver_exception() ((exception number=4, exception info=00815558))
TRACE: except.cxx          [  83] void cyg_null_exception_handler() {{enter
TRACE: except.cxx          [  83] void cyg_null_exception_handler() ((data=00000000, exception=4, info=00815558))
TRACE: except.cxx          [  86] void cyg_null_exception_handler() 'Uncaught exception: 4'

Would I be right in thinking that what is probably happen is that I am getting an RTC isr but due to an error with the VSR table, an exception is being raised which isn't handled? Does this then imply that my VSR table is wrong which is why cyg_thread_delay never returns.

		James Yates



--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

             reply	other threads:[~2003-10-21 16:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-21 16:19 James Yates [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-10-21 15:10 James Yates
2003-10-21 14:22 James Yates
2003-10-21 14:28 ` Gary Thomas
2003-10-21 14:30 ` Andrew Lunn

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=CB39E7B8FC98924D85DFBED207E4CC98344219@ip02.quartzelec.adsl.gxn.net \
    --to=j.yates@quartzuk.com \
    --cc=ecos-discuss@sources.redhat.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).