You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/01/11 23:55:15 UTC

[GitHub] ccollins476ad opened a new pull request #1598: sys/fault: Only crash when in error state

ccollins476ad opened a new pull request #1598: sys/fault: Only crash when in error state
URL: https://github.com/apache/mynewt-core/pull/1598
 
 
   This change only affects debug builds (when `DEBUG_PANIC_ENABLED` is set).  The remainder of this message assumes a debug build.
   
   Prior to this change, a crash was triggered whenever the a fault recorder changed state.  There are three fault states:
       * GOOD
       * WARN
       * ERROR
   
   Typically, an application is configured to log a message when a recorder enters the WARN state, and to reboot the system upon entering the ERROR state.  However, the device would crash as soon as the WARN state was entered.
   
   After commit: debug builds only crash when the ERROR state is entered. The WARN state behaves the same in debug and non-debug builds.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services