Skip to content
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

panic: runtime error #5

Open
ghost opened this issue Jan 8, 2020 · 1 comment
Open

panic: runtime error #5

ghost opened this issue Jan 8, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Jan 8, 2020

root@dell:~# `go env GOPATH`/bin/trezorLuks --trezor-key-name myKey luksFormat /dev/loop100
Sent the request to the Trezor device (please confirm the operation if required)
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x48 pc=0x60ed39]

goroutine 1 [running]:
github.com/xaionaro-go/cryptoWallet/internal/wallets/satoshilabs/trezor.(*TrezorBase).CheckConnection(0xc0000d6600, 0xc0000e5d08, 0xc0000e5d30)
	/root/go/src/github.com/xaionaro-go/cryptoWallet/internal/wallets/satoshilabs/trezor/trezor.go:121 +0x29
github.com/xaionaro-go/cryptoWallet/internal/wallets/satoshilabs/trezor.(*TrezorBase).DecryptKey(0xc0000d6600, 0x6b691b, 0xb, 0x8f6020, 0x20, 0x20, 0x8f57b0, 0x10, 0x10, 0x7ffd5a0e980d, ...)
	/root/go/src/github.com/xaionaro-go/cryptoWallet/internal/wallets/satoshilabs/trezor/trezor.go:183 +0x43
main.main()
	/root/go/src/github.com/xaionaro-go/trezorLuks/main.go:90 +0x3b5

root@dell:~# cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=19.10
DISTRIB_CODENAME=eoan
DISTRIB_DESCRIPTION="Ubuntu 19.10"

@xaionaro xaionaro self-assigned this Jan 10, 2020
@xaionaro
Copy link
Member

@qwertyx64 : could you also copy&paste here the output of lsusb (or just the line with your Trezor device)?

@xaionaro xaionaro added the bug Something isn't working label Jan 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant