Peter Snyder created MYNEWT-389:
-----------------------------------

             Summary: fcb_log_rtr_erase not handled correctly with shared fcb 
resource
                 Key: MYNEWT-389
                 URL: https://issues.apache.org/jira/browse/MYNEWT-389
             Project: Mynewt
          Issue Type: Bug
          Components: Misc, OS
    Affects Versions: v1_0_0_beta1
            Reporter: Peter Snyder
            Assignee: Sterling Hughes
            Priority: Minor


system appeared to go into loop when a shared fcb ran out of space with log 
messages and called log_fcb_rtr_erase().

Reproducible by modifying the slinky app to allocate an additional log 
structure and register it using the reboot_log_fcb resource, e.g.,
          log_register("testlog", &test_log, &log_fcb_handler, &reboot_log_fcb);
followed by enough LOG_*(&test_log, ....); calls to use all the available 
entries.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to