Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault on Debian #19

Open
Csardelacal opened this issue Oct 25, 2019 · 4 comments
Open

Segmentation fault on Debian #19

Csardelacal opened this issue Oct 25, 2019 · 4 comments
Labels

Comments

@Csardelacal
Copy link

This seems to be a similar issue to the one others are having, but mine is not related to libgconf. Reinstalling the beta Caret package didn't help.

The only output I get is Segmentation fault, the program doesn't continue. I'm running Debian on the testing channel. The app runs fine on Fedora 30.

@astoilkov
Copy link
Contributor

Hi,

Does Caret non-beta release work? Have the same thing happened with other apps (for example other Electron-based apps like VSCode, Slack)?

Have you seen the two issues below which also mention errors related to libgconf?

Thank you for your cooperation.

@Csardelacal
Copy link
Author

Csardelacal commented Oct 26, 2019 via email

@astoilkov astoilkov added the bug label Oct 26, 2019
@astoilkov
Copy link
Contributor

Thank you very much. I wrongly read the message that it was related to libgconf. Sorry for the misunderstanding.

If we use the same Electron version as the other Electron apps everything should be fine. We will investigate. Thanks!

@RogueScholar
Copy link

For what it's worth, I used a dirty workaround and just replaced the libnode.so file in /usr/share/caret-beta with a known working one from another Electron app I use called Zenkit. It was literally as simple as:

sudo mv /usr/share/caret-beta/libnode.so /usr/share/caret-beta/libnode.so.bak
sudo cp /opt/Zenkit/libnode.so /usr/share/caret-beta
sudo chown root:root /usr/share/caret-beta/libnode.so
sudo chmod 0755 /usr/share/caret-beta/libnode.so

These days, it's hard to imagine any legit PC user getting along without a few genuflections to the Electron Gods installed already...especially if they're using Linux. It took me a couple tries, copying in the libnode.so file from various apps I have resident to find one that brought the magician to the birthday party. 😉 You can get a printout of all the libnode.so files on your system complete with mtime and size with the following command line fu:

sudo find / -type f -name 'libnode.so' -exec ls -la '{}' \;

My sample size was too small to be very instructive, but I approached the list from newest to oldest, skipping any of them that were more than 1MiB different in size from the one that ships with Caret (which of course also appears in the list for easy comparison). Could just as easily have been dumb luck, but I got it working on the second attempt following that rubric. Hope this helps someone else along the way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants