[Bug 2053] New: Circular dependency between workspace and user extensions handler initialization

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Wed Apr 11 07:21:14 UTC 2012


https://www.rtems.org/bugzilla/show_bug.cgi?id=2053

             Bug #: 2053
           Summary: Circular dependency between workspace and user
                    extensions handler initialization
    Classification: Unclassified
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: cpukit
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: sebastian.huber at embedded-brains.de


We have the following initialization sequence:

  _Workspace_Handler_initialization();
  _User_extensions_Handler_initialization();

The _User_extensions_Handler_initialization() uses
_Workspace_Allocate_or_fatal_error().

The _Workspace_Allocate_or_fatal_error() uses _Internal_error_Occurred() which
calls the fatal error user extensions.

The _Workspace_Handler_initialization() uses _Internal_error_Occurred().

The _Internal_error_Occurred() will use not initialized chains in case it
happens during _Workspace_Handler_initialization() due to the not initialized
user extensions.  Also a _Internal_error_Occurred() will not call the fatal
error extensions during _User_extensions_Handler_initialization().

-- 
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