oni icon indicating copy to clipboard operation
oni copied to clipboard

oni fails to launch with segfault

Open solsticedhiver opened this issue 7 years ago • 7 comments

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.

solsticedhiver avatar Oct 19 '18 11:10 solsticedhiver

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)

razcore-rad avatar Oct 28 '18 21:10 razcore-rad

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.

CrossR avatar Oct 28 '18 22:10 CrossR

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.

meridionaljet avatar Nov 01 '18 12:11 meridionaljet

I can confirm that the release 0.3.7 beta2 fixes the issue

razcore-rad avatar Nov 02 '18 11:11 razcore-rad

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.

nghialm269 avatar Nov 02 '18 12:11 nghialm269

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

trev-dev avatar Nov 13 '18 05:11 trev-dev

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

reinboldg avatar Nov 23 '18 09:11 reinboldg