<ul dir="auto">
<li>Electron version: 1.21</li>
<li>Operating system: OS X 10.11.2 (15C50)</li>
</ul>
<p dir="auto">Electron is called by VMD:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ vmd --versions
vmd:       1.26.2
electron:  1.2.1
node:      6.1.0
chrome:    51.0.2704.63
v8:        5.1.281.47
openssl:   1.0.2h
zlib:      1.2.8"><pre class="notranslate"><code class="notranslate">$ vmd --versions
vmd:       1.26.2
electron:  1.2.1
node:      6.1.0
chrome:    51.0.2704.63
v8:        5.1.281.47
openssl:   1.0.2h
zlib:      1.2.8
</code></pre></div>
<p dir="auto">I'm having trouble reproducing it outside my environment for you.  The short version is, Emacs has a VMD preview mode, which ultimately shells out to VMD, which calls Electron like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/usr/local/lib/node_modules/vmd/node_modules/electron-prebuilt/dist/Electron.app/Contents/MacOS/Electron  /usr/local/lib/node_modules/vmd/main/main.js /tmp/vmd-preview"><pre class="notranslate"><code class="notranslate">/usr/local/lib/node_modules/vmd/node_modules/electron-prebuilt/dist/Electron.app/Contents/MacOS/Electron  /usr/local/lib/node_modules/vmd/main/main.js /tmp/vmd-preview
</code></pre></div>
<p dir="auto">I'm hoping the stack trace is enough to identify the issue:</p>
<p dir="auto"><a href="https://github.com/electron/electron/files/320799/crash.txt">crash.txt</a></p>
<ul dir="auto">
<li><strong>Version</strong>: v6.0.0</li>
<li><strong>Platform</strong>: OSX: <code class="notranslate">Darwin steph-mbp 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64</code></li>
<li><strong>Subsystem</strong>: GNU Emacs 25.0.93.1 (might affect other clients?)</li>
</ul>
<p dir="auto">After upgrading 6.0, I can't run <code class="notranslate">npm</code> in an Emacs subshell because it crashes on any call to <code class="notranslate">fs.access</code>; I'm aware this might be Emacs-specific (works fine in iTerm + ZSH) but in the slim case this is an actual regression I'm attaching the full stacktrace from my system.</p>
<p dir="auto"><a href="https://github.com/nodejs/node/files/248513/node_2016-05-04-104139_Stephanes-MacBook-Pro.crash.txt">node_2016-05-04-104139_Stephanes-MacBook-Pro.crash.txt</a></p>