<h3 dir="auto">Preflight Checklist</h3>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li>
<p dir="auto"><strong>Electron Version:</strong></p>
<ul dir="auto">
<li>7.1.3</li>
<li>8.0.0-beta</li>
<li>9.0.0-nightly.20191202</li>
</ul>
</li>
<li>
<p dir="auto"><strong>Operating System:</strong></p>
<ul dir="auto">
<li>Centos/RHEL 8 aarch64</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">Electron running</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">Electron failing with segmentation fault.</p>
<h3 dir="auto">To Reproduce</h3>
<ul dir="auto">
<li>Run <code class="notranslate">npm install electron</code></li>
<li>Run <code class="notranslate">electron</code> binary</li>
</ul>



<h3 dir="auto">Additional Information</h3>
<p dir="auto">Output from <code class="notranslate">valgrind</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="==1233== Memcheck, a memory error detector
==1233== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==1233== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
==1233== Command: ./electron
==1233==
==1233==
==1233== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==1233==  Access not within mapped region at address 0x8
==1233==    at 0x68AADBC: _dl_relocate_object (in /usr/lib64/ld-2.28.so)
==1233==    by 0x68A3AEB: dl_main (in /usr/lib64/ld-2.28.so)
==1233==    by 0x68B50BB: _dl_sysdep_start (in /usr/lib64/ld-2.28.so)
==1233==    by 0x68A1903: _dl_start_final (in /usr/lib64/ld-2.28.so)
==1233==    by 0x68A1B7F: _dl_start (in /usr/lib64/ld-2.28.so)
==1233==    by 0x68A1087: ??? (in /usr/lib64/ld-2.28.so)"><pre class="notranslate"><code class="notranslate">==1233== Memcheck, a memory error detector
==1233== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==1233== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
==1233== Command: ./electron
==1233==
==1233==
==1233== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==1233==  Access not within mapped region at address 0x8
==1233==    at 0x68AADBC: _dl_relocate_object (in /usr/lib64/ld-2.28.so)
==1233==    by 0x68A3AEB: dl_main (in /usr/lib64/ld-2.28.so)
==1233==    by 0x68B50BB: _dl_sysdep_start (in /usr/lib64/ld-2.28.so)
==1233==    by 0x68A1903: _dl_start_final (in /usr/lib64/ld-2.28.so)
==1233==    by 0x68A1B7F: _dl_start (in /usr/lib64/ld-2.28.so)
==1233==    by 0x68A1087: ??? (in /usr/lib64/ld-2.28.so)
</code></pre></div>
<p dir="auto">Also tried downloading <code class="notranslate">v8.0.0-beta.4</code> zip file from releases tab and <code class="notranslate">9.0.0-nightly.20191202</code> from npm. Result is the same.</p>
<h3 dir="auto">Preflight Checklist</h3>
<ul dir="auto">
<li>[ x ] I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li>[ x ] I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li>[ x ] I have searched the issue tracker for an issue that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong><br>
7.1.2</li>
<li><strong>Operating System:</strong><br>
Ubuntu 18.04 x64</li>
<li><strong>Last Known Working Electron version:</strong><br>
6.1.2</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">App should not segfault on start</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">App is segfaulting - after it worked for several launches without issues.</p>
<h3 dir="auto">To Reproduce</h3>
<p dir="auto">I can't offer a reproduceable minimal demo so far.</p>
<p dir="auto">I am working on a Linux Ubuntu machine on my project.<br>
Recently i upgraded from electron 5 over 6 to 7.</p>
<p dir="auto">Since some days i am realizing an issue where i am starting my app by <code class="notranslate">npm run start</code> and it instantly quits without feedback. After jumping back and forth between electron6 and electron7 it seems like that to me:</p>
<ul dir="auto">
<li>using electron 6.1.2 -&gt; app starts as expected</li>
<li>upgrading to electron 7.1.2 -&gt; app starts as expected BUT</li>
</ul>
<p dir="auto">After several launches the app is not starting properly anymore.</p>
<p dir="auto">This means:</p>
<ul dir="auto">
<li>i do start running: <code class="notranslate">npm run start</code></li>
<li>app quits without error output</li>
</ul>
<p dir="auto"><strong>According to /var/log/syslog:</strong></p>
<p dir="auto"><code class="notranslate">Nov 21 15:10:15 localhost kernel: [273917.152073] electron[26171]: segfault at 0 ip 0000562cace03824 sp 00007ffe614b7c00 error 4 in electron[562caac18000+53a6000]</code></p>
<p dir="auto"><strong>According to sentry:</strong></p>
<p dir="auto"><code class="notranslate">Fatal Error: SIGSEGV /SEGV_MAPERR</code></p>
<p dir="auto"><strong>At this point i have to:</strong></p>
<ul dir="auto">
<li>downgrade to electron 6.1.2 -&gt; starts as expected</li>
<li>remove folder <code class="notranslate">node_modules</code></li>
<li>execute <code class="notranslate">npm install</code></li>
<li>update to electron 7.1.2 -&gt; starts for some launches</li>
<li>app runs for several times, then crashes while using it.  From that point on i can't start anymore and the loop jumps back to the beginning.</li>
</ul>
<p dir="auto">Any idea how to troubleshoot this segfault?<br>
Should i add additional information from sentry? if so - what?</p>
<p dir="auto">Some aspects reminds me to</p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="473066179" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/19468" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/19468/hovercard" href="https://github.com/electron/electron/issues/19468">#19468</a> (but my dev environment is a linux machine)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="474196701" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/19511" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/19511/hovercard" href="https://github.com/electron/electron/issues/19511">#19511</a> (not packaged here)</li>
</ul>