You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kernel Triage:
VM - (arg = 0x0) pmap_enter retried due to resource shortage
VM - (arg = 0x0) pmap_enter retried due to resource shortage
VM - (arg = 0x0) pmap_enter retried due to resource shortage
VM - (arg = 0x0) pmap_enter retried due to resource shortage
VM - (arg = 0x0) pmap_enter retried due to resource shortage
Thread 0 Crashed:: CrRendererMain Dispatch queue: com.apple.main-thread
0 Electron Framework 0x11a02280e node::AsyncResource::get_async_id() const + 10793118
1 Electron Framework 0x11a022829 node::AsyncResource::get_async_id() const + 10793145
2 Electron Framework 0x11a022846 node::AsyncResource::get_async_id() const + 10793174
3 Electron Framework 0x11b66bd78 node::AsyncResource::get_async_id() const + 34162184
4 Electron Framework 0x117ce01f0 v8::internal::V8::FatalProcessOutOfMemory
This is what happens when you exceed heap limitations in V8. This is not an issue with Electron - it's a function of the app you've written and the V8 JavaScript engine underpinning Chromium/Node.js. See #22705 (comment) for potential paths forward.
We did see this and profile the app, it never goes over 100MB usage.
What solved this error was entitlement changes,
In electron forge you cant seem to specify different entitlements for different things
We moved to electron builder and by specifying entitlement files correctly, the app now ran as expected
For anyone facing an issue like this in future - the Login Helper entitlement was of particular importance, we think this is what was crashing our app, When we put com.security.apple.inherit within this, it crashed every time, but when we just included ONLY com.security.apple.sandbox, also ONLY for the mas.loginhelper entitlement (due to us deploying to the app store), The app worked every time.
Preflight Checklist
Electron Version
26.2.1
What operating system are you using?
macOS
Operating System Version
macOS Ventura
What arch are you using?
arm64 (including Apple Silicon)
Last Known Working Electron version
No response
Expected Behavior
Deploying App to App Store via using MAS format from
(neither work - both get same error)
Actual Behavior
Steps:
Testcase Gist URL
No response
Additional Information
I dont think i can create a fiddle for this - its for the desktop versions - but i am getting the same error from the following tries:
All get the following crash:
https://pastebin.com/E61mmx8k
The text was updated successfully, but these errors were encountered: