-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes panics on some systems while trying to atomically load a uint ``` panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x4 pc=0x12488] goroutine 343 [running]: github.com/mysteriumnetwork/node/session/pingpong.(*InvoiceTracker).getNotReceivedExchangeMessageCount(...) /Users/anjmao/go/src/github.com/mysteriumnetwork/node/session/pingpong/invoice_tracker.go:384 github.com/mysteriumnetwork/node/session/pingpong.(*InvoiceTracker).sendInvoice(0x29246e0, 0x28bfed4, 0x4) /Users/anjmao/go/src/github.com/mysteriumnetwork/node/session/pingpong/invoice_tracker.go:394 +0x28 github.com/mysteriumnetwork/node/session/pingpong.(*InvoiceTracker).Start(0x29246e0, 0x229c76c, 0x4523b0) /Users/anjmao/go/src/github.com/mysteriumnetwork/node/session/pingpong/invoice_tracker.go:356 +0x458 github.com/mysteriumnetwork/node/session.(*Manager).Create.func2(0x14807f8, 0x29246e0, 0x270e700, 0x1328f020, 0x2a, 0x132638b0) /Users/anjmao/go/src/github.com/mysteriumnetwork/node/session/manager.go:183 +0x24 created by github.com/mysteriumnetwork/node/session.(*Manager).Create /Users/anjmao/go/src/github.com/mysteriumnetwork/node/session/manager.go:182 +0x358 ```
- Loading branch information
1 parent
b93e975
commit a601203
Showing
2 changed files
with
43 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters