bugGNU Octave - Bugs: bug #49736, Crash when too many files are...

 
 

bug #49736: Crash when too many files are opened

Submitted by:  None
Submitted on:  Tue 29 Nov 2016 02:23:00 PM UTC  
 
Category: GUISeverity: 4 - Important
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: ConfirmedAssigned to: None
Originator Name: Alberto DonizettiOriginator Email: -unavailable-
Open/Closed: OpenRelease: dev
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 03 Dec 2016 06:32:01 PM UTC, comment #2:

There is an OS limit to a number of total open files. On my computer it is

This can be changed through usual sysctl interface.

Dmitri.

Dmitri A. Sergatskov <dasergatskov>
Sat 03 Dec 2016 11:15:18 AM UTC, comment #1:

This still happens for the dev version in GUI and CLI for a slightly modified version to get enough files to open:

mytest.m

Kai Torben Ohlhus <siko1056>
Project Member
Tue 29 Nov 2016 02:23:00 PM UTC, original submission:

Octave 4.0.3 crashes with "signal 5" when using the editor after too many files are opened in the command window.

Steps to reproduce:

1) Keep opening files in the command window until fopen returns an error. For example, if 'dir' is a directory with many files in it, chdir to dir and then

and keep going until err is "Too many open files".

2) Switch to the editor tab in the GUI

- sometimes, Octave crashes right away
- when it doesn't, it'll crash as soon as you try to open a new file, or try to save an existing .m file

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dasergatskov (Posted a comment)
  • -unavailable- added by siko1056 (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 03 Dec 2016 11:15:18 AM UTCsiko1056Severity3 - Normal=>4 - Important
      StatusNone=>Confirmed
      Release4.0.3=>dev
      SummaryGUI crash when too many files are open=>Crash when too many files are opened

    Back to the top


    Powered by Savane 3.1-cleanup1