octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #64784] VM causes coredump since recent change


From: Petter
Subject: [Octave-bug-tracker] [bug #64784] VM causes coredump since recent changes
Date: Thu, 26 Oct 2023 18:59:50 -0400 (EDT)

Follow-up Comment #10, bug #64784 (project octave):

Thanks for narrowing down the issue. I could replicate the crash. I think it
might be due to calling ___vm_compile___ with the clear flag. With the clear
flag the bytecode is removed straight up with no checks if it is in use or
not.

Replacing 

__vm_compile__("Snippet_LogStep", "clear");

with 

clear Snippet_LogStep


seems to make the problem disappear for me.

I think that maybe the clear flag should be removed. Calling "clear foo" would
also remove the bytecode, but garbage collected properly. I think a
recompilation with __vm_compile__ have the same issue. Maybe a recompilation
call should be a noop instead.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64784>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]