[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65240] The byte-code interpreter gets out of
From: |
Petter |
Subject: |
[Octave-bug-tracker] [bug #65240] The byte-code interpreter gets out of sync and does not release memory in certain cases |
Date: |
Mon, 26 Feb 2024 17:21:05 -0500 (EST) |
Follow-up Comment #3, bug#65240 (group octave):
I think I found the issue.
Unwinding into an non-bytecode stack frame did not delete the "ignore
output"-object, and triggered a sanity check.
+verbose+
evalin ("base","[~] = (@() error ('qwe'))()");
-verbose-
Should be a minimal example. I.e. ignoring from top scope.
This change in the original patch was wrong:
+verbose+
- output_ignore_data::maybe_delete_ignore_data (*this, 1);
+ output_ignore_data::maybe_delete_ignore_data (*this, 0);
-verbose-
I've attached a fixed patch.
(file #55750)
_______________________________________________________
Additional Item Attachment:
File name: 33254.patch Size:8 KB
<https://file.savannah.gnu.org/file/33254.patch?file_id=55750>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-fd9b348a8fcb146b565f753e2f7db1ab857a7bf6.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65240>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/