Skip to content

Instantly share code, notes, and snippets.

@aereal
Created January 23, 2018 05:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aereal/f516cc78d6c1f75b60224ba9d6ca8cf7 to your computer and use it in GitHub Desktop.
Save aereal/f516cc78d6c1f75b60224ba9d6ca8cf7 to your computer and use it in GitHub Desktop.
==================
WARNING: DATA RACE
Write at 0x000001615700 by goroutine 6:
reflect.Value.SetString()
/usr/local/Cellar/go/1.9.2/libexec/src/reflect/value.go:1537 +0x64
github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags.convert()
/Users/aereal/devel/src/github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags/convert.go:200 +0x1011
github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags.(*Option).set()
/Users/aereal/devel/src/github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags/option.go:226 +0x23c
github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags.(*Parser).parseOption()
/Users/aereal/devel/src/github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags/parser.go:530 +0x3b9
github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags.(*Parser).parseShort()
/Users/aereal/devel/src/github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags/parser.go:600 +0x1d4
github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags.(*Parser).ParseArgs()
/Users/aereal/devel/src/github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags/parser.go:267 +0x1165
github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags.ParseArgs()
/Users/aereal/devel/src/github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags/parser.go:143 +0x8a
github.com/aereal/go-magi/vendor/github.com/mackerelio/go-check-plugins/check-http/lib.Run()
/Users/aereal/devel/src/github.com/aereal/go-magi/vendor/github.com/mackerelio/go-check-plugins/check-http/lib/check_http.go:95 +0x91
main.runCheckHTTP()
/Users/aereal/devel/src/github.com/aereal/go-magi/url.go:13 +0xfd
main.(*App).checkURLs.func1()
/Users/aereal/devel/src/github.com/aereal/go-magi/app.go:102 +0x102
Previous read at 0x000001615700 by goroutine 7:
reflect.typedmemmove()
/usr/local/Cellar/go/1.9.2/libexec/src/runtime/mbarrier.go:259 +0x0
reflect.packEface()
/usr/local/Cellar/go/1.9.2/libexec/src/reflect/value.go:112 +0x10b
reflect.valueInterface()
/usr/local/Cellar/go/1.9.2/libexec/src/reflect/value.go:961 +0x170
reflect.Value.Interface()
/usr/local/Cellar/go/1.9.2/libexec/src/reflect/value.go:931 +0x51
github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags.(*Option).isUnmarshaler()
/Users/aereal/devel/src/github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags/option.go:328 +0xe1
github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags.(*Option).canArgument()
/Users/aereal/devel/src/github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags/option.go:237 +0x38
github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags.(*Parser).parseOption()
/Users/aereal/devel/src/github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags/parser.go:504 +0x66
github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags.(*Parser).parseShort()
/Users/aereal/devel/src/github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags/parser.go:600 +0x1d4
github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags.(*Parser).ParseArgs()
/Users/aereal/devel/src/github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags/parser.go:267 +0x1165
github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags.ParseArgs()
/Users/aereal/devel/src/github.com/aereal/go-magi/vendor/github.com/jessevdk/go-flags/parser.go:143 +0x8a
github.com/aereal/go-magi/vendor/github.com/mackerelio/go-check-plugins/check-http/lib.Run()
/Users/aereal/devel/src/github.com/aereal/go-magi/vendor/github.com/mackerelio/go-check-plugins/check-http/lib/check_http.go:95 +0x91
main.runCheckHTTP()
/Users/aereal/devel/src/github.com/aereal/go-magi/url.go:13 +0xfd
main.(*App).checkURLs.func1()
/Users/aereal/devel/src/github.com/aereal/go-magi/app.go:102 +0x102
Goroutine 6 (running) created at:
main.(*App).checkURLs()
/Users/aereal/devel/src/github.com/aereal/go-magi/app.go:96 +0x1a9
main.(*App).run()
/Users/aereal/devel/src/github.com/aereal/go-magi/app.go:158 +0x38
main.main()
/Users/aereal/devel/src/github.com/aereal/go-magi/main.go:13 +0x17c
Goroutine 7 (running) created at:
main.(*App).checkURLs()
/Users/aereal/devel/src/github.com/aereal/go-magi/app.go:96 +0x1a9
main.(*App).run()
/Users/aereal/devel/src/github.com/aereal/go-magi/app.go:158 +0x38
main.main()
/Users/aereal/devel/src/github.com/aereal/go-magi/main.go:13 +0x17c
==================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment