bugGNU Octave - Bugs: bug #60490, CTRL+C interrupt does not get...

 
 

bug #60490: CTRL+C interrupt does not get intercepted during intensive computations

Submitter:  PIERRE LABRECHE <pierre5018>
Submitted:  Fri 30 Apr 2021 10:34:28 PM UTC
   
 
Category:  Interpreter Severity:  1 - Wish
Priority:  5 - Normal Item Group:  Feature Request
Status:  None Assigned to:  None
Originator Name:  PIERRE LABRECHE Open/Closed:  * Open
Release:  * 6.2.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 25 Apr 2022 04:17:59 PM UTC, comment #2: 

How about simple capture mouse events ?
Code:
  while 1
    [mouse_x, mouse_y, mouse_button] = ginput(1);
  end

in this loop CTRL+C dont work... How to solve the trouble ?
Octave version 7.1.0

Valeriu Mihailov <valeriumik>
Sat 01 May 2021 01:23:29 AM UTC, comment #1: 

No, the lack of Ctrl-C during computation is itself the feature, which was put in because there was a bug several years ago of how to handle Ctrl-C when executing library code. There are many examples in the bug database with Ctrl-C and multi-threaded code, example here that was labeled "Important": https://savannah.gnu.org/bugs/index.php?47400

In other words: Ctrl-C will work for Octave's code but when it passes execution to an external library routine that's multi-threaded, Ctrl-C is temporarily disabled. This was deemed better than having an interrupt result in a crash.

Anonymous
Fri 30 Apr 2021 10:34:28 PM UTC, original submission:  

User cannot break execution of a program using CNTRL+C,
if there is little I/O going on when processing Gigabyte large arrays.

Feature request : interrupting execution should always be possible.

PIERRE LABRECHE <pierre5018>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by valeriumik (Posted a comment)
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by pierre5018 (Submitted the item)
  • -email is unavailable- added by pierre5018
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-02-02 pantxo Dependencies- bugs #61977 is dependent
    2021-07-26 jwe Severity3 - Normal 1 - Wish
    2021-04-30 pierre5018 Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code