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

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

[Octave-bug-tracker] [bug #57245] "clear all" generates segfault if run


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #57245] "clear all" generates segfault if run before or after a plot
Date: Sun, 15 Dec 2019 10:22:48 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0

Follow-up Comment #35, bug #57245 (project octave):

There might be something broken with the locking mechanism for builtin
functions.
In Octave 5.1:

octave:1> __init_gnuplot__
octave:2>


In Octave 6.0:

octave:1> __init_gnuplot__ 
error: mlock: invalid use outside a function
octave:2> 


If I call "__init_gnuplot__" from inside a function, that function is locked
instead.

The "clear all" probably deletes the toolkit that should have been protected
by the mlock in F__init_gnuplot__.

jwe is already in the CC list. He'll probably understand why this is failing
now.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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