[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55028] plots executed from script containing
[Octave-bug-tracker] [bug #55028] plots executed from script containing many plots seg fault
Fri, 21 Dec 2018 10:23:02 -0500 (EST)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
Follow-up Comment #6, bug #55028 (project octave):
I have learned a bit more about this: It is the use of clf
instead of close("all") that causes the seg fault.
clf requires a pause(0.0001) following it to prevent
the seg fault. So, for example:
do_plot = 1;
%% the plot_.. commands below contain: clear -x do_plot -x inpt_file
%% This is to ensure that they do not "inherent" any variable data
seg faults with
Plot file is: airdata_1946-61_extr_1953/de_trend/plot_orig_norm.pdf
title_1 = 21-Dec-2018: airdata_1946-61_extr_1953
fatal: caught signal Segmentation fault -- stopping myself...
Segmentation fault (core dumped)
replacing the clf with close("all")
prevents the seg fault.
Note that there is in each case only one current figure so it is unclear
why clf and close("all") should produce different results.
Reply to this item at:
Message sent via Savannah