View Issue Details

IDProjectCategoryView StatusLast Update
0002075ardourbugspublic2020-04-19 20:12
Reporterseablade Assigned Topaul  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.1 
Summary0002075: Mac OS X Native or X11, I/O Error, to many files open
DescriptionSo I am working on a project again and have gotten to a point where I am getting I/O errors, because to many files are open according to the console. This started after trying to import several audio files, and only getting part of them actually imported. I tried again and noticed the errors.

This error eventually causes other functions other than import to cease working, as Ardour can no longer save its state to temporary files, or make backup session files, and eventually can no longer write to its main session file. In the end Ardour crashed completely on me, I suspect the crash may have been caused by this, but I am not sure. At the moment I can no longer open my session as I get an immediate error thrown, console log from startup and attempting to open the session on the native version will be attached below.

I can find no way to adjust total number of files that can be open at any one time, so if there is one and I am once again missing something blatantly obvious, feel free to take a boot to my head in IRC next time you see me;)

Here is to hoping it is a simple fix, let me know what you need from me.

  Seablade

Console Log in Additional Information. From the standpoint of the GUI I get the splashscreen saying that it is loading the file, but then Ardour crashes.
Additional Information===== Tuesday, February 12, 2008 7:34:46 PM US/Eastern =====
Ardour/GTK 2.3
   (built using 3029 and GCC version 4.0.1 (Apple Computer, Inc. build 5367))
Copyright (C) 1999-2007 Paul Davis
Some portions Copyright (C) Steve Harris, Ari Johnson, Brett Viren, Joel Baker

Ardour comes with ABSOLUTELY NO WARRANTY
not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This is free software, and you are welcome to redistribute it
under certain conditions; see the source for copying conditions.
loading default ui configuration file /Applications/Ardour2.app/Contents/MacOS/../Resources/ardour2_ui_default.conf
loading user ui configuration file /Users/Seablade/.ardour2/ardour2_ui.conf
Loading ui configuration file /Applications/Ardour2.app/Contents/MacOS/../Resources/ardour2_ui_dark.rc
theme_init() called from internal clearlooks engine
loading system configuration file /Applications/Ardour2.app/Contents/MacOS/../Resources/ardour_system.rc
loading user configuration file /Users/Seablade/.ardour2/ardour.rc
ardour: [INFO]: Apple VecLib H/W specific optimizations in use
ardour: [INFO]: looking for control protocols in /Applications/Ardour2.app/Contents/MacOS/../Surfaces
ardour: [INFO]: Control surface protocol discovered: "Generic MIDI"
ardour: [INFO]: Control surface protocol discovered: "Mackie"
StartNotification name = default
JackRouterPlugIn::InitializeWithObjectID
JackRouterPlugIn::ReadPref
Reading Preferences fInputChannels: 2 fOutputChannels: 2 fAutoConnect: 1
Reading Preferences fDefaultInput: 0 fDefaultOutput: 0 fAutoConnect: 0
Reading Preferences debug: 0
Initialize inSelf = 256 name = Ardour2
ConnectPort: can't find mach server port name = jackdmp_entry_default err = unknown error code
Cannot connect to server Mach port
jack server is not running or cannot be started
JACK COMMAND: /Applications/Ardour2.app/Contents/MacOS/jackd -p 512 -R -P 60 -T -d coreaudio -r 44100 -p 2048 -d AppleFWAudioEngineGUID:1085260926294696
jackd 0.109.0
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

JACK compiled with POSIX SHM support.
loading driver ..
StartNotification name = default
JackRouterPlugIn::InitializeWithObjectID
JackRouterPlugIn::ReadPref
Reading Preferences fInputChannels: 2 fOutputChannels: 2 fAutoConnect: 1
Reading Preferences fDefaultInput: 0 fDefaultOutput: 0 fAutoConnect: 0
Reading Preferences debug: 0
Initialize inSelf = 256 name = jackd

(Ardour2:28175): Pango-WARNING **: Unable to open font file /System/Library/Fonts/LucidaGrande.dfont for font Lucida Grande Semi-Bold 27.9990234375, falling back to /Library/Fonts/Blackmoor LET Fonts


(Ardour2:28175): Pango-WARNING **: Unable to open font file /System/Library/Fonts/LucidaGrande.dfont for font Lucida Grande Semi-Bold 27.9990234375, falling back to /Library/Fonts/Blackmoor LET Fonts

loading bindings from /Applications/Ardour2.app/Contents/MacOS/../Resources/ardour-sae-de.bindings
Loading session /Users/Seablade/MorningOverture using snapshot MorningOverture (1)
I/O error : Too many open files
I/O error : Too many open files
I/O warning : failed to load external entity "/Users/Seablade/MorningOverture//instant.xml"

Pango-ERROR **: Unable to open font file /Library/Fonts/Blackmoor LET Fonts for font Hiragino Maru Gothic Pro 9.9990234375, exiting

aborting...
jack_client_resume: send error for (ipc/send) invalid destination port

cannot read request from client (0/2100/Resource temporarily unavailable)
could not handle external client request
removing failed client
Feb 12 19:35:52 thomas-vecchiones-computer crashdump[28180]: Ardour2 crashed
temporary ? 1 clients = 1
Feb 12 19:35:53 thomas-vecchiones-computer crashdump[28180]: crash report written to: /Users/Seablade/Library/Logs/CrashReporter/Ardour2.crash.log
Ardour/GTK 2.3
   (built using 3029 and GCC version 4.0.1 (Apple Computer, Inc. build 5367))
Copyright (C) 1999-2007 Paul Davis
Some portions Copyright (C) Steve Harris, Ari Johnson, Brett Viren, Joel Baker

Ardour comes with ABSOLUTELY NO WARRANTY
not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This is free software, and you are welcome to redistribute it
under certain conditions; see the source for copying conditions.
loading default ui configuration file /Applications/Ardour2.app/Contents/MacOS/../Resources/ardour2_ui_default.conf
Loading ui configuration file /Applications/Ardour2.app/Contents/MacOS/../Resources/ardour2_ui_dark.rc
theme_init() called from internal clearlooks engine
loading system configuration file /Applications/Ardour2.app/Contents/MacOS/../Resources/ardour_system.rc
ardour: [INFO]: Apple VecLib H/W specific optimizations in use
ardour: [INFO]: looking for control protocols in /Applications/Ardour2.app/Contents/MacOS/../Surfaces
ardour: [INFO]: Control surface protocol discovered: "Generic MIDI"
ardour: [INFO]: Control surface protocol discovered: "Mackie"
StartNotification name = default
JackRouterPlugIn::InitializeWithObjectID
JackRouterPlugIn::ReadPref
Reading Preferences fInputChannels: 2 fOutputChannels: 2 fAutoConnect: 1
Reading Preferences fDefaultInput: 0 fDefaultOutput: 0 fAutoConnect: 0
Reading Preferences debug: 0
Initialize inSelf = 256 name = Ardour2
ConnectPort: can't find mach server port name = jackdmp_entry_default err = unknown error code
Cannot connect to server Mach port
jack server is not running or cannot be started
terminate called after throwing an instance of 'std::logic_error'
  what(): basic_string::_S_construct NULL not valid
TagsNo tags attached.

Activities

seablade

2008-02-13 00:44

manager   ~0004718

Bah I forgot to change the severity, it should probably be CRASH level as it does cause Ardour to crash it seems.

seablade

2008-02-13 01:10

manager   ~0004719

Ok more info...

Using the command

sudo sysctl -w kern.maxfilesperproc=20480 kern.maxfiles=22528


to double the maximum amount of files open from each process and in total gets SOME results. In this case the specific lines saying I/O Error dissapear.

Unfortuanatly these lines still remain on the console and Ardour still crashes...


(Ardour2:28283): Pango-WARNING **: Unable to open font file /System/Library/Fonts/LucidaGrande.dfont for font Lucida Grande Semi-Bold 27.9990234375, falling back to /Library/Fonts/Blackmoor LET Fonts


(Ardour2:28283): Pango-WARNING **: Unable to open font file /System/Library/Fonts/LucidaGrande.dfont for font Lucida Grande Semi-Bold 27.9990234375, falling back to /Library/Fonts/Blackmoor LET Fonts

loading bindings from /Applications/Ardour2.app/Contents/MacOS/../Resources/ardour-sae-de.bindings
Loading session /Users/Seablade/MorningOverture using snapshot MorningOverture (1)
I/O error : Too many open files
I/O error : Too many open files
I/O warning : failed to load external entity "/Users/Seablade/MorningOverture//instant.xml"

Pango-ERROR **: Unable to open font file /Library/Fonts/Blackmoor LET Fonts for font Hiragino Maru Gothic Pro 9.9990234375, exiting

aborting...

So for some reason I still can't open that session, but now it seems to be linked to a Pango error directly, though I can't figure out why. The file is still there, and I have no problem opening other session files. Ideas?

      Seablade

seablade

2008-02-13 01:12

manager   ~0004720

Hmm and for clarification, I get the same message about falling back to Blackmoor LET Fonts, just the other sessions seem to have no problem opening that file.

      Seablade

paul

2008-02-13 02:42

administrator   ~0004721

ardour (rev 3045) now uses getrlimit and setrlimit to bump the number of open files allowed to the maximum (hard limit).

system

2020-04-19 20:12

developer   ~0021633

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2008-02-13 00:43 seablade New Issue
2008-02-13 00:44 seablade Note Added: 0004718
2008-02-13 01:10 seablade Note Added: 0004719
2008-02-13 01:12 seablade Note Added: 0004720
2008-02-13 02:42 paul Status new => resolved
2008-02-13 02:42 paul Resolution open => fixed
2008-02-13 02:42 paul Assigned To => paul
2008-02-13 02:42 paul Note Added: 0004721
2020-04-19 20:12 system Note Added: 0021633
2020-04-19 20:12 system Status resolved => closed