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 in test snapshot pipeline #11130

Closed
jeremyletang opened this issue Apr 16, 2024 · 0 comments · Fixed by #11132
Closed

Panic in test snapshot pipeline #11130

jeremyletang opened this issue Apr 16, 2024 · 0 comments · Fixed by #11132
Labels

Comments

@jeremyletang
Copy link
Member

Link to the jenkins run:
https://jenkins.vega.rocks/blue/organizations/jenkins/private%2FSnapshots%2FFairground/detail/Fairground/18884/pipeline

Stack trace:

[2024-04-16T15:22:28.945Z] panic: runtime error: invalid memory address or nil pointer dereference
[2024-04-16T15:22:28.945Z] [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x173577f]
[2024-04-16T15:22:28.945Z] 
[2024-04-16T15:22:28.945Z] goroutine 1761 [running]:
[2024-04-16T15:22:28.945Z] code.vegaprotocol.io/vega/core/execution/spot.(*Market).SubmitStopOrdersWithIDGeneratorAndOrderIDs(0xc00d8858c0, {0x44a7738?, 0xc02351bf50}, 0x7fbd6a109108?, {0xc02b5b10c0, 0x40}, {0x44777c0?, 0xc010b19ea8}, 0xc0109f01d0, 0xc0109f01e0)
[2024-04-16T15:22:28.945Z] 	/home/runner/work/vega/vega/core/execution/spot/market.go:1171 +0x55f
[2024-04-16T15:22:28.945Z] code.vegaprotocol.io/vega/core/execution.(*Engine).SubmitStopOrders(0xc000a8e000, {0x44a7738, 0xc02351bf50}, 0xc0109f01b0, {0xc02b5b10c0, 0x40}, {0x44777c0, 0xc010b19ea8}, 0xc010b19ea8?, 0xc0109f01e0)
[2024-04-16T15:22:28.945Z] 	/home/runner/work/vega/vega/core/execution/engine.go:1005 +0x102
[2024-04-16T15:22:28.945Z] code.vegaprotocol.io/vega/core/processor.(*BMIProcessor).ProcessBatch(0xc00bbc2c00, {0x44a7738, 0xc02351bf50}, 0xc01c2e3ec0, {0xc02b5b10c0, 0x40}, {0xc00e578500, 0x40}, {0x44fb0e8, 0xc00092f8c0})
[2024-04-16T15:22:28.945Z] 	/home/runner/work/vega/vega/core/processor/batch_market_instructions_processor.go:312 +0x23d9
[2024-04-16T15:22:28.945Z] code.vegaprotocol.io/vega/core/processor.(*App).DeliverBatchMarketInstructions(0xc000c71880, {0x44a7738, 0xc02351bf50}, {0x44d4160, 0xc01514b640}, {0xc00e578500, 0x40})
[2024-04-16T15:22:28.945Z] 	/home/runner/work/vega/vega/core/processor/abci.go:1545 +0x151
[2024-04-16T15:22:28.945Z] code.vegaprotocol.io/vega/core/processor.NewApp.addDeterministicID.func44({0x44a7738, 0xc02351bf50}, {0x44d4160, 0xc01514b640})
[2024-04-16T15:22:28.945Z] 	/home/runner/work/vega/vega/core/processor/abci.go:548 +0x5e
[2024-04-16T15:22:28.945Z] code.vegaprotocol.io/vega/core/processor.NewApp.(*App).CheckBatchMarketInstructionsW.func45({0x44a7738, 0xc02351bf50}, {0x44d4160, 0xc01514b640})
[2024-04-16T15:22:28.945Z] 	/home/runner/work/vega/vega/core/processor/abci.go:581 +0x6e
[2024-04-16T15:22:28.945Z] code.vegaprotocol.io/vega/core/processor.NewApp.(*App).SendTransactionResult.func46({0x44a7738, 0xc02351bf50}, {0x44d4160?, 0xc01514b640?})
[2024-04-16T15:22:28.945Z] 	/home/runner/work/vega/vega/core/processor/abci.go:611 +0x5d
[2024-04-16T15:22:28.945Z] code.vegaprotocol.io/vega/core/blockchain/abci.(*App).FinalizeBlock(0xc000642a80, {0xc00bbc30a8?, 0x410ba5?}, 0xc01730d740)
[2024-04-16T15:22:28.945Z] 	/home/runner/work/vega/vega/core/blockchain/abci/abci.go:173 +0x622
[2024-04-16T15:22:28.945Z] code.vegaprotocol.io/vega/cmd/vega/commands/node.(*appW).FinalizeBlock(0x338ccc0?, {0x44a7818?, 0x6908f60?}, 0x7fbd6a109108?)
[2024-04-16T15:22:28.945Z] 	/home/runner/work/vega/vega/cmd/vega/commands/node/app_wrapper.go:91 +0x25
[2024-04-16T15:22:28.945Z] github.com/cometbft/cometbft/abci/client.(*localClient).FinalizeBlock(0xc00bbc3148?, {0x44a7818?, 0x6908f60?}, 0xc0?)
[2024-04-16T15:22:28.945Z] 	/home/runner/go/pkg/mod/github.com/cometbft/[email protected]/abci/client/local_client.go:185 +0xd0
[2024-04-16T15:22:28.945Z] github.com/cometbft/cometbft/proxy.(*appConnConsensus).FinalizeBlock(0xc000c195a8, {0x44a7818, 0x6908f60}, 0x1?)
[2024-04-16T15:22:28.945Z] 	/home/runner/go/pkg/mod/github.com/cometbft/[email protected]/proxy/app_conn.go:104 +0x16d
[2024-04-16T15:22:28.945Z] github.com/cometbft/cometbft/state.(*BlockExecutor).ApplyBlock(_, {{{0xb, 0x1}, {0x3b6b1d4, 0x6}}, {0xc000263e00, 0x1c}, 0x1, 0x199564e, {{0xc046cc9c60, ...}, ...}, ...}, ...)
[2024-04-16T15:22:28.945Z] 	/home/runner/go/pkg/mod/github.com/cometbft/[email protected]/state/execution.go:213 +0x622
[2024-04-16T15:22:28.945Z] github.com/cometbft/cometbft/blocksync.(*Reactor).poolRoutine(0xc000952780, 0x1)
[2024-04-16T15:22:28.945Z] 	/home/runner/go/pkg/mod/github.com/cometbft/[email protected]/blocksync/reactor.go:532 +0x14b7
[2024-04-16T15:22:28.945Z] github.com/cometbft/cometbft/blocksync.(*Reactor).SwitchToBlockSync.func1()
[2024-04-16T15:22:28.945Z] 	/home/runner/go/pkg/mod/github.com/cometbft/[email protected]/blocksync/reactor.go:151 +0x57
[2024-04-16T15:22:28.945Z] created by github.com/cometbft/cometbft/blocksync.(*Reactor).SwitchToBlockSync in goroutine 688
[2024-04-16T15:22:28.945Z] 	/home/runner/go/pkg/mod/github.com/cometbft/[email protected]/blocksync/reactor.go:149 +0xfb
@vega-issues vega-issues moved this to Waiting Review in Core Kanban Apr 16, 2024
@vega-issues vega-issues moved this from Waiting Review to Approved in Core Kanban Apr 16, 2024
@github-project-automation github-project-automation bot moved this from Approved to Merged in Core Kanban Apr 16, 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