-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Race conditions / dependencies between CFE core apps #73
Comments
Imported from trac issue 42. Created by jphickey on 2015-05-06T17:04:36, last modified: 2016-08-11T15:39:40 |
Trac comment by jphickey on 2015-05-07 10:41:17: Working on a fix for this. There are two possible approaches to solving this, some CCB discussion might be good to decide which is best:
|
Trac comment by jphickey on 2015-05-08 13:39:51: DEPENDENCY NOTE: Trac #71 implements the first part of this fix, which is to synchronize the start up of the core applications. |
Trac comment by jphickey on 2015-05-08 16:58:43: Related PSP ticket: [https://babelfish.arc.nasa.gov/trac/cfs_psp/ticket/23] I created this ticket in the PSP trac to capture the issue brought up by Chris Monaco during today's CCB meeting while discussing this ticket. In this case the PSP is possibly calling into the Timer 1Hz function before CFE TIME has been initialized. This issue can be tracked/resolved separately. If any changes are necessary for this one, they will likely be done in the PSP. |
Trac comment by jphickey on 2015-05-11 09:54:07: Pushed commit [changeset:0c00114] for remainder of this fix This commit makes two additional minor modifications to EVS:
Associated branch name is "trac-42-rangecheck-evs-appid" |
Trac comment by sstrege on 2015-05-15 16:47:47: Approve |
Trac comment by acudmore on 2015-05-18 15:40:11: Approve |
Trac comment by jwilmot on 2015-05-19 10:15:17: Approve |
Trac comment by sduran on 2015-05-19 13:46:30: approve |
Trac comment by glimes on 2015-05-19 13:47:46: approve |
Trac comment by glimes on 2015-05-19 13:52:53: Note that you can use ![cfs_psp:23] to link to [cfs_psp:23] -- yay InterTrac ;) |
Trac comment by glimes on 2015-05-22 10:51:16: Commit [changeset:e08eada] has this fix, backported to master. |
Trac comment by wmoleski on 2015-06-16 13:37:12: cFE 6.4.2.0 was tested using an MCP750 running vxworks 6.4. All build verification tests normally executed on a cFE release were successfully executed. An additional test was performed in an attempt to verify that the race conditions identified did not appear. The UART (minicom) output for the test is attached to trac #81. |
Trac comment by sstrege on 2016-08-11 15:39:18: Merged to development on Wed May 20 09:39:24 2015 -0400 |
The "core" applications have significant dependencies between them that need to be more pro-actively satisfied. There are some race conditions during the startup phase that can pose some serious problems if things are not executed in the right order.
The summary of what happened is below, but here is a list of the basic problems:
For those interested, here are the details of the specific sequence of events discovered when debugging application startup on the Microblaze processor used by the EVA team at GRC:
The text was updated successfully, but these errors were encountered: