• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Mac OSX Project Won't Run after Update

Hello. I updated to the most recent version of GMS2, 2.3.0.529 on my Mac and my project won't run on my Mac anymore. Nothing in the compile errors tab. The only legible text above saying "FAILED" is "too many files open". What is this referring to? Closed all my tabs and still nothing. Thanks.

"/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono" /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.0.401/bin/Igor.exe -j=8 -options="/var/folders/pw/9jx5_p5n1zn2ng7m0d_yq5h40000gn/GameMakerStudio2/GMS2TEMP/build.bff" -v -- Mac Run

Loaded Macros from /Users/andrewfsimms/.config/GameMakerStudio2/Cache/GMS2CACHE/Arid_Jared_D0CB5F2B/macros.json
Options: /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.0.401/bin/platform_setting_defaults.json
Options: /Users/andrewfsimms/.config/GameMakerStudio2/andrewfsimms_2196652/local_settings.json
Options: /Users/andrewfsimms/.config/GameMakerStudio2/Cache/GMS2CACHE/Arid_Jared_D0CB5F2B/targetoptions.json
Setting up the Asset compiler
/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.0.401/bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="Arid Jared" /td="/var/folders/pw/9jx5_p5n1zn2ng7m0d_yq5h40000gn/GameMakerStudio2/GMS2TEMP" /cd="/Users/andrewfsimms/.config/GameMakerStudio2/Cache/GMS2CACHE/Arid_Jared_D0CB5F2B" /zpuf="/Users/andrewfsimms/.config/GameMakerStudio2/andrewfsimms_2196652" /m=mac /tgt=2 /studio /llvmSource="/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.0.401/interpreted/" /nodnd /cfg="Default" /o="/var/folders/pw/9jx5_p5n1zn2ng7m0d_yq5h40000gn/GameMakerStudio2/GMS2TEMP/Arid_Jared_67E723A1_VM" /sh=True /optionsini="/var/folders/pw/9jx5_p5n1zn2ng7m0d_yq5h40000gn/GameMakerStudio2/GMS2TEMP/Arid_Jared_67E723A1_VM/options.ini" /cvm /baseproject="/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.0.401/BaseProject/BaseProject.yyp" "/Users/andrewfsimms/GameMakerStudio2/Arid Jared/Arid Jared.yyp" /preprocess="/Users/andrewfsimms/.config/GameMakerStudio2/Cache/GMS2CACHE/Arid_Jared_D0CB5F2B
"
Found Project Format 2
ProjectFileWatcher:StartWatching:/Users/andrewfsimms/GameMakerStudio2/Arid Jared
Started: 8/21/2020 12:27:46 PM
Finished: 8/21/2020 12:27:48 PM
Diff: 00:00:02.1410680
Loaded Project: Arid Jared
-----------------------------------------------------------------------------
System.IO.IOException: Too many open files
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <bb7b695b8c6246b3ac1646577aea7650>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize, System.Boolean checkHost) [0x00067] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00000] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.IO.StreamReader..ctor (System.String path, System.Boolean detectEncodingFromByteOrderMarks) [0x0000d] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.IO.StreamReader..ctor (System.String path) [0x00000] in <bb7b695b8c6246b3ac1646577aea7650>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamReader..ctor(string)
at System.IO.File.ReadAllText (System.String path) [0x00000] in <bb7b695b8c6246b3ac1646577aea7650>:0
at GMAssetCompiler.GMObject.SubTypeAndEventFromEvent (GMAssetCompiler.GMAssets _a, GMAssetCompiler.GMEvent _ev) [0x0021c] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.GMObject.SetFromResource (GMAssetCompiler.GMAssets _a, YoYoStudio.Resources.IdReference _id) [0x0049d] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.GMObject..ctor (GMAssetCompiler.GMAssets _a, YoYoStudio.Resources.IdReference _id) [0x0007e] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.GMAssets. (YoYoStudio.Resources.GMProject , System.String ) [0x00d8e] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.Loader. (System.String ) [0x00162] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.Loader. (System.String ) [0x0026b] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.Program. (System.Collections.Generic.List`1[T] ) [0x000a0] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.Program.Main (System.String[] _args) [0x002ce] in <07e707e963e944de851ed00054ecf0f5>:0
mono_os_mutex_destroy: pthread_mutex_destroy failed with "Resource busy" (16)
Stacktrace:

at <unknown> <0xffffffff>
at System.IO.KqueueMonitor.CleanUp () [0x00072] in <f8bb3922e51744d9ace1aa6aedc374ea>:0
at System.IO.KqueueMonitor.DoMonitor () [0x00051] in <f8bb3922e51744d9ace1aa6aedc374ea>:0
at System.IO.KqueueMonitor.<Start>b__5_0 () [0x00000] in <f8bb3922e51744d9ace1aa6aedc374ea>:0
at System.Threading.ThreadHelper.ThreadStart_Context (object) [0x00014] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00071] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00000] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) [0x0002b] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <bb7b695b8c6246b3ac1646577aea7650>:0
at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) [0x0004d] in <bb7b695b8c6246b3ac1646577aea7650>:0

Native stacktrace:

elapsed time 00:00:07.3115970s for command "/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono" /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.0.401/bin/Igor.exe -j=8 -options="/var/folders/pw/9jx5_p5n1zn2ng7m0d_yq5h40000gn/GameMakerStudio2/GMS2TEMP/build.bff" -v -- Mac Run started at 08/21/2020 12:27:43
FAILED: Run Program Complete
For the details of why this build failed, please review the whole log above and also see your Compile Errors window.
 

superfuzz

Member
I suppose it's similar, maybe not exactly the same issue? Please help!?
I'm trying to build using Gamemaker ide v2.3.0.529 runtime v2.3.0.401 on a macOS Catalina v10.15.6


System.IO.IOException: Too many open files
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <bb7b695b8c6246b3ac1646577aea7650>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize, System.Boolean checkHost) [0x00067] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00000] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.IO.StreamReader..ctor (System.String path, System.Boolean detectEncodingFromByteOrderMarks) [0x0000d] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.IO.StreamReader..ctor (System.String path) [0x00000] in <bb7b695b8c6246b3ac1646577aea7650>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamReader..ctor(string)
at System.IO.File.ReadAllText (System.String path) [0x00000] in <bb7b695b8c6246b3ac1646577aea7650>:0
at GMAssetCompiler.GMObject.SubTypeAndEventFromEvent (GMAssetCompiler.GMAssets _a, GMAssetCompiler.GMEvent _ev) [0x0021c] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.GMObject.SetFromResource (GMAssetCompiler.GMAssets _a, YoYoStudio.Resources.IdReference _id) [0x0049d] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.GMObject..ctor (GMAssetCompiler.GMAssets _a, YoYoStudio.Resources.IdReference _id) [0x0007e] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.GMAssets. (YoYoStudio.Resources.GMProject , System.String ) [0x00d8e] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.Loader. (System.String ) [0x00162] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.Loader. (System.String ) [0x0026b] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.Program. (System.Collections.Generic.List`1[T] ) [0x000a0] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.Program.Main (System.String[] _args) [0x002ce] in <07e707e963e944de851ed00054ecf0f5>:0
mono_os_mutex_lock: pthread_mutex_lock failed with "Invalid argument" (22)

elapsed time 00:00:05.3888380s for command "/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono" /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.0.401/bin/Igor.exe -j=8 -options="/var/folders/7z/9cj8lyj95pd8l7dfqt2zf4gh0000gn/GameMakerStudio2/GMS2TEMP/build.bff" -v -- Mac Run started at 08/22/2020 20:58:19
FAILED: Run Program Complete
For the details of why this build failed, please review the whole log above and also see your Compile Errors window.
 

TehCupcakes

Member
I'm also having this issue. It's a new issue with the 2.3 update, as I was able to build the project fine on Mac with 2.2.

I followed all the advice I could find about increasing ulimit and setting it ridiculously high, but it does not seem to have any effect on the session GMS2 runs when building. See here:

Also happens when trying to clean target.

Checking for file descriptor count, mono-sgen seems to be the culprit which shows up with large numbers just before the build fails.

I added this:
Code:
export MONO_MANAGED_WATCHER=disabled
ulimit -n 500000
to my ~/.zshrc (zsh is my default shell)

Again, this doesn't seem to have any impact on the Game Maker build session. I'm kind of at a loss at this point.
 
I'm getting this same problem on OSX10.12.6, IDE v2.3.0.529, runtime v2.3.0.401

It works and builds the project fine on my windows 10 laptop, but that's no good to work on unfortunately...



"/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono" /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.0.401/bin/Igor.exe -j=8 -options="/var/folders/sd/vqjcvb296v71_kf5xw27tw3m0000gn/GameMakerStudio2/GMS2TEMP/build.bff" -v -- Mac Run

Loaded Macros from /Users/g_hawkins19/.config/GameMakerStudio2/Cache/GMS2CACHE/ZOE_0.16.0_7B8CE5A0_55571E9E/macros.json
Options: /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.0.401/bin/platform_setting_defaults.json
Options: /Users/g_hawkins19/.config/GameMakerStudio2/graeme_942123/local_settings.json
Options: /Users/g_hawkins19/.config/GameMakerStudio2/Cache/GMS2CACHE/ZOE_0.16.0_7B8CE5A0_55571E9E/targetoptions.json
Setting up the Asset compiler
/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.0.401/bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="ZOE_0.16.0_converted" /td="/var/folders/sd/vqjcvb296v71_kf5xw27tw3m0000gn/GameMakerStudio2/GMS2TEMP" /cd="/Users/g_hawkins19/.config/GameMakerStudio2/Cache/GMS2CACHE/ZOE_0.16.0_7B8CE5A0_55571E9E" /zpuf="/Users/g_hawkins19/.config/GameMakerStudio2/graeme_942123" /m=mac /tgt=2 /studio /llvmSource="/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.0.401/interpreted/" /nodnd /cfg="Default" /o="/var/folders/sd/vqjcvb296v71_kf5xw27tw3m0000gn/GameMakerStudio2/GMS2TEMP/ZOE_0.16.0_converted_559269E6_VM" /sh=True /optionsini="/var/folders/sd/vqjcvb296v71_kf5xw27tw3m0000gn/GameMakerStudio2/GMS2TEMP/ZOE_0.16.0_converted_559269E6_VM/options.ini" /cvm /baseproject="/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.0.401/BaseProject/BaseProject.yyp" "/Users/g_hawkins19/Desktop/work/current_projects/games/zoetrope_game/ZOE_0.16.0_converted/ZOE_0.16.0_converted.yyp" /preprocess
="/Users/g_hawkins19/.config/GameMakerStudio2/Cache/GMS2CACHE/ZOE_0.16.0_7B8CE5A0_55571E9E"
Found Project Format 2
ProjectFileWatcher:StartWatching:/Users/g_hawkins19/Desktop/work/current_projects/games/zoetrope_game/ZOE_0.16.0_converted
Started: 25/08/2020 11:09:31
Finished: 25/08/2020 11:09:35
Diff: 00:00:03.2078500
Loaded Project: ZOE_0.16.0_converted
-----------------------------------------------------------------------------
System.IO.IOException: Too many open files
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <bb7b695b8c6246b3ac1646577aea7650>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize, System.Boolean checkHost) [0x00067] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00000] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.IO.StreamReader..ctor (System.String path, System.Boolean detectEncodingFromByteOrderMarks) [0x0000d] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.IO.StreamReader..ctor (System.String path) [0x00000] in <bb7b695b8c6246b3ac1646577aea7650>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamReader..ctor(string)
at System.IO.File.ReadAllText (System.String path) [0x00000] in <bb7b695b8c6246b3ac1646577aea7650>:0
at GMAssetCompiler.GMObject.SubTypeAndEventFromEvent (GMAssetCompiler.GMAssets _a, GMAssetCompiler.GMEvent _ev) [0x0021c] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.GMObject.SetFromResource (GMAssetCompiler.GMAssets _a, YoYoStudio.Resources.IdReference _id) [0x0049d] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.GMObject..ctor (GMAssetCompiler.GMAssets _a, YoYoStudio.Resources.IdReference _id) [0x0007e] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.GMAssets. (YoYoStudio.Resources.GMProject , System.String ) [0x00d8e] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.Loader. (System.String ) [0x00162] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.Loader. (System.String ) [0x0026b] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.Program. (System.Collections.Generic.List`1[T] ) [0x000a0] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.Program.Main (System.String[] _args) [0x002ce] in <07e707e963e944de851ed00054ecf0f5>:0
mono_os_mutex_lock: pthread_mutex_lock failed with "Invalid argument" (22)

elapsed time 00:00:06.6222280s for command "/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono" /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.0.401/bin/Igor.exe -j=8 -options="/var/folders/sd/vqjcvb296v71_kf5xw27tw3m0000gn/GameMakerStudio2/GMS2TEMP/build.bff" -v -- Mac Run started at 08/25/2020 11:09:30
FAILED: Run Program Complete
For the details of why this build failed, please review the whole log above and also see your Compile Errors window.
 

gnysek

Member
This bug was reported in beta v13, but YYG still released it as "stable"... I don't understand why as this one is really critical and they were aware of it few days earlier.
 

Dan

YoYo Games Staff
YYG Staff
This is a Mono issue and we have had reports that installing a newer version of Mono will fix the problem immediately. We are still investigating any impact in moving Mono up to a much higher version for 2.3.1, but if you install Mono 6.10.0.104 yourself just now, then this should fix 2.3.0 and not require you to do anything with setting the OS limits higher.

https://download.mono-project.com/a...-MDK-6.10.0.104.macos10.xamarin.universal.pkg (from https://www.mono-project.com/download/stable/#download-mac)
 

superfuzz

Member
Indeed that does the trick,

(Installing the newer version of Mono fixed the "Too many open files" macOS build problem immediately!)

Thank you Dan!
 
This has actually taken me most of the day to hunt down and rectify.
Hello. I updated to the most recent version of GMS2, 2.3.0.529 on my Mac and my project won't run on my Mac anymore. Nothing in the compile errors tab. The only legible text above saying "FAILED" is "too many files open". What is this referring to? Closed all my tabs and still nothing. Thanks.

"/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono" /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.0.401/bin/Igor.exe -j=8 -options="/var/folders/pw/9jx5_p5n1zn2ng7m0d_yq5h40000gn/GameMakerStudio2/GMS2TEMP/build.bff" -v -- Mac Run

Loaded Macros from /Users/andrewfsimms/.config/GameMakerStudio2/Cache/GMS2CACHE/Arid_Jared_D0CB5F2B/macros.json
Options: /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.0.401/bin/platform_setting_defaults.json
Options: /Users/andrewfsimms/.config/GameMakerStudio2/andrewfsimms_2196652/local_settings.json
Options: /Users/andrewfsimms/.config/GameMakerStudio2/Cache/GMS2CACHE/Arid_Jared_D0CB5F2B/targetoptions.json
Setting up the Asset compiler
/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.0.401/bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="Arid Jared" /td="/var/folders/pw/9jx5_p5n1zn2ng7m0d_yq5h40000gn/GameMakerStudio2/GMS2TEMP" /cd="/Users/andrewfsimms/.config/GameMakerStudio2/Cache/GMS2CACHE/Arid_Jared_D0CB5F2B" /zpuf="/Users/andrewfsimms/.config/GameMakerStudio2/andrewfsimms_2196652" /m=mac /tgt=2 /studio /llvmSource="/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.0.401/interpreted/" /nodnd /cfg="Default" /o="/var/folders/pw/9jx5_p5n1zn2ng7m0d_yq5h40000gn/GameMakerStudio2/GMS2TEMP/Arid_Jared_67E723A1_VM" /sh=True /optionsini="/var/folders/pw/9jx5_p5n1zn2ng7m0d_yq5h40000gn/GameMakerStudio2/GMS2TEMP/Arid_Jared_67E723A1_VM/options.ini" /cvm /baseproject="/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.0.401/BaseProject/BaseProject.yyp" "/Users/andrewfsimms/GameMakerStudio2/Arid Jared/Arid Jared.yyp" /preprocess="/Users/andrewfsimms/.config/GameMakerStudio2/Cache/GMS2CACHE/Arid_Jared_D0CB5F2B
"
Found Project Format 2
ProjectFileWatcher:StartWatching:/Users/andrewfsimms/GameMakerStudio2/Arid Jared
Started: 8/21/2020 12:27:46 PM
Finished: 8/21/2020 12:27:48 PM
Diff: 00:00:02.1410680
Loaded Project: Arid Jared
-----------------------------------------------------------------------------
System.IO.IOException: Too many open files
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <bb7b695b8c6246b3ac1646577aea7650>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize, System.Boolean checkHost) [0x00067] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00000] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.IO.StreamReader..ctor (System.String path, System.Boolean detectEncodingFromByteOrderMarks) [0x0000d] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.IO.StreamReader..ctor (System.String path) [0x00000] in <bb7b695b8c6246b3ac1646577aea7650>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamReader..ctor(string)
at System.IO.File.ReadAllText (System.String path) [0x00000] in <bb7b695b8c6246b3ac1646577aea7650>:0
at GMAssetCompiler.GMObject.SubTypeAndEventFromEvent (GMAssetCompiler.GMAssets _a, GMAssetCompiler.GMEvent _ev) [0x0021c] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.GMObject.SetFromResource (GMAssetCompiler.GMAssets _a, YoYoStudio.Resources.IdReference _id) [0x0049d] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.GMObject..ctor (GMAssetCompiler.GMAssets _a, YoYoStudio.Resources.IdReference _id) [0x0007e] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.GMAssets. (YoYoStudio.Resources.GMProject , System.String ) [0x00d8e] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.Loader. (System.String ) [0x00162] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.Loader. (System.String ) [0x0026b] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.Program. (System.Collections.Generic.List`1[T] ) [0x000a0] in <07e707e963e944de851ed00054ecf0f5>:0
at GMAssetCompiler.Program.Main (System.String[] _args) [0x002ce] in <07e707e963e944de851ed00054ecf0f5>:0
mono_os_mutex_destroy: pthread_mutex_destroy failed with "Resource busy" (16)
Stacktrace:

at <unknown> <0xffffffff>
at System.IO.KqueueMonitor.CleanUp () [0x00072] in <f8bb3922e51744d9ace1aa6aedc374ea>:0
at System.IO.KqueueMonitor.DoMonitor () [0x00051] in <f8bb3922e51744d9ace1aa6aedc374ea>:0
at System.IO.KqueueMonitor.<Start>b__5_0 () [0x00000] in <f8bb3922e51744d9ace1aa6aedc374ea>:0
at System.Threading.ThreadHelper.ThreadStart_Context (object) [0x00014] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00071] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00000] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) [0x0002b] in <bb7b695b8c6246b3ac1646577aea7650>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <bb7b695b8c6246b3ac1646577aea7650>:0
at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) [0x0004d] in <bb7b695b8c6246b3ac1646577aea7650>:0

Native stacktrace:

elapsed time 00:00:07.3115970s for command "/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono" /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.0.401/bin/Igor.exe -j=8 -options="/var/folders/pw/9jx5_p5n1zn2ng7m0d_yq5h40000gn/GameMakerStudio2/GMS2TEMP/build.bff" -v -- Mac Run started at 08/21/2020 12:27:43
FAILED: Run Program Complete
For the details of why this build failed, please review the whole log above and also see your Compile Errors window.
Thank you for posting this!! It is November 3. I'm brand new to GM having bought the Desktop version this morning and nowhere did YoYo inform me this problem existed and was known.
 
This is a Mono issue and we have had reports that installing a newer version of Mono will fix the problem immediately. We are still investigating any impact in moving Mono up to a much higher version for 2.3.1, but if you install Mono 6.10.0.104 yourself just now, then this should fix 2.3.0 and not require you to do anything with setting the OS limits higher.

https://download.mono-project.com/a...-MDK-6.10.0.104.macos10.xamarin.universal.pkg (from https://www.mono-project.com/download/stable/#download-mac)
Hi Dan. Just a polite question. If this was a known issue back as far as August, would it have been too hard to post this on the Mac download page so when newbie muppets like myself paid for the app and spent a whole morning trying to figure out why it didn't run, that time could have been saved. Thank you.
 

helge

Member
This is a Mono issue and we have had reports that installing a newer version of Mono will fix the problem immediately. We are still investigating any impact in moving Mono up to a much higher version for 2.3.1, but if you install Mono 6.10.0.104 yourself just now, then this should fix 2.3.0 and not require you to do anything with setting the OS limits higher.

https://download.mono-project.com/a...-MDK-6.10.0.104.macos10.xamarin.universal.pkg (from https://www.mono-project.com/download/stable/#download-mac)
Thanks!
 
Top