Skip to content

Instantly share code, notes, and snippets.

@denniswon
Created March 26, 2020 23:10
Show Gist options
  • Save denniswon/fb23549f105224b50ac09c725d8e5512 to your computer and use it in GitHub Desktop.
Save denniswon/fb23549f105224b50ac09c725d8e5512 to your computer and use it in GitHub Desktop.
ubuntu@ip-172-31-16-131:~/harmony-one/harmony/bin (stakingtxn_support) $ hmy keys generate-bls-key --passphrase
Enter passphrase:
Repeat the passphrase:
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x80 addr=0x0 pc=0x7fc09568036d]
runtime stack:
runtime.throw(0xbd75f6, 0x2a)
/home/ubuntu/.gimme/versions/go1.13.6.linux.amd64/src/runtime/panic.go:774 +0x72
runtime.sigpanic()
/home/ubuntu/.gimme/versions/go1.13.6.linux.amd64/src/runtime/signal_unix.go:378 +0x47c
goroutine 1 [syscall]:
runtime.cgocall(0xa12c66, 0xc0002cdb48, 0xc0002cdb01)
/home/ubuntu/.gimme/versions/go1.13.6.linux.amd64/src/runtime/cgocall.go:128 +0x5b fp=0xc0002cdb18 sp=0xc0002cdae0 pc=0x40cd6b
github.com/harmony-one/bls/ffi/go/bls._Cfunc_blsSecretKeySetByCSPRNG(0xc0000301a0, 0xc000000000)
_cgo_gotypes.go:444 +0x49 fp=0xc0002cdb48 sp=0xc0002cdb18 pc=0x6af5c9
github.com/harmony-one/bls/ffi/go/bls.(*SecretKey).SetByCSPRNG(...)
/home/ubuntu/go/pkg/mod/github.com/harmony-one/[email protected]/ffi/go/bls/bls.go:198
github.com/harmony-one/harmony/crypto/bls.RandPrivateKey(0x0)
/home/ubuntu/go/pkg/mod/github.com/harmony-one/[email protected]/crypto/bls/bls.go:18 +0x41 fp=0xc0002cdb70 sp=0xc0002cdb48 pc=0x7a7c11
github.com/harmony-one/go-sdk/pkg/keys.GenBlsKeys(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/harmony-one/go-sdk/pkg/keys/bls.go:28 +0x34 fp=0xc0002cdc78 sp=0xc0002cdb70 pc=0x9b99e4
github.com/harmony-one/go-sdk/cmd/subcommands.keysSub.func10(0xc0002e8000, 0xc00027f060, 0x0, 0x1, 0x0, 0x0)
/home/ubuntu/harmony-one/go-sdk/cmd/subcommands/keys.go:242 +0x62 fp=0xc0002cdcb8 sp=0xc0002cdc78 pc=0xa0c7d2
github.com/spf13/cobra.(*Command).execute(0xc0002e8000, 0xc00027f040, 0x1, 0x1, 0xc0002e8000, 0xc00027f040)
/home/ubuntu/go/pkg/mod/github.com/spf13/[email protected]/command.go:826 +0x460 fp=0xc0002cdd90 sp=0xc0002cdcb8 pc=0x9a2630 2020-03-26 23:09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment