> I happened upon a baffling bug today.
> 
> https://savannah.gnu.org/bugs/?68552

exit() runs the destructors of global C++ objects [1], while quick_exit()
doesn't [2].

Does the crash persist of you call quick_exit() instead of exit()?

Bruno

[1] https://en.cppreference.com/cpp/utility/program/exit
[2] https://en.cppreference.com/cpp/utility/program/quick_exit




  • ... G. Branden Robinson
    • ... Collin Funk
    • ... Paul Eggert
      • ... G. Branden Robinson
        • ... Paul Eggert
        • ... Bruno Haible via discussion of the GNU roff typesetting system and related software
    • ... Bruno Haible via discussion of the GNU roff typesetting system and related software
      • ... G. Branden Robinson

Reply via email to