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

Crash when client conf does not have txmatcher vars setup #37

Open
raedah opened this issue Nov 15, 2018 · 2 comments
Open

Crash when client conf does not have txmatcher vars setup #37

raedah opened this issue Nov 15, 2018 · 2 comments

Comments

@raedah
Copy link
Member

raedah commented Nov 15, 2018

2018-11-15 19:22:43.872 [INF] RPCS: RPC method purchaseticket invoked by [::1]:43076
2018-11-15 19:22:49.424 [INF] RPCS: RPC method purchaseticket invoked by [::1]:43082
2018-11-15 19:22:49.429 [INF] DCMX: Session aborted, the client is currently disabled.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8d55be]

goroutine 12 [running]:
github.com/decred/dcrwallet/dcrtxclient/service.(*TxService).JoinSplitTx(0x0, 0xc000122c30, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/x/go/src/github.com/decred/dcrwallet/dcrtxclient/service/transaction.go:37 +0x10e
github.com/decred/dcrwallet/wallet.(*Wallet).purchaseTickets(0xc00021c1a0, 0xcc65f7, 0x16, 0x0, 0x2540be400, 0x1, 0x0, 0x0, 0x0, 0x1, ...)
/home/x/go/src/github.com/decred/dcrwallet/wallet/createtx.go:1972 +0xb8e2
github.com/decred/dcrwallet/wallet.(*Wallet).txCreator(0xc00021c1a0)
/home/x/go/src/github.com/decred/dcrwallet/wallet/wallet.go:1228 +0x331
created by github.com/decred/dcrwallet/wallet.(*Wallet).Start
/home/x/go/src/github.com/decred/dcrwallet/wallet/wallet.go:438 +0xd3

@huyntsgs
Copy link
Contributor

@raedah
Copy link
Member Author

raedah commented Dec 17, 2018

Tested. Curretly dcrwallet is quiting with no msg. Reason should be shown to the user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants