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

v3.1.2 Linux (64-bit) release core dumps immediately #271

Open
irlittz opened this issue May 11, 2021 · 3 comments
Open

v3.1.2 Linux (64-bit) release core dumps immediately #271

irlittz opened this issue May 11, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@irlittz
Copy link

irlittz commented May 11, 2021

I'm running an up-to-date Arch Linux installation, Linux 5.12.2 (64-bit) with KDE Plasma and a NVIDIA GPU.

The latest Linux release core dumps immediately when I try to start it:

user@desktop ~/Downloads/FlipFlip-linux-x64 $ ls -1
FlipFlip
LICENSE
LICENSES.chromium.html
chrome_100_percent.pak
chrome_200_percent.pak
icudtl.dat
libEGL.so
libGLESv2.so
libffmpeg.so
locales
natives_blob.bin
resources
resources.pak
snapshot_blob.bin
swiftshader
v8_context_snapshot.bin
version
user@desktop ~/Downloads/FlipFlip-linux-x64 $ ./FlipFlip

user@desktop ~/Downloads/FlipFlip-linux-x64 $
Mai 11 15:55:39 desktop systemd-coredump[14491]: Process 14487 (FlipFlip) of user 1000 dumped core.
                                                 
                                                 Stack trace of thread 14487:
                                                 #0  0x0000563833ec3fc1 n/a (/home/user/Downloads/FlipFlip-linux-x64/FlipFlip + 0x37bbfc1)
                                                 #1  0x00005638352c1310 n/a (/home/user/Downloads/FlipFlip-linux-x64/FlipFlip + 0x4bb9310)
                                                 #2  0x0000563833ec4ba1 n/a (/home/user/Downloads/FlipFlip-linux-x64/FlipFlip + 0x37bcba1)
                                                 #3  0x00005638324d627b n/a (/home/user/Downloads/FlipFlip-linux-x64/FlipFlip + 0x1dce27b)
                                                 #4  0x00007f5414f36b25 __libc_start_main (libc.so.6 + 0x27b25)
                                                 #5  0x00005638324d602a n/a (/home/user/Downloads/FlipFlip-linux-x64/FlipFlip + 0x1dce02a)
░░ Subject: Process 14487 (FlipFlip) dumped core
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ Documentation: man:core(5)
░░ 
░░ Process 14487 (FlipFlip) crashed and dumped core.
░░ 
░░ This usually indicates a programming error in the crashing program and
░░ should be reported to its vendor as a bug.

Running the Windows release of the application in WINE works, but that's of course not ideal. I also tried to follow the developers guide to build and run a local copy, but I run into issues during yarn install --dev (gyp tries to build libsass and fails?) and I'm not very familiar with JavaScript programming.

A friend of mine that knows more about this, mentioned that it's most likely because I have Node 16 and the node-sass version FlipFlip is using is quite outdated and not compatible with it. To make this work with more recent node versions on Linux systems, you'd either have to upgrade node-sass to 6.0+ or switch to sass, which is recommended.

@irlittz irlittz changed the title v3.1.2 Linux (64-bit) release exits immediately v3.1.2 Linux (64-bit) release core dumps immediately May 11, 2021
@StarrHelixx
Copy link
Collaborator

StarrHelixx commented May 12, 2021

@irlittz Thanks for the report! I don't have access to a Linux OS atm, so I pretty much only test FlipFlip on Windows & Mac :/ However, I updated the sass dependency on master, so would you mind trying to build locally and seeing if you can get it to work? I'd love to resolve this issue. For reference I'm running Node v14.15.4

Note: Some of FlipFlip's dependencies are quite old and that's because I'm currently limited to Electron v4.x (current is 12.0.7). I've tried to upgrade it in the past and ran into some serious issues (most noticeably, videos will just fail to load about 30% of the time, which is unacceptable), but I may try again in the near future.

@StarrHelixx StarrHelixx added the bug Something isn't working label May 12, 2021
@irlittz
Copy link
Author

irlittz commented May 12, 2021

@StarrHelixx the build instructions work now, and I get to the step where I am supposed to run $ yarn development and $ yarn start in two different terminals. The development server? runs without issues, but attempting to start the application using the start command causes another segfault:

ai 13 00:45:15 desktop systemd-coredump[976256]: [🡕] Process 976254 (electron) of user 1000 dumped core.
                                                  
                                                  Stack trace of thread 976254:
                                                  #0  0x00005614266e5fc1 n/a (/home/user/Downloads/flipflip/node_modules/electron/dist/electron + 0x37bbfc1)
                                                  #1  0x0000561427ae3310 n/a (/home/user/Downloads/flipflip/node_modules/electron/dist/electron + 0x4bb9310)
                                                  #2  0x00005614266e6ba1 n/a (/home/user/Downloads/flipflip/node_modules/electron/dist/electron + 0x37bcba1)
                                                  #3  0x0000561424cf827b n/a (/home/user/Downloads/flipflip/node_modules/electron/dist/electron + 0x1dce27b)
                                                  #4  0x00007f75cf94cb25 __libc_start_main (libc.so.6 + 0x27b25)
                                                  #5  0x0000561424cf802a n/a (/home/user/Downloads/flipflip/node_modules/electron/dist/electron + 0x1dce02a)
░░ Subject: Process 976254 (electron) dumped core
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ Documentation: man:core(5)
░░ 
░░ Process 976254 (electron) crashed and dumped core.
░░ 
░░ This usually indicates a programming error in the crashing program and
░░ should be reported to its vendor as a bug.

I suspect this is because my Electron version is too recent (12.0.7).

@StarrHelixx
Copy link
Collaborator

StarrHelixx commented May 15, 2021

Hmmm .... well yarn install --dev should have installed the correct dependencies, including the correct version of Electron. Sanity check: you're running all of these commands in the cloned FlipFlip directory, and the yarn install --dev completed without issue, right? One idea is to try and install the older version of electron (4.2.12)

I believe there are other users who have successfully ran the Linux version, but I might end up setting up a test environment so I can check myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants