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

invalid memory address in the addindex_test #53679

Closed
hawkingrei opened this issue May 30, 2024 · 2 comments · Fixed by #53754
Closed

invalid memory address in the addindex_test #53679

hawkingrei opened this issue May 30, 2024 · 2 comments · Fixed by #53754
Assignees
Labels
component/ddl This issue is related to DDL of TiDB. component/test severity/major type/bug The issue is confirmed as a bug.

Comments

@hawkingrei
Copy link
Member

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

2. What did you expect to see? (Required)

3. What did you see instead (Required)

panic: runtime error: invalid memory address or nil pointer dereference

[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x4739c0e]


goroutine 1874953 [running]:

github.com/pingcap/tidb/pkg/lightning/backend.(*ClosedEngine).Cleanup(0x0, {0x6f945f8, 0xc04092c460})

	pkg/lightning/backend/backend.go:405 +0x2e

github.com/pingcap/tidb/pkg/ddl/ingest.(*litBackendCtx).unsafeImportAndReset(0xc040bddb90, 0xc057f1f5f0)

	pkg/ddl/ingest/backend.go:289 +0x666

github.com/pingcap/tidb/pkg/ddl/ingest.(*litBackendCtx).Flush(0xc040bddb90, 0xa0?)

	pkg/ddl/ingest/backend.go:250 +0x875

github.com/pingcap/tidb/pkg/ddl.(*indexWriteResultSink).flush(0xc057f54790)

	pkg/ddl/backfilling_operators.go:825 +0xb3

github.com/pingcap/tidb/pkg/ddl.(*indexWriteResultSink).collectResult(0xc057f54790)

	pkg/ddl/backfilling_operators.go:804 +0x18f

golang.org/x/sync/errgroup.(*Group).Go.func1()

	external/org_golang_x_sync/errgroup/errgroup.go:78 +0x56

created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1855725

	external/org_golang_x_sync/errgroup/errgroup.go:75 +0x96

https://do.pingcap.net/jenkins/blue/organizations/jenkins/pingcap%2Ftidb%2Fghpr_check2/detail/ghpr_check2/10414/pipeline

4. What is your TiDB version? (Required)

@hawkingrei hawkingrei added the type/bug The issue is confirmed as a bug. label May 30, 2024
@jebter jebter added component/test severity/major component/ddl This issue is related to DDL of TiDB. labels May 31, 2024
@tangenta
Copy link
Contributor

tangenta commented Jun 3, 2024

This issue should have been fixed by #53233.

@tangenta
Copy link
Contributor

tangenta commented Aug 5, 2024

This is introduced by #53233 and not merged to v8.1, so we should remove the tag 'affects-8.1'.

@tangenta tangenta reopened this Aug 5, 2024
@tangenta tangenta closed this as completed Aug 5, 2024
@tangenta tangenta removed the affects-8.1 This bug affects the 8.1.x(LTS) versions. label Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/ddl This issue is related to DDL of TiDB. component/test severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants