|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #59228] embedded.cc example crashes with segfault |
Date: | Tue, 13 Oct 2020 18:32:14 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 |
Update of bug #59228 (project octave): Status: Confirmed => Ready For Test _______________________________________________________ Follow-up Comment #10: Markus just checked in this change which prevents freeing variables that are still alive on the stack (http://hg.savannah.gnu.org/hgweb/octave/rev/02f0649f43d7). This seems to fix the problem for me. I tried the code from comment #7 where 's' was first a file static variable and then a local variable in the function main() and both work. But, the original embedded.cc code still produces a segfault. Hence, I think we really do need to shut down the interpreter cleanly. I made that change here http://hg.savannah.gnu.org/hgweb/octave/rev/66b52ae69d73. Marking as Ready for Test. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?59228> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |