View Issue Details

IDProjectCategoryView StatusLast Update
0001938ardourbugspublic2008-11-21 00:03
Reporternono Assigned Topaul  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version2.1 
Summary0001938: Ardour crashes when running short of file descriptors on OSX
DescriptionOpen a session large enough for Ardour to run short of file descriptor. Ardour will refuse to open the session with lots of messages like this one:

[ERROR]: SndFileSource: cannot open file "/Users/gomes/Desktop/kmd-batterie-finale/sounds/Basse-10.wav" for reading (System error.)

and a popup saying it gives up:

"programming error: unknown region type passed to Session::add_region()
Additional InformationOSX/PPC 10.4.10 running on a PowerBook G4
Ardour 2.1, X11 interface

The session file is attached. I can open the session after running "ulimit -n 1024"; "lsof|grep ardour" returns 488 lines, whereas the default setting on OSX is 256 file descriptors.
TagsNo tags attached.

Activities

2007-10-27 19:39

 

nono

2007-10-28 07:53

reporter   ~0004515

Something I forgot to add: when Ardour reaches the limit while it is already up and running (I guess it is at this point anyway), adding new files (in my case recording new takes) makes it crash on the spot, no error popup or anything like this.

paul

2008-05-29 18:50

administrator   ~0004983

since this report was filed:

   1) ardour now increases the open file limit to the maximum allowed value
   2) no longer crashes if the limit has been exceeded (at least for this
           particular case)
   3) ardour handles missing source files a bit more elegantly as well

Issue History

Date Modified Username Field Change
2007-10-27 19:39 nono New Issue
2007-10-27 19:39 nono File Added: kmd-batterie-finale.ardour
2007-10-28 07:53 nono Note Added: 0004515
2008-05-29 18:50 paul Status new => resolved
2008-05-29 18:50 paul Resolution open => fixed
2008-05-29 18:50 paul Assigned To => paul
2008-05-29 18:50 paul Note Added: 0004983
2008-11-21 00:03 seablade Status resolved => closed