RadiantBlockchain / electron-radiant

Electron-Radiant (Fork of Electron-Cash) - STABLE and ARCHIVED - Recommend to Fork for Future Enhancements
MIT License
48 stars 23 forks source link

Segmentation fault on wallet creation #13

Open f8vze opened 1 year ago

f8vze commented 1 year ago
$ wget https://github.com/RadiantBlockchain/electron-radiant/releases/download/v0.1.2/Electron-Radiant-v0.1.2-x86_64.AppImage
$ chmod +x ./Electron-Radiant-v0.1.2-x86_64.AppImage 
$ ./Electron-Radiant-v0.1.2-x86_64.AppImage 
# Try and create new wallet with extra custom seed word and encryption enabled, it will crash at moment of wallet creation
Segmentation fault (core dumped)

This happens at the point of creating/opening the [new] wallet. Try running on Mint 21 in Virtualbox. It works fine at first (create new wallet with extra seed word and encryption), and then crashes at the moment of creation. Please fix this.

f8vze commented 1 year ago

Workaround: create new wallet, copy details, crashes, re-open app, create new wallet using the previously given details, gets a bit further, then still crashes, re-open app, you can now access your wallet. Please fix this software.

f8vze commented 1 year ago

Sometimes the workaround does not work at all. Even after trying many times. Please fix this.

f8vze commented 1 year ago

Self-building is another workaround. Here is a quick how-to for anyone struggling with this:

sudo apt install git python3-pyqt5 python3-pyqt5.qtsvg build-essential python3 python3-dev python3-pip libtool automake
git clone --depth=1 https://github.com/RadiantBlockchain/electron-radiant.git
cd electron-radiant
pip3 install -r contrib/requirements/requirements.txt --user
# Add   PATH="${HOME}/.local/bin:$PATH"   to ~/.profile (under PATH setup and outside any if/fi statements)
./contrib/make_secp
./electron-radiant

That does not seem to crash, yet.

f8vze commented 1 year ago

It does too... Just not as often.

7065 Segmentation fault      (core dumped) ./electron-radiant

Please fix this.

f8vze commented 1 year ago

@RadiantBlockchain @z7k6 FYI, please track your community reported GitHub issues better, or you will loose the community quickly.

bkn7 commented 1 year ago

I have tested creating a new wallet with seed phrase and encryption but cannot reproduce this problem. If you need another wallet I suggest trying Samara.app.

f8vze commented 1 year ago

Thank you for testing. And thank you for the suggestion.

The OS used is the new Mint 21. It could be that that is the issue. In any case, the program crashes on a freshly installed mint 21 instance in Virtualbox, both when using the AppImage (more often) and the self-compiled version (less often). You would also have to start with an empty ~/.electron-radiant, i.e. mv ${HOME}.electron-radiant/ ${HOME}.electron-radiant.old/ or similar.

13y87t commented 1 year ago

I have tested creating a new wallet with seed phrase and encryption but cannot reproduce this problem. If you need another wallet I suggest trying Samara.app.

I've problem with electron-radiant too, can't connect. this samara wallet sound like a scam, there is another wallet ?