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 the br/pkg/backup/prepare_snap.(*prepareStream).convertToEvent #50751

Closed
Tracked by #41316
hawkingrei opened this issue Jan 26, 2024 · 4 comments
Closed
Tracked by #41316
Assignees
Labels
component/br This issue is related to BR of TiDB. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 may-affects-7.1 may-affects-7.5 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=0x0 pc=0x1e0dc3a]
goroutine 87 [running]:
github.com/pingcap/tidb/br/pkg/backup/prepare_snap.(*prepareStream).convertToEvent(0xc000554140, 0x0)
	br/pkg/backup/prepare_snap/stream.go:188 +0x5a
github.com/pingcap/tidb/br/pkg/backup/prepare_snap.(*prepareStream).onResponse(0xc000554140, {0x3202bc0, 0xc0002fe550}, {{0x0?, 0x0?}, 0x0?})
	br/pkg/backup/prepare_snap/stream.go:107 +0x1bd
github.com/pingcap/tidb/br/pkg/backup/prepare_snap.(*prepareStream).clientLoop(0xc000554140, {0x3202bc0, 0xc0002fe550}, 0x1bf08eb000)
	br/pkg/backup/prepare_snap/stream.go:152 +0x2c9
github.com/pingcap/tidb/br/pkg/backup/prepare_snap.(*prepareStream).GoLeaseLoop.func1()
	br/pkg/backup/prepare_snap/stream.go:97 +0x55
golang.org/x/sync/errgroup.(*Group).Go.func1()
	external/org_golang_x_sync/errgroup/errgroup.go:78 +0x98
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 69
	external/org_golang_x_sync/errgroup/errgroup.go:75 +0x125 

https://tiprow.hawkingrei.com/view/gs/pingcapprow/logs/tidb_data_race/1750748952065478656#1:build-log.txt%3A1070

4. What is your TiDB version? (Required)

@hawkingrei hawkingrei added the type/bug The issue is confirmed as a bug. label Jan 26, 2024
@BornChanger
Copy link
Contributor

/assign @YuJuncen

@BornChanger
Copy link
Contributor

please close it since the problem does not appear now.

@BornChanger
Copy link
Contributor

/close

@ti-chi-bot ti-chi-bot bot closed this as completed Apr 2, 2024
Copy link

ti-chi-bot bot commented Apr 2, 2024

@BornChanger: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/br This issue is related to BR of TiDB. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 may-affects-7.1 may-affects-7.5 severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

4 participants