[Top][All Lists]

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

Re: frequent windows crashes, especially with plotting?

From: Nicholas Jankowski
Subject: Re: frequent windows crashes, especially with plotting?
Date: Mon, 27 Jul 2020 13:39:19 -0400

On Mon, Jul 27, 2020 at 1:06 PM Ian McCallion <> wrote:
On Mon, 27 Jul 2020 at 16:19, Nicholas Jankowski <> wrote:
>> The reason for asking is that Octave 5.2.0 on windows crashes
>> frequently, especially when using plotting. During development it is
>> easily possible to request plots that go into a loop and hang. Ctrl-C
>> is ineffective at that point and the only solution is to use the task
>> manager to kill Octave and restart it.
> This is actually a separate important issue.  I've been running Octave on Windows and very rarely suffer crashes like you describe.  I've edited the subject line to start a separate thread on the discussion. Could you provide feedback on the following:
> - Can you summarize what you're doing that results in frequent crashes? Is it repeatable?

I think it is repeatable, though for obvious reasons I have not actually tried!

> - Are you ever getting an actual 'crash' that exits without your intervention, or is it always a program 'hang' where everything becomes unresponsive?

Probably not, I don't recall directly.

> - We've previously seen issues where windows plotting can take an inordinate amount of time.  Have you ever waited a long time to see if control returns?

I think this might be the explanation. I waited long enough once for
Octave to stop hogging a CPU core and for gnuplot to start processing.
At that point closing the gnuplot window using the X in the top right
corner, and once that was done the command completed.

Simple x-y plots even with a million points are very fast. Sometimes I
plot two or more curves on the same graph and this is fast too
provided I get it right, but mistakes in this are where the problem
lies.Having just done a couple of experiments I realise I am
inadvertently asking Octave to combine the vectors into points in a
space and draw lines from one to the other. e.g.

plot([1:10000;2:10001]') % is what I want
plot([1:10000;2:10001]) % Please don't try this at home

This also works:
plot(1:10000, [1:10000;2:10001])

Ability to kill the current command from the GUI would generally solve
such problems.
> - Did you install Octave from the executable or one of the zip-packages? if teh latter did you follow the post-install instructions?

>From the executable.

(please reply all to keep the help list cc'd, as this might involve more knowledge than I possess.)

reply via email to

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