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: Tatsuro MATSUOKA
Subject: [Octave-bug-tracker] [bug #44470] Pause does not detect Ctrl+C keystroke in Windows GUI
Date: Thu, 26 May 2016 01:03:14 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36

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

Simple script

more off
for i=1:5000; rand(5000,5000), end
disp('Outside for loop')


Execute the above and press Ctrl+C while for loop is active.

Ctrl+C aborts the loop and do not go disp('Outside for loop').

This is expected behavior.

In the case of pause for GUI,

Press Control-C again to abort.
appear before crash by pressing Ctrl+C.
This means that Ctrl+C itself is recognized.

I now think that this is not a trapping Ctll+C handler issue but a issue of
cause a segfault by Ctrl+C interrupt 
at some idling states. 

Macro reported that on
http://octave.1599824.n4.nabble.com/Octave-4-0-1-CTRL-C-questions-td4677114i20.html#a4677173


I can obtain the same results with sombrero() 
if I hit CTRL+C 3 times before the plot is completed. 


octave:1> more off 
octave:2> sombrero() 
Press Control-C again to abort. 
panic: Interrupt -- stopping myself... 
attempting to save variables to 'octave-workspace'... 
save to 'octave-workspace' complete 




    _______________________________________________________

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]