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: Tue, 24 Jan 2017 23:40:03 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

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

I checked in the following changeset on default

http://hg.savannah.gnu.org/hgweb/octave/rev/9f406f0b36da

I don't know if there is a fix that can be applied to stable.

Note that this deprecates both octave_main and clean_up_and_exit.  I'll try to
fix the docs and example.

The best thing to do is to create your own embedded_application object and let
it go out of scope when you are done (or delete it if you allocated it with
new).

However, I'm not sure you can reliably create another one after doing that
since there are still many global objects that may expect to only be
initialized once.

    _______________________________________________________

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]