bugGNU Octave - Bugs: bug #59040, Infinite Loop, Cant Stop

 
 

bug #59040: Infinite Loop, Cant Stop

Submitter:  None
Submitted:  Sat 29 Aug 2020 10:35:53 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Performance
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Subham Burnwal Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.4.1
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 31 Aug 2020 11:57:43 PM UTC, comment #2: 

Closing report.  This just looks like slowness with sending the 3.6 million figures through a pager and then to the screen.  Also, version 4.4.1 of Octave is deprecated and no longer supported.  I can't remember, but it is possible that Ctrl+C did not work well on Windows with that version.

Rik <rik5>
Group administrator
Sun 30 Aug 2020 07:18:42 AM UTC, comment #1: 


rand(1:10)
# which is equivalent to
rand(1,2,3,4,5,6,7,8,9,10)


should not give an endless loop. It just takes long time to output (not to compute) the 3628800 elements of this 10-dimensional array. Thus, I do not consider this to be a bug. Octave is just doing what you have asked for.
Are you able to interrupt this with "Ctrl-C"?

When using


rand(1:10);


with suppressed output, the operation finishes immediately.


Torsten Lilge <ttl>
Group Member
Sat 29 Aug 2020 10:35:53 PM UTC, original submission:  

To reproduce just type in
rand(1:10)

I just mis-typed that and its an endless loop for me. had to restart Octave to make the Command Window usable again.
Thats it.

Anonymous

 

(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: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-08-31 rik5 StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code