-
Notifications
You must be signed in to change notification settings - Fork 14
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
[Bug]: crashes on aarch64 (Linux MacBook) #355
Comments
Bump, same issue, Macbook M2 running Fedora Asahi Remix. |
Hmm, I'm going to struggle troubleshooting this one myself as I don't have access to an arm64 desktop machine. Are there any other logs or information you can provide? Does it work if you use existing versions of the snap? |
I suspect this is due to the M-series chips from Apple are run using a different stack size (I forget, but it might be 4k - either way it is not a stack size that linux normally defaults to) and there are issues with some projects that assume a stack size that is different. This especially affects any JIT processes. |
As this is only occurring after signal-desktop was updated to 7.42.0 to I believe this is related to the version of electron having been upgraded from 33.3.1 to 34.0.1 in this commit. When I manually build 7.41.0 it is working fine. Luckily the latest signal-desktop version still works with electron 33.3.1, so for a temporary fix you can simply modify package.json like follows. index c6572497a..a0b942f3c 100644
--- a/package.json
+++ b/package.json
@@ -283,7 +283,7 @@
"csv-parse": "5.5.6",
"danger": "12.3.3",
"debug": "4.3.7",
- "electron": "34.1.1",
+ "electron": "33.3.1",
"electron-builder": "26.0.0-alpha.8",
"electron-mocha": "13.0.1",
"endanger": "7.0.4",``` |
For anyone waiting for a fix - I've made a fork and built a snap on version 7.41.0 which doesn't crash: https://github.com/lemoneken/signal-desktop/tree/v7.41.0 Feel free to download from releases or build it on your own, then install locally with Enjoy 🙂 |
Out of interest, does 7.44.0 work for you? It was released yesterday, and they've bumped the Electron version in that release? |
With 7.44.0 I'm experiencing the same crashes. It looks like I was wrong about the electron fix and asahi users will probably have to wait until electron bumps their version of chromium to one that includes the fix for this issue and that electron version is included in signal-desktop. Thx for the temporary fix @lemoneken! |
I can confirm that 7.44.0 also crashes for me :( I think 7.41.0 is the last working version for now. |
What happened?
I run the app for a few minutes and then it self-closes with an electron error
What should have happened?
it should keep running
Output of
snap info $snap_name
Output of
snap connections $snap_name
Output of
snap version
Relevant log output
Teminal output of app
The text was updated successfully, but these errors were encountered: