-
Notifications
You must be signed in to change notification settings - Fork 9
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
Linux binary segmentation fault. #42
Comments
Did you try installing from source? If so, were you able to get it to run? Packaging these apps can be tricky, and I haven't tested it on Debian or Ubuntu 19.04, I think I tested on Ubuntu 16.04. I will try testing in a few more VMs when I update the npm packages and fix a few bugs. |
Yes, I installed from source ( I suspect the segfault is due to different / incompatible versions of shared libraries between the build OS and the OS where the app is being run. |
Okay, that's good. Building kind of sucks, as you have to build for each platform (Windows/Mac/Linux) on that platform. I used electron packager for it and built for linux/Mac in VMs. You can see the commands I used in the You pay for the convenience of cross-platform app development with a mildly sucky build process, but it really is nice to not have to make any changes between platforms. You're likely right on that front. I will test on a few different versions of Ubuntu this time around to see if building on one versus the others helps compatibility. |
(I am not sure the method used bellow is the recommended method to build an electron app, I just did some very quick reading). Ok, I just built the package with electron locally, and it segfaulted again. I did:
Which resulted in:
Then I did:
However, running the executable resulted in a segmentation fault again. Then it occurred to me I forgot the
The app then loads successfully, but do not work. Typing any gene name fails to retrieve and/or load information - the app works correctly if started with |
Hmm, I'd have to look at the console, but my guess is that it's because you're using the npm version of ProtVista, whereas I had to use a version with some slight changes, so I have it install from my fork. The EBI folks were very helpful in getting it to work/format correctly, but that's a pain I hope I don't have to go through again. |
You are probably right about the ProtVista, in the previous build electron complained about it missing from modules and when I issued I have installed Genotify from 1) current master, 2) from 1.2.2 branch, and 3) from the 1.2.1 release tarball. All times, electron didn't complain about missing Protvista, and the app built and worked correctly. I don't know why it complained about failing to find ProtVista a couple of days ago, but now it is working. Maybe it is because of an update electron (electron 2.0.3 failed to locate ProtVista, but now with electron 2.0.18 it worked). So it is either an unknown PEBCAK, or outdated electron (which would mean the cause of the PEBCAK has been pin-pointed). |
The linux binary fails with segmentation fault in current Debian testing and Ubuntu 19.04.
Steps to reproduce:
Debian system information:
Ubuntu system information:
Let me know if more information is needed.
The text was updated successfully, but these errors were encountered: