Old 10-16-2019, 04:19 PM   #1
ÄxxlForce
Human being with feelings
 
Join Date: Sep 2015
Posts: 44
Default [macOS] crash: "too many open files"

When I'm trying to open one of my projects where I made a lot of drum slip editing, I get the following crash dump:

Code:
Process:               REAPER [684]
Path:                  /Applications/REAPER64.app/Contents/MacOS/REAPER
Identifier:            com.cockos.reaper
Version:               5.98.400 (5.98.400)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           REAPER [684]
User ID:               501

Date/Time:             2019-10-17 00:26:34.936 +0200
OS Version:            Mac OS X 10.14.5 (18F132)
Report Version:        12
Anonymous UUID:        4F3BF26A-F094-AE96-94C0-3B461281AA75


Time Awake Since Boot: 5200 seconds

System Integrity Protection: enabled

Crashed Thread:        0  reaper  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
terminating with uncaught exception of type std::__1::system_error: random_device failed to open /dev/urandom: Too many open files
abort() called
Increasing the file limit works as a workaround:
Code:
sudo launchctl limit maxfiles 64000 524288
I don't know if there is something that can be done about that from the application, but maybe the error handling can be improved.
ÄxxlForce is offline   Reply With Quote
Old 10-17-2019, 08:41 PM   #2
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 12,490
Default

Can you show us the stack trace for thread 0?
Justin is offline   Reply With Quote
Old 10-18-2019, 08:39 AM   #3
ÄxxlForce
Human being with feelings
 
Join Date: Sep 2015
Posts: 44
Default

sure, thanks!

Code:
Thread 0 Crashed:: reaper  Dispatch queue: com.apple.main-thread
0   com.slatedigital.fgs          	0x0000000190bd8111 PreVerifier_0 + 699545
1   com.slatedigital.fgs          	0x0000000190abccd4 PaceAP_PreVerifier0 + 529
2   com.slatedigital.fgs          	0x00000001914cb76e plugin::PluginInfo::addChannelsPartition(std::__1::vector<plugin::ChannelsConfiguration const*, std::__1::allocator<plugin::ChannelsConfiguration const*> > const&, plugin::ChannelsInfo const*) + 4302
3   com.slatedigital.fgs          	0x00000001913d09ba fgs_common::FgsPluginInfo::initialize() + 842
4   com.slatedigital.fgs          	0x000000019100acf5 fgs_plugin::fgs::getPluginInfo() + 21
5   com.slatedigital.fgs          	0x0000000191004dc9 fgs_plugin::FgsEplModule::getPluginInfo() const + 9
6   com.slatedigital.vmr          	0x000000018b2efe98 ACFShutdown + 1045624
7   com.slatedigital.vmr          	0x000000018b2528b6 ACFShutdown + 401046
8   com.slatedigital.vmr          	0x000000018b25005d ACFShutdown + 390717
9   com.slatedigital.vmr          	0x000000018b46b9c5 ACFShutdown + 2600869
10  com.slatedigital.vmr          	0x000000018b482488 ACFShutdown + 2693736
11  com.slatedigital.vmr          	0x000000018b43cc35 ACFShutdown + 2408981
12  com.slatedigital.vmr          	0x000000018b248979 ACFShutdown + 360281
13  com.slatedigital.vmr          	0x000000018b89d80d bundleExit + 63901
14  com.slatedigital.vmr          	0x000000018b47573a ACFShutdown + 2641178
15  com.slatedigital.vmr          	0x000000018b47d296 ACFShutdown + 2672758
16  com.slatedigital.vmr          	0x000000018b24d312 ACFShutdown + 379122
17  com.slatedigital.vmr          	0x000000018b24d26a ACFShutdown + 378954
18  com.slatedigital.vmr          	0x000000018b5846a6 ACFShutdown + 3751046
19  com.slatedigital.vmr          	0x000000018b5869dc ACFShutdown + 3760060
20  com.slatedigital.vmr          	0x000000018b5b1edf ACFShutdown + 3937471
21  com.slatedigital.vmr          	0x000000018b8886b5 ACFShutdown + 6913173
22  com.slatedigital.vmr          	0x000000018b8883b7 ACFShutdown + 6912407
23  com.cockos.reaper             	0x00000001020dc817 VST_HostedPlugin::OpenFromUID(char const*, int, char const*, WDL_FastString*) + 7463
24  com.cockos.reaper             	0x000000010210dc65 FxDsp::LoadState(char const*, ProjectStateContext*, bool, bool) + 2917
25  com.cockos.reaper             	0x000000010211f0de FxChain::LoadState_internal(ProjectStateContext*, bool, int, bool) + 1198
26  com.cockos.reaper             	0x0000000102123e25 FxChain::LoadState(char const*, ProjectStateContext*, int, bool) + 101
27  com.cockos.reaper             	0x0000000101f4a579 MediaTrack::LoadState(char const*, ProjectStateContext*, int, int, WDL_PtrList<MediaTrack>*, bool, bool) + 9881
28  com.cockos.reaper             	0x0000000101e88606 do_load(ReaProject*, ProjectStateContext*, int) + 18742
29  com.cockos.reaper             	0x0000000101e90f82 LoadProjectFromContext(ReaProject*, ProjectStateContext*, char const*, int) + 466
30  com.cockos.reaper             	0x0000000101e903e1 LoadProject(ReaProject*, char const*, int*, int) + 817
31  com.cockos.reaper             	0x0000000101e0ad5e DoProjectLoad(char const*, bool, int) + 1230
32  com.cockos.reaper             	0x0000000101e08a45 Main_openProject(char const*) + 1061
33  com.cockos.reaper             	0x0000000101dc233d Main_OnCommandEx2(int, int, ReaProject*) + 75629
34  com.cockos.reaper             	0x0000000101e0ce1d Main_OnCommandEx(int, int, ReaProject*) + 29
35  com.cockos.reaper             	0x00000001020a3057 KBD_OnMainActionEx(int, int, int, int, HWND__*, ReaProject*) + 151
36  com.cockos.reaper             	0x00000001023bd537 MainProc(HWND__*, unsigned int, unsigned long, long) + 6487
37  ???                           	0x0000000000000111 0 + 273
ÄxxlForce is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:49 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.