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 staging #11293

Closed
jeremyletang opened this issue May 18, 2024 · 0 comments · Fixed by #11294
Closed

panic on staging #11293

jeremyletang opened this issue May 18, 2024 · 0 comments · Fixed by #11294
Assignees
Labels

Comments

@jeremyletang
Copy link
Member

ay 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]: panic: decimal division by 0
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]: goroutine 1132 [running]:
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]: github.com/shopspring/decimal.Decimal.QuoRem({0xc0003ed100, 0x0}, {0xc00003cb20, 0x0}, 0x10)
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]:         /home/runner/go/pkg/mod/github.com/vegaprotocol/decimal@v1.3.1-uint256/decimal.go:590 +0x2bc
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]: github.com/shopspring/decimal.Decimal.DivRound({0x0?, 0x0?}, {0xc00003cb20?, 0xfffffff0?}, 0x10)
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]:         /home/runner/go/pkg/mod/github.com/vegaprotocol/decimal@v1.3.1-uint256/decimal.go:632 +0x4d
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]: github.com/shopspring/decimal.Decimal.Div(...)
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]:         /home/runner/go/pkg/mod/github.com/vegaprotocol/decimal@v1.3.1-uint256/decimal.go:577
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]: code.vegaprotocol.io/vega/datanode/api.(*TradingDataServiceV2).scaleDecimalFromAssetToMarketPrice(...)
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]:         /home/runner/work/vega/vega/datanode/api/trading_data_v2.go:3054
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]: code.vegaprotocol.io/vega/datanode/api.(*TradingDataServiceV2).EstimatePosition(0xc00053b340, {0x4647678, 0xc0014f82d0}, 0xc0014cc000)
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]:         /home/runner/work/vega/vega/datanode/api/trading_data_v2.go:3469 +0x221f
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]: code.vegaprotocol.io/vega/protos/data-node/api/v2._TradingDataService_EstimatePosition_Handler.func1({0x4647678, 0xc0014f82d0}, {0x3b3dc20?, 0xc0014cc000})
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]:         /home/runner/work/vega/vega/protos/data-node/api/v2/trading_data_grpc.pb.go:4499 +0x72
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]: code.vegaprotocol.io/vega/datanode/ratelimit.(*RateLimit).GRPCInterceptor(0xc003e1b880, {0x4647678, 0xc0014f82d0}, {0x3b3dc20, 0xc0014cc000}, 0x0?, 0xc0040b20a8)
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]:         /home/runner/work/vega/vega/datanode/ratelimit/ratelimit.go:159 +0x7af
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]: google.golang.org/grpc.getChainUnaryHandler.func1({0x4647678, 0xc0014f82d0}, {0x3b3dc20, 0xc0014cc000})
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]:         /home/runner/go/pkg/mod/google.golang.org/grpc@v1.60.0/server.go:1192 +0xb2
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]: code.vegaprotocol.io/vega/datanode/api.(*GRPCServer).Start.headersInterceptor.func4({0x4647678, 0xc0014f82d0}, {0x3b3dc20, 0xc0014cc000}, 0xc00162e020?, 0xc003ce60c0)
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]:         /home/runner/work/vega/vega/datanode/api/server.go:451 +0x482
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]: google.golang.org/grpc.getChainUnaryHandler.func1({0x4647678, 0xc0014f82d0}, {0x3b3dc20, 0xc0014cc000})
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]:         /home/runner/go/pkg/mod/google.golang.org/grpc@v1.60.0/server.go:1192 +0xb2
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]: code.vegaprotocol.io/vega/datanode/api.(*GRPCServer).Start.(*GRPCServer).remoteAddrInterceptor.func3({0x4647678, 0xc0014f8270}, {0x3b3dc20, 0xc0014cc000}, 0xc00162e020, 0xc003ce6080)
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]:         /home/runner/work/vega/vega/datanode/api/server.go:407 +0xc2
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]: google.golang.org/grpc.NewServer.chainUnaryServerInterceptors.chainUnaryInterceptors.func1({0x4647678, 0xc0014f8270}, {0x3b3dc20, 0xc0014cc000}, 0xc000b759c0?, 0x3651d80?)
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]:         /home/runner/go/pkg/mod/google.golang.org/grpc@v1.60.0/server.go:1183 +0x85
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]: code.vegaprotocol.io/vega/protos/data-node/api/v2._TradingDataService_EstimatePosition_Handler({0x3cb1ec0?, 0xc00053b340}, {0x4647678, 0xc0014f8270}, 0xc0056a2000, 0xc003e1b900)
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]:         /home/runner/work/vega/vega/protos/data-node/api/v2/trading_data_grpc.pb.go:4501 +0x135
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]: google.golang.org/grpc.(*Server).processUnaryRPC(0xc000d425a0, {0x4647678, 0xc0014f81e0}, {0x4661cc0, 0xc000cf0820}, 0xc00569e000, 0xc003e58300, 0x6819b38, 0x0)
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]:         /home/runner/go/pkg/mod/google.golang.org/grpc@v1.60.0/server.go:1372 +0xe03
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]: google.golang.org/grpc.(*Server).handleStream(0xc000d425a0, {0x4661cc0, 0xc000cf0820}, 0xc00569e000)
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]:         /home/runner/go/pkg/mod/google.golang.org/grpc@v1.60.0/server.go:1783 +0xfec
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]: google.golang.org/grpc.(*Server).serveStreams.func2.1()
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]:         /home/runner/go/pkg/mod/google.golang.org/grpc@v1.60.0/server.go:1016 +0x59
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]: created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 1122
May 17 14:57:01 n06.stagnet1.vega.rocks visor[2578616]:         /home/runner/go/pkg/mod/google.golang.org/grpc@v1.60.0/server.go:1027 +0x115
@jeremyletang jeremyletang added this to the 🏛️ Colosseo milestone May 18, 2024
@jeremyletang jeremyletang moved this to Todo in Core Kanban May 18, 2024
@jeremyletang jeremyletang self-assigned this May 18, 2024
@vega-issues vega-issues moved this from Todo to Waiting Review in Core Kanban May 18, 2024
@vega-issues vega-issues moved this from Waiting Review to Approved in Core Kanban May 18, 2024
@github-project-automation github-project-automation bot moved this from Approved to Merged in Core Kanban May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant