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

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

[Octave-bug-tracker] [bug #60993] Environment became unstable and does n


From: anonymous
Subject: [Octave-bug-tracker] [bug #60993] Environment became unstable and does not recognize basic commands
Date: Fri, 30 Jul 2021 13:51:06 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36 Edg/92.0.902.62

URL:
  <https://savannah.gnu.org/bugs/?60993>

                 Summary: Environment became unstable and does not recognize
basic commands
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Fri 30 Jul 2021 05:51:04 PM UTC
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Missed Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: Alex Mokhnatyuk
        Originator Email: Alex.Mokhnatyuk@kla.com
             Open/Closed: Open
                 Release: 5.1.0
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Condition: When open too many files for reading inside function 
Behavior: environment does not find and recognize basic commands like save(),
plot() after function finishes

It was tested at 1264 files opened for reading.
See attached files.

4 files attached:
ren_read1.m - procedure executed;

function dirstruct40_ fills cell array with filenames to be opened (before
running it should be edited to look for existing files on certain machine);

function readList1_ represent cycle to open and read files;

function readPos2_ opening and parsing file (needs to be edited to be able
open existing files on certain machine, parsing can be skipped or modified)

If comment line 23 (fclose(fid);) in this function readPos2_   then
environment became unstable and unresponsive after function completed.

No error or warning is displayed showing that opened files were not closed.
Actually it make sense that all these files which were opened to be closed
automatically when function finishes, or otherwise show error if fail to do
so.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 30 Jul 2021 05:51:04 PM UTC  Name: run_read1.m  Size: 120B   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=51709>
-------------------------------------------------------
Date: Fri 30 Jul 2021 05:51:04 PM UTC  Name: readList1_.m  Size: 464B   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=51710>
-------------------------------------------------------
Date: Fri 30 Jul 2021 05:51:04 PM UTC  Name: dirstruct40_.m  Size: 895B   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=51711>
-------------------------------------------------------
Date: Fri 30 Jul 2021 05:51:04 PM UTC  Name: readPos2.m  Size: 865B   By: None

<http://savannah.gnu.org/bugs/download.php?file_id=51712>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60993>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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