Closed iridescent86 closed 4 years ago
Thanks for the detailed report @iridescent86. This does look problematic.
We're planning to move away from rust-crypto in the coming week, I hope this will fix this issue as well.
For now, I'll mark this as blocked on #1245. Once it's resolved we can come back to this issue and ensure it works.
We have replaced rust-crypto
so this issue has been addressed.
Description
Running
lighthouse account wallet create --name validators --passphrase-file validators.pass
fails with SIGILL when CPU has no AVX support.Version
Present Behaviour
When running the
wallet create
command on a CPU that does not has AVX instructions set support, it fails and raises SIGILL:GDB output:
/proc/cpuinfo on the machine on which issue was reproduced:
On this machine, the issue was reproduced on a KVM based VM as well as on the bare metal.
Only the wallet appears to be affected, the beacon node and the validator client were working fine on that server.
Expected Behaviour
Wallet should be created successfuly as it is the case when testing on another machine with AVX support:
Steps to resolve
Root cause appears to be https://github.com/DaGenix/rust-crypto/issues/391 which was never fixed. Unfortunately there does not seem to be much that can be done at the library level as it appears to no longer be maintained.