Additional info:
I built usensord on my laptop using "go run -race usensord.go" and that did not show any race condition after usensord stalled.
I also tried "go run -race test.go" using the code from https://golang.org/doc/articles/race_detector.html#Introduction so I think the race detector setup is working, it's just there isn't any race condition in usensord or go-dbus
My laptop has go version go1.6.2 linux/amd64
Additional info:
I built usensord on my laptop using
"go run -race usensord.go"
and that did not show any race condition after usensord stalled.
I also tried "go run -race test.go" using the code from https:/ /golang. org/doc/ articles/ race_detector. html#Introducti on
so I think the race detector setup is working, it's just there isn't any race condition in usensord or go-dbus
My laptop has
go version go1.6.2 linux/amd64