Invalid memory access when shutting down process #8408
Labels
affects-7.5
This bug affects the 7.5.x(LTS) versions.
component/storage
severity/moderate
type/bug
The issue is confirmed as a bug.
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");
tiflash/dbms/src/Server/Server.cpp
Lines 1707 to 1716 in 3d3a5f1
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
4. What is your TiFlash version? (Required)
master
introduced by 7bd02a8 since 7.3.0
The text was updated successfully, but these errors were encountered: