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

tiflash produce core file when tiup restart tiflash node #4262

Closed
lilinghai opened this issue Mar 14, 2022 · 1 comment · Fixed by #4272 or #4291
Closed

tiflash produce core file when tiup restart tiflash node #4262

lilinghai opened this issue Mar 14, 2022 · 1 comment · Fixed by #4272 or #4291

Comments

@lilinghai
Copy link

lilinghai commented Mar 14, 2022

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

run tpch in currency for a while , then stop workload and restart tiflash node

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

tiflash produce core file and restart consume many time

[2022/03/14 22:07:08.597 +08:00] [ERROR] [<unknown>] ["BaseDaemon:(from thread 1) Terminate called after throwing an instance of std::__1::future_error\nwhat(): The state of the promise has already been set.\nStack trace:\n\n0. bin/tiflash/tiflash(StackTrace::StackTrace()+0x13) [0x57d98c3]\n1. bin/tiflash/tiflash() [0x597e80f]\n2. /data1/llhtest5/deploy/tiflash-9911/bin/tiflash/libc++abi.so.1(+0x39a13) [0x7f5567cf5a13]\n3. /data1/llhtest5/deploy/tiflash-9911/bin/tiflash/libc++abi.so.1(std::terminate()+0x38) [0x7f5567cf59b8]\n4. bin/tiflash/tiflash() [0x57c34bb]\n5. bin/tiflash/tiflash() [0x58174d7]\n6. bin/tiflash/tiflash(DB::Server::main(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&)+0x453d) [0x580bead]\n7. bin/tiflash/tiflash(Poco::Util::Application::run()+0x2a) [0xb920d4a]\n8. bin/tiflash/tiflash(Poco::Util::ServerApplication::run(int, char**)+0x11c) [0xb93050c]\n9. bin/tiflash/tiflash(mainEntryClickHouseServer("] [thread_id=12324]
[2022/03/14 22:07:08.597 +08:00] [ERROR] [<unknown>] [BaseDaemon:########################################] [thread_id=12324]
[2022/03/14 22:07:08.597 +08:00] [ERROR] [<unknown>] ["BaseDaemon:(from thread 1) Received signal Aborted (6)."] [thread_id=12324]

3. What did you see instead (Required)

4. What is your TiFlash version? (Required)

master
d733a9e

@lilinghai lilinghai added the type/bug The issue is confirmed as a bug. label Mar 14, 2022
@bestwoody bestwoody self-assigned this Mar 14, 2022
ti-chi-bot pushed a commit that referenced this issue Mar 15, 2022
JaySon-Huang pushed a commit to JaySon-Huang/tiflash that referenced this issue Mar 17, 2022
@bestwoody
Copy link
Contributor

Another case will also cause coredump even for old version, when log service has ended earily while mpptask is still running.

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.

4 participants