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 access when shutting down process #8408

Closed
JaySon-Huang opened this issue Nov 22, 2023 · 0 comments · Fixed by #8409
Closed

Invalid memory access when shutting down process #8408

JaySon-Huang opened this issue Nov 22, 2023 · 0 comments · Fixed by #8409

Comments

@JaySon-Huang
Copy link
Contributor

JaySon-Huang commented Nov 22, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

Add a line after store_idnet is got to mock an exception thrown and tiflash stopped throw Exception("Mock exception thrown");

if (store_ident)
{
RUNTIME_ASSERT(
store_id == store_ident->store_id(),
log,
"store id mismatch store_id={} store_ident.store_id={}",
store_id,
store_ident->store_id());
}
if (global_context->getSharedContextDisagg()->isDisaggregatedComputeMode())

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

TiFlash stop without invalid memory access

3. What did you see instead (Required)

There is an invalid memory access. This is because the logging system is already closed

image
image

4. What is your TiFlash version? (Required)

master

introduced by 7bd02a8 since 7.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant