public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Elad Yosef <elad.yosef@gmail.com>
To: eCos Discussion <ecos-discuss@ecos.sourceware.org>,
	ecos-discuss@sources.redhat.com
Subject: [ECOS] Fwd: CYG_ASSERT( sched_lock > 0, "Scheduler lock == 0")
Date: Sun, 03 Feb 2013 08:35:00 -0000	[thread overview]
Message-ID: <CAOFa9c0vKNfesn-PLxdWMNS4az-WYNwujyz18tXGt_JrTGHfwg@mail.gmail.com> (raw)
In-Reply-To: <CAOFa9c3dHir5Hp=U+jdXzy4QT1S46oFdCCOMWQ4+LV8iMmDJXA@mail.gmail.com>

---------- Forwarded message ----------
From: Elad Yosef <elad.yosef@gmail.com>
Date: Thu, Jan 31, 2013 at 7:03 PM
Subject: CYG_ASSERT( sched_lock > 0, "Scheduler lock == 0")
To: eCos Discussion <ecos-discuss@ecos.sourceware.org>


My Application get crash with the following ASSERT from smp.hxx

    static void set_sched_lock(cyg_uint32 new_lock)
    {
        CYG_ASSERT( new_lock > 0, "New scheduler lock value == 0");
        CYG_ASSERT( sched_lock > 0, "Scheduler lock == 0"); ----- THIS
LINE CRASH
        sched_lock = new_lock;
    };

Can anyone help and point for possible causes?

Thanks

Elad

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

      reply	other threads:[~2013-02-03  8:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-31 17:03 [ECOS] " Elad Yosef
2013-02-03  8:35 ` Elad Yosef [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=CAOFa9c0vKNfesn-PLxdWMNS4az-WYNwujyz18tXGt_JrTGHfwg@mail.gmail.com \
    --to=elad.yosef@gmail.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    --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).