Follow-up Comment #2, bug #59202 (project groff):
commit c788cf8c6bbe939fa11f7ec032e525a7e33f41b6 Author: G. Branden Robinson <[email protected]> Date: Tue Sep 29 07:02:25 2020 +1000 Fix SEGV arising from recursing destructor. * src/roff/troff/node.h (output_file): Add class member `is_dying` to track whether destructor has already been entered; initialize false. * src/roff/troff/node.cpp (real_output_file::~real_output_file): Set `is_dying` true when destructor entered. * src/roff/troff/div.cpp (cleanup_and_exit): Only delete `the_output` object if it is not already being destroyed. Thanks to "hackerb9" for reporting the problem. Problem appears to date back to groff 1.02 (June 1991) or earlier. Fixes <https://savannah.gnu.org/bugs/index.php?59202>. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?59202> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
