-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Opening "Preferences" results in segfault on macOS (crash, QtMultimedia camera handling) #7725
Comments
Maybe that's related to Could you test going into the
Also, to try to narrow things down, could you test if Electrum 4.1.5 also reproduces the crash?
if you mean during application shutdown (e.g. closing last open wallet), that might be #6889 |
this import actually returns nothing. tried to repeat the 'preferences' crash from last night. i noticed that just open/closing wallets today its okay. when new wallets are closed and opened, that's when the crash happens, sometimes on preferences, sometimes when closing wallets. i'm on bigsur 11.6 if that helps. when i get a chance to uninstall i'll try out the earlier version
yes, its definitely #6889 |
i installed the .dmg, not sure if that had an impact. perhaps i should run from source? (need to set up dev environment anyway ;) will try to install from source, and then see if i can get anything from the cli |
Also crashes on non M1. I'm on Mac OS Monterey 12.3 Macbook Air 2019. Crash occurs whenever I hit the Preferences menu button. |
Could either of you specifically test the following steps:
That is, assuming the crash is related to |
Does not crash after I type that into console. |
Mine does not crash anymore when the above is run.
|
Thanks. So this seems identical to the issue described in Electron-Cash#1545. Regardless, looking at that PR, it seems #7727 might be enough to fix this. |
i checked out SomberNight:202203_qtcamera_preferences_crash on M1 Apple, Big Sur, version 11.6 built fine, however pycryptodomex', 'cryptography missing from the build process and also #6948
I can try to build this on an intel mac later tonight see if we can get an electrum working. |
I was able to get libsecp256 issue resolved, by installing bitcoin-core version,( https://github.com/bitcoin-core/secp256k1#build-steps, make sure built with I will try rosetta to get PyQt5 installed tomorrow when i have time and see if that can get electrum running on this OS |
Problem solved for running from source: Do the following since
Running it and clicking 'Preferences' is ok. Does not crash. there are some exceptions thrown:
|
Thanks for testing.
That's unrelated and should be harmless. |
Ok, so #7727 hopefully fixes this. Closing. |
Regarding the build from source notes on Apple M1, is there a place on electrum-docs or elsewhere I can consolidate my notes? It was a bit cumbersome the build process? Thanks @SomberNight |
@bitkarrot you can create a file, e.g. |
See attached file for crash report. Happens when clicking on 'preferences' or while closing open wallets.
electrum_crash.txt
The text was updated successfully, but these errors were encountered: