Closed
Description
- Electron version: 2.0-beta.7
- Operating system: macOS 10.13.4
- Last known working Electron version: 1.7.9
Expected behavior
It should not crash.
Actual behavior
It crashes.
How to reproduce
- open a terminal
export NODE_OPTIONS=--max-old-space-size=4096
./Electron
Output:
Segmentation fault: 11
Process: Electron [36848]
Path: /Users/USER/Desktop/*/Electron.app/Contents/MacOS/Electron
Identifier: Electron
Version: 2.0.0 (2.0.0)
Code Type: X86-64 (Native)
Parent Process: bash [33208]
Responsible: Electron [36848]
User ID: 501
Date/Time: 2018-04-24 11:16:03.250 +0200
OS Version: Mac OS X 10.13.4 (17E199)
Report Version: 12
Anonymous UUID: E22FC843-9C95-2329-B911-4033726E6AFD
Sleep/Wake UUID: 8E3050B7-C177-4084-A5E0-7C8406AEB847
Time Awake Since Boot: 24000 seconds
Time Since Wake: 740 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
VM Regions Near 0:
-->
__TEXT 000000010d9f6000-000000010d9f7000 [ 4K] r-x/rwx SM=COW /Users/USER/Desktop/*/Electron.app/Contents/MacOS/Electron
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libnode.dylib 0x000000010dc1bf7b node::Init(int*, char const**, int*, char const***) + 747 (node.cc:4641)
1 com.github.electron.framework 0x000000010f2fc879 atom::NodeBindings::Initialize() + 41 (node_bindings.cc:180)
2 com.github.electron.framework 0x000000010f2681f0 atom::AtomBrowserMainParts::PostEarlyInitialization() + 192 (atom_browser_main_parts.cc:135)
3 com.github.electron.framework 0x000000010f6ce679 content::BrowserMainLoop::EarlyInitialization() + 233 (browser_main_loop.cc:613)
4 com.github.electron.framework 0x000000010f6d42a2 content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams const&) + 610 (browser_main_runner.cc:111)
5 com.github.electron.framework 0x000000010f6cde44 content::BrowserMain(content::MainFunctionParams const&) + 100 (browser_main.cc:42)
6 com.github.electron.framework 0x000000010f617030 content::ContentMainRunnerImpl::Run() + 368 (content_main_runner.cc:686)
7 com.github.electron.framework 0x000000011120c494 service_manager::Main(service_manager::MainParams const&) + 2772 (main.cc:469)
8 com.github.electron.framework 0x000000010f615e44 content::ContentMain(content::ContentMainParams const&) + 68 (content_main.cc:19)
9 com.github.electron.framework 0x000000010f1c3cc4 AtomMain + 68 (atom_library_main.mm:24)
10 com.github.electron 0x000000010d9f6f26 main + 38 (atom_main.cc:185)
11 libdyld.dylib 0x00007fff5b3d3015 start + 1