help-octave
[Top][All Lists]
Advanced

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

Re: Octave 4.0.1 CTRL-C questions


From: Jeffrey Tsang
Subject: Re: Octave 4.0.1 CTRL-C questions
Date: Wed, 25 May 2016 12:02:00 +0000 (UTC)

I've found a simple script to crash Octave CLI. Here's the script:

A = rand(200,1);
disp(A);

Steps to reproduce:
  1. Run the script. 
  2. When you see the '--- less --- (f)orward, (b)ack, (q)uit' prompt, press CTRL-C twice.
  3. When you see 'Press Control-C again to abort.', press CTRL-C again.

If you look at the sequence, both Octave GUI and CLI crashes after three CTRL-C keystrokes are pressed.

From: Tatsuro MATSUOKA <address@hidden>
To: Jeffrey Tsang <address@hidden>; Nicholas Jankowski <address@hidden>
Cc: address@hidden
Sent: Wednesday, May 25, 2016 7:27 PM
Subject: Re: Octave 4.0.1 CTRL-C questions

>From: Jeffrey Tsang
>To: Nicholas Jankowski  
>Cc: Tatsuro MATSUOKA ; help 
>Date: 2016/5/25, Wed 20:13
>Subject: Re: Octave 4.0.1 CTRL-C questions
>
>
>Right after I replied to Matsuoka-san, I managed to crash Octave CLI. My script was displaying a long list of numbers and paused at the 'less' prompt. Then I press CTRL-C twice attempting to quit the script. Octave then crashes on the third CTRL-C. The Windows 'cmd' window stays there. I have no way to close it.
>
>
>I notice the less.exe process is still in my Task Manager. Only if I kill that less.exe, the Windows 'cmd' window closes and disappears. If you look at the window title of that 'cmd' window, it says 'C:\Octave\Octave-4.0.1\bin\octave-gui.exe'.
>


Can you give us a script (and data if necessary) by which other people test whether it is reproducible?
You can use an attachment file but there is a limitation of size.
I recommend the script compressed in zip if it is fairly large.
If the mailing list refuse an attachment file even if it is compressed, 
please send it me by private mail.

I can upload it on  my web site for testing by other people.
But I have leave here. I will do it on tomorrow.


Tatsuro 



reply via email to

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