Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-2138

[C++] Have FatalLog abort instead of exiting

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 0.9.0
    • C++

    Description

      Not sure this is desirable, since util/logging.h was taken from glog, but the various debug checks current std::exit(1) on failure. This is a clean exit (though with an error code) and therefore doesn't trigger the usual debugging tools such as gdb or Python's faulthandler. By replacing it with something like std::abort() the exit would be recognized as a process crash.

       

      Thoughts?

      Attachments

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              apitrou Antoine Pitrou
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Slack

                  Issue deployment