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

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

[Octave-bug-tracker] [bug #44470] Pause does not detect Ctrl+C keystroke


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #44470] Pause does not detect Ctrl+C keystroke in Windows GUI
Date: Wed, 25 May 2016 12:24:23 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0

Follow-up Comment #18, bug #44470 (project octave):

Here's a simple test that crashes both octave-gui and octave-cli on Windows
(verified 4.0.2, Windows 7, 32 bit zip installer)


I've found a simple script to crash Octave CLI. Here's the script:
>
> A = rand(200,1);
> disp(A);
>
>
> Steps to reproduce:
>
> Run the script.
> When you see the '--- less --- (f)orward, (b)ack, (q)uit' prompt, press
> CTRL-C twice.
> 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.


when running from octave-cli, the less.exe process is left running (but idle)
after octave crashes out.

Actually, after running disp(A), a single instance of less.exe is created.
Pressing ctrl-c once seems to do nothing. Pressing it again you get the
message 'Press Control-C again to abort'.  On the third press, I get a
"attempting to save variables to 'octave-workspace' ... save to 'octave
workspace' complete" after which a Windows crash window "octave-cli.exe has
stopped working..." window appears. 

Even clicking the Close this program button, the CLI window stays greyed out,
but present. less.exe is still present. Unable to close the window except by
manually terminating the less.exe process.

from the same help list discussion:
http://octave.1599824.n4.nabble.com/Octave-4-0-1-CTRL-C-questions-td4677114.html

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44470>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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