forked from GeertJohan/gomatrix
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Repro:
go build -race github.com/gdamore/gomatrix
./gomatrics 2>/tmp/t
Contents of /tmp/t
==================
WARNING: DATA RACE
Read at 0x00000084f0e8 by goroutine 277:
main.(*Stream).run()
/home/dfc/src/github.com/gdamore/gomatrix/stream.go:52 +0x534
Previous write at 0x00000084f0e8 by main goroutine:
main.main()
/home/dfc/src/github.com/gdamore/gomatrix/main.go:72 +0xf83
Goroutine 277 (running) created at:
main.(*StreamDisplay).run()
/home/dfc/src/github.com/gdamore/gomatrix/stream.go:131 +0x260
==================
==================
WARNING: DATA RACE
Write at 0x00c4204929f0 by goroutine 274:
runtime.mapassign_fast64()
/home/dfc/go/src/runtime/hashmap_fast.go:512 +0x0
main.(*StreamDisplay).run()
/home/dfc/src/github.com/gdamore/gomatrix/stream.go:128 +0x220
Previous write at 0x00c4204929f0 by goroutine 289:
runtime.mapdelete_fast64()
/home/dfc/go/src/runtime/hashmap_fast.go:748 +0x0
main.(*Stream).run()
/home/dfc/src/github.com/gdamore/gomatrix/stream.go:80 +0x464
Goroutine 274 (running) created at:
main.main.func1()
/home/dfc/src/github.com/gdamore/gomatrix/main.go:184 +0x671
Goroutine 289 (finished) created at:
main.(*StreamDisplay).run()
/home/dfc/src/github.com/gdamore/gomatrix/stream.go:131 +0x260
==================
==================
WARNING: DATA RACE
Write at 0x00c420086780 by goroutine 365:
runtime.mapdelete_fast64()
/home/dfc/go/src/runtime/hashmap_fast.go:748 +0x0
main.(*Stream).run()
/home/dfc/src/github.com/gdamore/gomatrix/stream.go:80 +0x464
Previous write at 0x00c420086780 by goroutine 294:
runtime.mapdelete_fast64()
/home/dfc/go/src/runtime/hashmap_fast.go:748 +0x0
main.(*Stream).run()
/home/dfc/src/github.com/gdamore/gomatrix/stream.go:80 +0x464
Goroutine 365 (running) created at:
main.(*StreamDisplay).run()
/home/dfc/src/github.com/gdamore/gomatrix/stream.go:131 +0x260
Goroutine 294 (finished) created at:
main.(*StreamDisplay).run()
/home/dfc/src/github.com/gdamore/gomatrix/stream.go:131 +0x260
==================
Found 3 data race(s)
Metadata
Metadata
Assignees
Labels
No labels