onivim / oni

Oni: Modern Modal Editing - powered by Neovim
https://www.onivim.io
MIT License
11.36k stars 300 forks source link

oni fails to launch with segfault #2642

Open solsticedhiver opened 5 years ago

solsticedhiver commented 5 years ago

As other electron based app, on new linux distro shipping glibc 2.28, oni 0.3.6 crashes at startup with a segfault, using the .deb packaged version.

I suspect it is that bug https://github.com/electron/electron/issues/13972

Just rebuilt the package with a recent electron version, please. To make oni usable and installable on any newer distro.

I have not tested the git version but I except it to work fine, unless it's the same electron verqion

Thanks.

razcore-rad commented 5 years ago

I can confirm this happens for me on a new ubuntu 18.10 install as well:

 ✓ 23:16:razvan@alienware:~
 $ oni
Segmentation fault (core dumped)
CrossR commented 5 years ago

I think this was actually fixed over in #2555, but we haven't put out a release since then. The pre-release versions may work, but I can't quite remember if they have that PR in or not.

meridionaljet commented 5 years ago

This occurs on Fedora 29 as well.

In addition, building the most recent version of ONI myself fails because somewhere Node version >=5 and <=9 is required, but Fedora 29 has Node v10.x. I'm therefore left with no easy way of installing ONI on Fedora at the moment.

razcore-rad commented 5 years ago

I can confirm that the release 0.3.7 beta2 fixes the issue

nghialm269 commented 5 years ago

This occurs on Fedora 29 as well.

In addition, building the most recent version of ONI myself fails because somewhere Node version >=5 and <=9 is required, but Fedora 29 has Node v10.x. I'm therefore left with no easy way of installing ONI on Fedora at the moment.

Remove the lines containing upath and its children in the yarn.lock file and run yarn install again.

trev-dev commented 5 years ago

As an insider, I've tried to get the 0.3.7 rpm download and was unable to do do so. This is the image I get when I click the link: screenshot from 2018-11-12 21-20-43

reinboldg commented 5 years ago

As an insider, I've tried to get the 0.3.7 rpm download and was unable to do do so. This is the image I get when I click the link: screenshot from 2018-11-12 21-20-43

You can download 0.3.7 rpm here: https://github.com/onivim/oni/releases/download/v0.3.7-beta3/Oni-0.3.7-x86_64-linux.rpm