Created
March 14, 2016 00:40
-
-
Save didip/bd8b49f6b18fa6ee4190 to your computer and use it in GitHub Desktop.
go run -race trace
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
================== | |
WARNING: DATA RACE | |
Read by goroutine 55: | |
runtime.mapaccess1_faststr() | |
/usr/local/Cellar/go/1.6/libexec/src/runtime/hashmap_fast.go:193 +0x0 | |
github.com/resourced/resourced/libmap.(*TSafeMapBytes).Get() | |
/Users/didip/go/src/github.com/resourced/resourced/libmap/libmap.go:34 +0xe9 | |
github.com/resourced/resourced/queryparser.(*QueryParser).dataValue() | |
/Users/didip/go/src/github.com/resourced/resourced/queryparser/queryparser.go:108 +0x9b | |
github.com/resourced/resourced/queryparser.(*QueryParser).replaceDataPathWithValue() | |
/Users/didip/go/src/github.com/resourced/resourced/queryparser/queryparser.go:138 +0x483 | |
github.com/resourced/resourced/queryparser.(*QueryParser).Parse() | |
/Users/didip/go/src/github.com/resourced/resourced/queryparser/queryparser.go:40 +0x6c | |
github.com/resourced/resourced/executors.(*Base).IsConditionMet() | |
/Users/didip/go/src/github.com/resourced/resourced/executors/base.go:167 +0xbc | |
github.com/resourced/resourced/executors.(*Shell).Run() | |
/Users/didip/go/src/github.com/resourced/resourced/executors/shell.go:29 +0x10f | |
github.com/resourced/resourced/agent.(*Agent).runGoStruct() | |
/Users/didip/go/src/github.com/resourced/resourced/agent/agent.go:198 +0x75 | |
github.com/resourced/resourced/agent.(*Agent).runGoStructExecutor() | |
/Users/didip/go/src/github.com/resourced/resourced/agent/agent.go:266 +0x167 | |
github.com/resourced/resourced/agent.(*Agent).Run() | |
/Users/didip/go/src/github.com/resourced/resourced/agent/agent.go:70 +0x9f9 | |
github.com/resourced/resourced/agent.(*Agent).RunForever.func1() | |
/Users/didip/go/src/github.com/resourced/resourced/agent/agent.go:353 +0x50 | |
Previous write by goroutine 34: | |
runtime.mapassign1() | |
/usr/local/Cellar/go/1.6/libexec/src/runtime/hashmap.go:429 +0x0 | |
github.com/resourced/resourced/libmap.(*TSafeMapBytes).Set() | |
/Users/didip/go/src/github.com/resourced/resourced/libmap/libmap.go:26 +0xb3 | |
github.com/resourced/resourced/agent.(*Agent).saveRun() | |
/Users/didip/go/src/github.com/resourced/resourced/agent/agent.go:334 +0x408 | |
github.com/resourced/resourced/agent.(*Agent).Run() | |
/Users/didip/go/src/github.com/resourced/resourced/agent/agent.go:84 +0x81b | |
github.com/resourced/resourced/agent.(*Agent).RunForever.func1() | |
/Users/didip/go/src/github.com/resourced/resourced/agent/agent.go:353 +0x50 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment