Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] nil deref during TestServer_StartDev_ConcurrentStarts test #667

Open
josh-berry opened this issue Sep 13, 2024 · 0 comments
Open

[Bug] nil deref during TestServer_StartDev_ConcurrentStarts test #667

josh-berry opened this issue Sep 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@josh-berry
Copy link
Collaborator

Running server start-dev multiple times concurrently may occasionally cause a nil dereference to occur.

This was caught by CI. Example run: https://github.com/temporalio/cli/actions/runs/10855312160/job/30127644431?pr=658

Backtrace:

     commands_test.go:182: Calling: server start-dev -p 60743 --headless --log-level never
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x20 pc=0xbaa90a]

goroutine 84720 [running]:
google.golang.org/grpc.(*Server).Serve(0xc002cae800, {0x0, 0x0})
	C:/Users/runneradmin/go/pkg/mod/google.golang.org/[email protected]/server.go:864 +0x16a
go.temporal.io/server/service/matching.(*Service).Start.func1()
	C:/Users/runneradmin/go/pkg/mod/go.temporal.io/[email protected]/service/matching/service.go:103 +0x65
created by go.temporal.io/server/service/matching.(*Service).Start in goroutine 84691
	C:/Users/runneradmin/go/pkg/mod/go.temporal.io/[email protected]/service/matching/service.go:101 +0x169
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant