|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #63416] Messages from building with -fsanitize=undefined |
Date: | Sat, 26 Nov 2022 08:24:29 -0500 (EST) |
Follow-up Comment #6, bug #63416 (project octave): "What was the reason for the message and for the fix?" Data members are constructed in the order they appear in the class declaration and destroyed in the reverse order. The problem was happening because the output system was using the evaluator after the evaluator was destroyed. I would guess that most of the time this error was unlikely to cause a crash because the memory used by the evaluator wasn't reused or overwritten by something else between the time the evaluator destructor was called and the last time it was used. But we shouldn't rely on that. Reordering the objects eliminated that problem. I'll check in a proper changeset soon. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?63416> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |