Server Monitor Data Races #288
Labels
No Label
applications
BLOCKED
bug
design
duplicate
enhancement
fixed?
funding-needed
help wanted
infrastructure
invalid
payments
qubes
question
ready-for-implementation
refactor
spam
tapir-server
testing
tor
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cwtch.im/cwtch#288
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
==================
WARNING: DATA RACE
Write at 0x00c000122068 by goroutine 106:
git.openprivacy.ca/openprivacy/libricochet-go/application.(*RicochetApplication).handleConnection()
/home/sarah/workspace/pkg/mod/git.openprivacy.ca/openprivacy/libricochet-go@v1.0.8/application/application.go:61 +0x3ca
Previous read at 0x00c000122068 by goroutine 16:
cwtch.im/cwtch/server/metrics.(*Monitors).Start.func4()
/home/sarah/workspace/pkg/mod/git.openprivacy.ca/openprivacy/libricochet-go@v1.0.8/application/application.go:139 +0x4c
cwtch.im/cwtch/server/metrics.(*monitorHistory).monitorThread()
/home/sarah/workspace/src/cwtch.im/cwtch/server/metrics/metrics.go:218 +0x1ba
Goroutine 106 (running) created at:
git.openprivacy.ca/openprivacy/libricochet-go/application.(*RicochetApplication).Run()
/home/sarah/workspace/pkg/mod/git.openprivacy.ca/openprivacy/libricochet-go@v1.0.8/application/application.go:154 +0xf8
cwtch.im/cwtch/server.(*Server).Run()
/home/sarah/workspace/src/cwtch.im/cwtch/server/server.go:86 +0xb0e
Goroutine 16 (running) created at:
cwtch.im/cwtch/server/metrics.(*monitorHistory).Start()
/home/sarah/workspace/src/cwtch.im/cwtch/server/metrics/metrics.go:120 +0x4c
cwtch.im/cwtch/server/metrics.NewMonitorHistory()
/home/sarah/workspace/src/cwtch.im/cwtch/server/metrics/metrics.go:114 +0x3b7
cwtch.im/cwtch/server/metrics.(*Monitors).Start()
/home/sarah/workspace/src/cwtch.im/cwtch/server/metrics/monitors.go:41 +0x47e
cwtch.im/cwtch/server.(*Server).Run()
/home/sarah/workspace/src/cwtch.im/cwtch/server/server.go:36 +0x151
Server is no longer ricochet based, and I ended up fixing the metrics data race will working on the tapir integration:
d230a1b629
Closing.