allow the crtDebugCallback to be called from within the log system

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Logging
    • None
    • Dev Tools 2020-03-23
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently if a error handling callback occurs during logging, and the callback tries to log, the process will deadlock. I know this can happen in the crtDebugCallback callback, and I worry that it's possible that it would occur in stack tracing or similar.

      We should investigate the use recursive locks in our logv2 locking front ends or back ends.

      Alternatively we could think about an how to create and utilize an alternative lockless logging API for use in such callbacks.

            Assignee:
            Henrik Edin
            Reporter:
            Gabriel Russell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: