[Bug 1814] SMP race condition between stack free and dispatch

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Wed Jun 15 16:04:57 UTC 2011


Gedare <giddyup44 at yahoo.com> changed:

           What    |Removed                     |Added
                 CC|                            |giddyup44 at yahoo.com

--- Comment #1 from Gedare <giddyup44 at yahoo.com> 2011-06-15 11:04:55 CDT ---
I think this patch is not quite right.

Thread_Close executes with dispatch disabled when it is called from
rtems_task_delete. Before freeing the stack, the thread is blocked by setting
its state to dormant, which eventually calls Scheduler_Block.

I don't see how the thread's stack is used between when it is closed and any
further dispatch.

Do you have a bug that is causing this behavior to be seen?

Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the bugs mailing list