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

market sim vAMM / special orders / auction crash #11641

Closed
davidsiska-vega opened this issue Sep 3, 2024 · 0 comments · Fixed by #11653
Closed

market sim vAMM / special orders / auction crash #11641

davidsiska-vega opened this issue Sep 3, 2024 · 0 comments · Fixed by #11653
Assignees
Labels

Comments

@davidsiska-vega
Copy link
Contributor

All the stuff here https://jenkins.vega.rocks/job/common/job/vega-market-sim-fuzzing-develop/6/display/redirect

panic: re submit special order would cross

goroutine 88450 [running]:
go.uber.org/zap/zapcore.CheckWriteAction.OnWrite(0x2?, 0x2?, {0x0?, 0x0?, 0xc0068d3ae0?})
	/jenkins/GOPATH/pkg/mod/go.uber.org/[email protected]/zapcore/entry.go:196 +0x54
go.uber.org/zap/zapcore.(*CheckedEntry).Write(0xc005648ea0, {0xc008e33880, 0x2, 0x2})
	/jenkins/GOPATH/pkg/mod/go.uber.org/[email protected]/zapcore/entry.go:262 +0x3ec
go.uber.org/zap.(*Logger).Panic(0x3480d3386cef0000?, {0x40af6d6?, 0x0?}, {0xc008e33880, 0x2, 0x2})
	/jenkins/GOPATH/pkg/mod/go.uber.org/[email protected]/logger.go:258 +0x51
code.vegaprotocol.io/vega/core/matching.(*OrderBook).ReSubmitSpecialOrders(0xc003e25ea0, 0xc0035aa750)
	/jenkins/workspace/common/vega-market-sim-fuzzing-develop/extern/vega/core/matching/orderbook.go:942 +0x4fb
code.vegaprotocol.io/vega/core/execution/future.(*Market).reSubmitPeggedOrders(0xc00418e000, {0x486f058, 0xc0026e6ae0}, {0xc000847500, 0x12, 0x0?})
	/jenkins/workspace/common/vega-market-sim-fuzzing-develop/extern/vega/core/execution/future/special_orders.go:112 +0xf3
code.vegaprotocol.io/vega/core/execution/future.(*Market).repriceAllSpecialOrders(0xc00418e000, {0x486f058, 0xc0026e6ae0}, 0xc0?, {0xc005884000?, 0xc000a7a710?, 0xc0041608c0?})
	/jenkins/workspace/common/vega-market-sim-fuzzing-develop/extern/vega/core/execution/future/special_orders.go:151 +0x117
code.vegaprotocol.io/vega/core/execution/future.(*Market).checkForReferenceMoves(0xc00418e000, {0x486f058, 0xc0026e6ae0}, {0xc005884000, 0x122, 0x200}, 0x1)
	/jenkins/workspace/common/vega-market-sim-fuzzing-develop/extern/vega/core/execution/future/reference_price_moves.go:54 +0x2b1
code.vegaprotocol.io/vega/core/execution/future.(*Market).leaveAuction(0xc00418e000, {0x486f058?, 0xc0026e6ae0}, {0x0?, 0xedbec1b74?, 0x0?})
	/jenkins/workspace/common/vega-market-sim-fuzzing-develop/extern/vega/core/execution/future/market.go:1825 +0x1314
code.vegaprotocol.io/vega/core/execution/future.(*Market).checkAuction(0xc00418e000, {0x486f058?, 0xc0026e6ae0}, {0x0?, 0xedbec13e8?, 0x0?}, {0x483dc80?, 0xc001bef3c8})
	/jenkins/workspace/common/vega-market-sim-fuzzing-develop/extern/vega/core/execution/future/auction.go:155 +0x103f
code.vegaprotocol.io/vega/core/execution/future.(*Market).OnTick(0xc00418e000, {0x486f058, 0xc0026e6ae0}, {0x40?, 0xc0074343e0?, 0x0?})
	/jenkins/workspace/common/vega-market-sim-fuzzing-develop/extern/vega/core/execution/future/market.go:1091 +0x6d8
code.vegaprotocol.io/vega/core/execution.(*Engine).OnTick(0xc000d07c00, {0x486f058, 0xc0026e6ae0}, {0x1?, 0x488ee80?, 0x0?})
	/jenkins/workspace/common/vega-market-sim-fuzzing-develop/extern/vega/core/execution/engine.go:1223 +0x4f1
code.vegaprotocol.io/vega/core/vegatime.(*Svc).notify(...)
	/jenkins/workspace/common/vega-market-sim-fuzzing-develop/extern/vega/core/vegatime/service.go:111
code.vegaprotocol.io/vega/core/vegatime.(*Svc).SetTimeNow(0xc000a7e180, {0x486f058, 0xc0026e6ae0}, {0x40?, 0x6e29a80?, 0x0?})
	/jenkins/workspace/common/vega-market-sim-fuzzing-develop/extern/vega/core/vegatime/service.go:80 +0x263
code.vegaprotocol.io/vega/core/processor.(*App).OnBeginBlock(0xc000a83180, 0xad5, {0xc003df2c80, 0x40}, {0xc00827bb00?, 0x453c69?, 0x0?}, {0x0, 0x0}, {0x6e29a80, ...})
	/jenkins/workspace/common/vega-market-sim-fuzzing-develop/extern/vega/core/processor/abci.go:1347 +0x976
code.vegaprotocol.io/vega/core/blockchain/abci.(*App).FinalizeBlock(0xc0006bab40, {0xb8?, 0x3cbc860?}, 0xc001b40cc0)
	/jenkins/workspace/common/vega-market-sim-fuzzing-develop/extern/vega/core/blockchain/abci/abci.go:168 +0x449
code.vegaprotocol.io/vega/cmd/vega/commands/node.(*appW).FinalizeBlock(0xc00d4183d8?, {0x486f020?, 0x6e29a80?}, 0x3b9aca00?)
	/jenkins/workspace/common/vega-market-sim-fuzzing-develop/extern/vega/cmd/vega/commands/node/app_wrapper.go:91 +0x25
code.vegaprotocol.io/vega/core/blockchain/nullchain.(*NullBlockchain).processBlock(0xc00065d8c0)
	/jenkins/workspace/common/vega-market-sim-fuzzing-develop/extern/vega/core/blockchain/nullchain/nullchain.go:212 +0x556
code.vegaprotocol.io/vega/core/blockchain/nullchain.(*NullBlockchain).ForwardTime(0xc00065d8c0, 0x6c088e200)
	/jenkins/workspace/common/vega-market-sim-fuzzing-develop/extern/vega/core/blockchain/nullchain/nullchain.go:289 +0x1ce
code.vegaprotocol.io/vega/core/blockchain/nullchain.(*NullBlockchain).handleForwardTime.func1()
	/jenkins/workspace/common/vega-market-sim-fuzzing-develop/extern/vega/core/blockchain/nullchain/server.go:132 +0x25
created by code.vegaprotocol.io/vega/core/blockchain/nullchain.(*NullBlockchain).handleForwardTime in goroutine 88432
	/jenkins/workspace/common/vega-market-sim-fuzzing-develop/extern/vega/core/blockchain/nullchain/server.go:131 +0x22f

@wwestgarth wwestgarth self-assigned this Sep 3, 2024
@wwestgarth wwestgarth moved this to In Progress in Core Kanban Sep 3, 2024
@wwestgarth wwestgarth added this to the 🏯 Suzuka Castle milestone Sep 3, 2024
@vega-issues vega-issues moved this from In Progress to Waiting Review in Core Kanban Sep 4, 2024
@vega-issues vega-issues moved this from Waiting Review to Approved in Core Kanban Sep 4, 2024
@github-project-automation github-project-automation bot moved this from Approved to Merged in Core Kanban Sep 4, 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.

2 participants