Oni: electron segfaults on startup

Created on 28 Aug 2017  路  8Comments  路  Source: onivim/oni

Oni ran fine till the first segfault:

Aug 28 11:04:35 maxxgubbl kernel: electron[26855]: segfault at 208 ip 00007f2c18421ac5 sp 00007ffe196eeed0 error 4 in libnode.so[7f2c175b1000+12b3000]
Aug 28 11:04:35 maxxgubbl systemd-coredump[26870]: Process 26855 (electron) of user 1000 dumped core.

                                                   Stack trace of thread 26855:
                                                   #0  0x00007f2c18421ac5 uv_async_send (libnode.so)
                                                   #1  0x0000000003bb156e _ZN4atom12NodeBindingsD1Ev (electron)
                                                   #2  0x0000000003bb2909 _ZN4atom17NodeBindingsLinuxD0Ev (electron)
                                                   #3  0x0000000003bb9681 _ZN4atom18AtomRendererClientD1Ev (electron)
                                                   #4  0x0000000003bb96c9 _ZN4atom18AtomRendererClientD0Ev (electron)
                                                   #5  0x0000000003b88d09 _ZN4atom16AtomMainDelegateD2Ev (electron)
                                                   #6  0x0000000003b88c3f main (electron)
                                                   #7  0x00007f2c106074ca __libc_start_main (libc.so.6)
                                                   #8  0x000000000059fd79 _start (electron)

Then on every start it segfaults ... but I can use it as always. I switched to latest master with same problem. Also I installed latest node LTS version 6.11.2, also no changes. I now updated electron which seems to do the trick:

2017-08-28-111235_570x322_scrot

bug crash

All 8 comments

Oh wow, this is the first electron segfault I've hit (in this project, at least!). Thanks for reporting @hoschi , and letting me know the electron upgrade fixed it.

Seems it isn't that easy :cry: Now the TypeScriptServer won't start anymore:
2017-08-29-143748_3309x1384_scrot

Very strange!

Just a couple questions:
1) What does process.execPath return in the console?
2) Does /home/hoschi/repos/oni-master/node_modules/electron/dist/electron not exist on your file system?

I would try closing Oni completely (including all electron processes, and reopening). It might be trying to reference the previous electron build

I would try closing Oni completely (including all electron processes, and reopening). It might be trying to reference the previous electron build

that did the trick :bowing_man:

Excellent! 馃憤 I'll keep this open to track the updating to Electron, which seems to fix some of these crashes.

Opened #679 to track the upgrade blocker (issues with the makeSingleInstance API)

Fixed by #695

I moved again to master, works great :+1:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

magopian picture magopian  路  3Comments

badosu picture badosu  路  3Comments

IvRRimum picture IvRRimum  路  3Comments

badosu picture badosu  路  3Comments

tcoopman picture tcoopman  路  3Comments