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

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

[Octave-bug-tracker] [bug #62308] use of octave::feval causes error: fun


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #62308] use of octave::feval causes error: function '...' not found
Date: Sat, 23 Apr 2022 09:29:41 -0400 (EDT)

Follow-up Comment #14, bug #62308 (project octave):

@jwe: Is calling `interpreter::shutdown` from the destructor problematic? If
it is, we'd probably need to call it from somewhere else. Where could that
be?

Alternatively, we could advise users of the interpreter class to call shutdown
manually before quitting their programs. In that case, `shutdown` would need
to be a public member function of the `interpreter` class. Was there a reason
to make it a private member function? Would making it public again now
constitute an API change?

I am using the changes proposed in comment #12 for a while now. And I'm not
seeing any issues with random crashes at exit (neither on Ubuntu nor Windows).
But I couldn't reproduce the crashes in bug #61994 either.
It would be nice if someone else could check if this is working for them,
too.

IIUC, the "critical" scenarios are e.g.:
- having an oct-file class hanging around when exiting Octave:

a = audioplayer([1:100], 44000)
exit


- closing Octave with an open figure:

sombrero()
exit


- both with and without `--gui`

- gui with and without `--experimental-terminal-widget`

- rebuild the documentation

- others?


(Unrelated to this bug: When I execute `./run-octave
--experimental-terminal-widget` and run the command `sombrero`, Octave crashes
for me. Don't know if this is a known issue.)



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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