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

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

[Octave-bug-tracker] [bug #50068] Segfault, when eval_string is used in


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #50068] Segfault, when eval_string is used in interpreter embedded mode
Date: Wed, 18 Jan 2017 18:01:14 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #11, bug #50068 (project octave):

It looks like a case of missing a catch() for the exit exception.

Until it's fixed in Octave, you should be able to work around it with
something like this:


  int status = 0;  // Or whatever status you want to return.

  try
    {
      clean_up_and_exit (status);
    }
  catch (const octave::exit_exception&)
    {
      // clean_up_and_exit should have done this for us...
      exit (status);
    }



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50068>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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