8926cbe368
Spotted in CircleCI build with Go 1.12: WARNING: DATA RACE Write at 0x00c00011095c by goroutine 88: sync/atomic.SwapInt32() /usr/local/go/src/runtime/race_amd64.s:249 +0xb github.com/CityOfZion/neo-go/pkg/core.(*Blockchain).persist() /go/src/github.com/CityOfZion/neo-go/pkg/core/blockchain.go:483 +0x172 github.com/CityOfZion/neo-go/pkg/core.(*Blockchain).Run.func2() /go/src/github.com/CityOfZion/neo-go/pkg/core/blockchain.go:191 +0x50 Previous read at 0x00c00011095c by goroutine 64: github.com/CityOfZion/neo-go/pkg/core.(*Blockchain).persist() /go/src/github.com/CityOfZion/neo-go/pkg/core/blockchain.go:492 +0x4be github.com/CityOfZion/neo-go/pkg/core.(*Blockchain).Run.func2() /go/src/github.com/CityOfZion/neo-go/pkg/core/blockchain.go:191 +0x50 Goroutine 88 (running) created at: github.com/CityOfZion/neo-go/pkg/core.(*Blockchain).Run() /go/src/github.com/CityOfZion/neo-go/pkg/core/blockchain.go:190 +0x264 Goroutine 64 (finished) created at: github.com/CityOfZion/neo-go/pkg/core.(*Blockchain).Run() /go/src/github.com/CityOfZion/neo-go/pkg/core/blockchain.go:190 +0x264 |
||
---|---|---|
.. | ||
storage | ||
test_data | ||
transaction | ||
account_state.go | ||
account_state_test.go | ||
asset_state.go | ||
asset_state_test.go | ||
block.go | ||
block_base.go | ||
block_test.go | ||
blockchain.go | ||
blockchain_test.go | ||
blockchainer.go | ||
coin_state.go | ||
contract_state.go | ||
contract_state_test.go | ||
feer.go | ||
header.go | ||
header_hash_list.go | ||
header_test.go | ||
helper_test.go | ||
interop_neo.go | ||
interop_system.go | ||
interops.go | ||
mem_pool.go | ||
random_util_test.go | ||
spent_coin_state.go | ||
spent_coin_state_test.go | ||
storage_item.go | ||
storage_item_test.go | ||
unspent_coin_state.go | ||
unspent_coint_state_test.go | ||
util.go | ||
util_test.go | ||
validator_state.go |