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

Panic on shutdown #1045

Open
roman-khimov opened this issue Dec 17, 2024 · 0 comments
Open

Panic on shutdown #1045

roman-khimov opened this issue Dec 17, 2024 · 0 comments
Labels
bug Something isn't working I4 No visible changes S4 Routine U2 Seriously planned
Milestone

Comments

@roman-khimov
Copy link
Member

Current Behavior

neofs-s3-gw[2155532]: panic: can't shut down service
neofs-s3-gw[2155532]: goroutine 110 [running]:
neofs-s3-gw[2155532]: go.uber.org/zap/zapcore.CheckWriteAction.OnWrite(0x0?, 0x0?, {0x0?, 0x0?, 0xc0074de320?})
neofs-s3-gw[2155532]:         go.uber.org/[email protected]/zapcore/entry.go:196 +0x54
neofs-s3-gw[2155532]: go.uber.org/zap/zapcore.(*CheckedEntry).Write(0xc0006af040, {0x0, 0x0, 0x0})
neofs-s3-gw[2155532]:         go.uber.org/[email protected]/zapcore/entry.go:262 +0x24e
neofs-s3-gw[2155532]: go.uber.org/zap.(*Logger).Panic(0xc0000152c0?, {0x122571e?, 0xc009a5af50?}, {0x0, 0x0, 0x0})
neofs-s3-gw[2155532]:         go.uber.org/[email protected]/logger.go:285 +0x51
neofs-s3-gw[2155532]: main.(*Service).ShutDown(0xc0005c9260, {0x1579688, 0xc009a5af50})
neofs-s3-gw[2155532]:         github.com/nspcc-dev/neofs-s3-gw/cmd/s3-gw/service.go:37 +0x13a
neofs-s3-gw[2155532]: main.(*App).stopServices(...)
neofs-s3-gw[2155532]:         github.com/nspcc-dev/neofs-s3-gw/cmd/s3-gw/app.go:643
neofs-s3-gw[2155532]: main.(*App).Serve(0xc00021a680, {0x1579810, 0xc000057440})
neofs-s3-gw[2155532]:         github.com/nspcc-dev/neofs-s3-gw/cmd/s3-gw/app.go:526 +0x6c5
neofs-s3-gw[2155532]: created by main.main in goroutine 1
neofs-s3-gw[2155532]:         github.com/nspcc-dev/neofs-s3-gw/cmd/s3-gw/main.go:17 +0xf1

Expected Behavior

No panic.

Possible Solution

Fix it.

Steps to Reproduce

Unknown, but it happends during shutdown.

Context

Production network.

Regression

Unknown

Your Environment

  • Version of the product used: 0.33.0
  • Operating System and version (uname -a): Debian stable
@roman-khimov roman-khimov added bug Something isn't working U2 Seriously planned S4 Routine I4 No visible changes labels Dec 17, 2024
@roman-khimov roman-khimov added this to the v0.34.0 milestone Dec 17, 2024
@roman-khimov roman-khimov modified the milestones: v0.34.0, v0.35.0 Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working I4 No visible changes S4 Routine U2 Seriously planned
Projects
None yet
Development

No branches or pull requests

1 participant