Issue 1:
Preflight Checklist

I have read the Contributing Guidelines for this project.

I agree to follow the Code of Conduct that this project adheres to.

I have searched the issue tracker for an issue that matches the one I want to file, without success.

Issue Details

Electron Version:

7.1.3

8.0.0-beta

9.0.0-nightly.20191202

Operating System:

Centos/RHEL 8 aarch64

Expected Behavior

Electron running

Actual Behavior

Electron failing with segmentation fault.

To Reproduce

Run npm install electron

Run electron binary

Additional Information

Output from valgrind:

==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)

Also tried downloading v8.0.0-beta.4 zip file from releases tab and 9.0.0-nightly.20191202 from npm. Result is the same.

Issue 2:
Preflight Checklist

[ x ] I have read the Contributing Guidelines for this project.

[ x ] I agree to follow the Code of Conduct that this project adheres to.

[ x ] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Issue Details

Electron Version:

7.1.2

Operating System:

Ubuntu 18.04 x64

Last Known Working Electron version:

6.1.2

Expected Behavior

App should not segfault on start

Actual Behavior

App is segfaulting - after it worked for several launches without issues.

To Reproduce

I can't offer a reproduceable minimal demo so far.

I am working on a Linux Ubuntu machine on my project.

Recently i upgraded from electron 5 over 6 to 7.

Since some days i am realizing an issue where i am starting my app by npm run start and it instantly quits without feedback. After jumping back and forth between electron6 and electron7 it seems like that to me:

using electron 6.1.2 -> app starts as expected

upgrading to electron 7.1.2 -> app starts as expected BUT

After several launches the app is not starting properly anymore.

This means:

i do start running: npm run start

app quits without error output

According to /var/log/syslog:

Nov 21 15:10:15 localhost kernel: [273917.152073] electron[26171]: segfault at 0 ip 0000562cace03824 sp 00007ffe614b7c00 error 4 in electron[562caac18000+53a6000]

According to sentry:

Fatal Error: SIGSEGV /SEGV_MAPERR

At this point i have to:

downgrade to electron 6.1.2 -> starts as expected

remove folder node_modules

execute npm install

update to electron 7.1.2 -> starts for some launches

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.

Any idea how to troubleshoot this segfault?

Should i add additional information from sentry? if so - what?

Some aspects reminds me to

#19468 (but my dev environment is a linux machine)

#19511 (not packaged here)