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]: tae panic during bvt test #10776

Closed
1 task done
daviszhen opened this issue Jul 20, 2023 · 6 comments
Closed
1 task done

[Bug]: tae panic during bvt test #10776

daviszhen opened this issue Jul 20, 2023 · 6 comments
Assignees
Labels
kind/bug Something isn't working needs-triage severity/s0 Extreme impact: Cause the application to break down and seriously affect the use

Comments

@daviszhen
Copy link
Contributor

daviszhen commented Jul 20, 2023

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Environment

- Version or commit-id (e.g. v0.1.0 or 8b23a93):226e08ea4ab98f24a8db5eca0ac720234555a3ce
- Hardware parameters:amd
- OS type:ubuntu
- Others:

Actual Behavior

pengzhen@pengzhen:~/Documents/matrixone$ ./mo-service -debug-http 127.0.0.1:8123 -launch etc/launch-tae-CN-tae-DN/launch.toml > log.txt 
panic: runtime error: index out of range [5] with length 5

goroutine 1448 [running]:
github.com/matrixorigin/matrixone/pkg/vm/engine/tae/tables.(*memoryNode).Foreach(...)
	/home/pengzhen/Documents/matrixone/pkg/vm/engine/tae/tables/mnode.go:126
github.com/matrixorigin/matrixone/pkg/vm/engine/tae/tables.(*baseBlock).Foreach(0xc016d150e0, {0x2ebe938, 0xc005f7a9f0}, 0x5, 0x2777440?, 0xc008e6bb01?)
	/home/pengzhen/Documents/matrixone/pkg/vm/engine/tae/tables/base.go:113 +0x297
github.com/matrixorigin/matrixone/pkg/vm/engine/tae/logtail.(*TxnLogtailRespBuilder).visitDelete(0xc01761c900, {0x2ebe938, 0xc005f7a9f0}, {0x2f07f00?, 0xc01762f280})
	/home/pengzhen/Documents/matrixone/pkg/vm/engine/tae/logtail/txn_handle.go:208 +0x56e
github.com/matrixorigin/matrixone/pkg/vm/engine/tae/txn/txnimpl.(*txnStore).ObserveTxn(0xc01706f4a0, 0xc017636070, 0xc017636080, 0xc017636090, 0xc0176360a0, 0xc0176360b0, 0xc0176360c0, 0xc0176360d0)
	/home/pengzhen/Documents/matrixone/pkg/vm/engine/tae/txn/txnimpl/store.go:388 +0x384
github.com/matrixorigin/matrixone/pkg/vm/engine/tae/logtail.(*TxnLogtailRespBuilder).CollectLogtail(0xc01761c900, {0x2f25b80?, 0xc017138ee0?})
	/home/pengzhen/Documents/matrixone/pkg/vm/engine/tae/logtail/txn_handle.go:86 +0x283
github.com/matrixorigin/matrixone/pkg/vm/engine/tae/logtail.(*Manager).onCollectTxnLogtails(0xc007810770, {0xc0066fe300?, 0x1, 0x0?})
	/home/pengzhen/Documents/matrixone/pkg/vm/engine/tae/logtail/mgr.go:115 +0x21c
github.com/matrixorigin/matrixone/pkg/vm/engine/tae/logstore/sm.(*safeQueue).Start.func1()
	/home/pengzhen/Documents/matrixone/pkg/vm/engine/tae/logstore/sm/safeq.go:79 +0x1ec
created by github.com/matrixorigin/matrixone/pkg/vm/engine/tae/logstore/sm.(*safeQueue).Start
	/home/pengzhen/Documents/matrixone/pkg/vm/engine/tae/logstore/sm/safeq.go:58 +0xea



Expected Behavior

no panic

Steps to Reproduce

I am not sure that it can be reproduced again.

the code is on the branch https://github.com/daviszhen/matrixone/tree/0719-debug-10549 modified based on the branch 0.8.0.

1. remove mo-data
2. `./mo-service -debug-http 127.0.0.1:8123 -launch etc/launch-tae-CN-tae-DN/launch.toml > log.txt `
3. run bvt. `./run.sh  -p /home/pengzhen/Documents/matrixone/test/distributed/cases`

Additional information

No response

@daviszhen daviszhen added kind/bug Something isn't working needs-triage labels Jul 20, 2023
@daviszhen daviszhen changed the title [Bug]: tae panic [Bug]: tae panic during bvt test Jul 20, 2023
@daviszhen daviszhen added the severity/s0 Extreme impact: Cause the application to break down and seriously affect the use label Jul 20, 2023
@daviszhen
Copy link
Contributor Author

mo log

log.txt

@daviszhen
Copy link
Contributor Author

I reproduce it again.

@w-zr w-zr assigned aptend and unassigned matrix-meow Jul 20, 2023
@daviszhen
Copy link
Contributor Author

i reproduce it again. Jesus! I can not run bvt on my pc

@daviszhen
Copy link
Contributor Author

感觉是run bvt 时,没带参数-g

@aptend
Copy link
Contributor

aptend commented Jul 25, 2023

暂时没看

@aptend
Copy link
Contributor

aptend commented Jul 28, 2023

之前的一个 pr #10788 应该对这个panic 有修复

@aptend aptend assigned daviszhen and unassigned aptend Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working needs-triage severity/s0 Extreme impact: Cause the application to break down and seriously affect the use
Projects
None yet
Development

No branches or pull requests

3 participants