-
Notifications
You must be signed in to change notification settings - Fork 664
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
Electron app crashed because of ERR_set_mark #1182
Comments
I don't know about Electron, but |
Thanks for replying, maybe the issue is related to packaging. Because the app works fine when I package it on my own machine but it will crash if packaging inside an docker image. |
I can't really help you much there, I'm not an Electron or Docker user. Typically OpenSSL symbols get picked up from the node (or Electron I guess) binary. You might ask the Electron folks about this, they would probably have a better idea of what's wrong. |
Hi @Rodd, Did you manage to solve the problem? I am currently facing the same issue (Ubuntu 20.04, node v16.17.1) using the electron-react-boilerplate The app builds fine, but when trying to open an SSH connection, the app crashes with error:
Update: If I force adding the package again, the error is gone:
|
I just hit this myself. Using Electron@22.0.0 packages in Node@16.17.1 when building the app. ssh2-sftp-client states it needs 16.17.2. I'm unsure if the ssh2 package also needs that version? It is a dependency of ssh2-sftp-client. I am not using ssh2 directly. By using electron@23.0.0-alpha.3, it bundles in Node@18.12.1, and I no longer get the You can see what version of Electron has what version of Node here. Also, from the Electron main process, |
I have an electron app using node-ssh which is based on ssh2, but when the app tries to connect other devices via SSH with private key, the app will crash.
tmp/.mount_tsToowJAnSy/toolkit --enable-crashpad: symbol lookup error: /tmp/.mount_tsToowJAnSy/resources/app.asar.unpacked/node_modules/ssh2/lib/protocol/crypto/build/Release/sshcrypto.node: undefined symbol: ERR_set_mark
OS: Ubuntu 20.04
Node: 14.9.1
How do I fix this issue?
The text was updated successfully, but these errors were encountered: