override Boost's assert handler

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Code
    • Fully Compatible
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently we are using the default handler, which prints a message to stderr and then calls abort(). This behavior makes this type of problem difficult to debug.

      Instead, we can have our own function be called via BOOST_ENABLE_ASSERT_HANDLER, which can put the message into the server log and then shut down the server via fassert.

      Boost assertions can be tripped by invalid use of shared_ptr and scoped_ptr, for example.

            Assignee:
            DO NOT USE - Backlog - Platform Team
            Reporter:
            Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: