[Top][All Lists]

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

[Octave-bug-tracker] [bug #55028] plots executed from script containing

From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #55028] plots executed from script containing many plots seg fault
Date: Fri, 21 Dec 2018 10:23:02 -0500 (EST)
User-agent: 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:

close ("all");
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
close ("all")
close ("all")
%%close ("all")

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

reply via email to

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