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

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

[Octave-bug-tracker] [bug #59432] Octave exits with error code 3 for Bod


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #59432] Octave exits with error code 3 for Bode plot
Date: Fri, 13 Nov 2020 14:08:42 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #53, bug #59432 (project octave):

Right, I guess we'll need to push the change and wait for a binary to be
available for testing by someone who was able to trigger the crash.

The thing the patch attempts to avoid is having the stack pointer altered
somehow between the time the unwind protect is set up and when it is executed
(though I don't know how or where that is happening).

So instead of relying on the stack pointer position, we just grab a reference
to the frame that is current when the function is executing and clear that
directly instead of looking at the current stack frame at the time the unwind
protect object is deleted.

I'll push a patch soon.  I'm also thinking about making the
stack_frame::clear_values method not cause a panic if it is called.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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