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

[fix](minor) Reorder incorrect logging #49001

Open
wants to merge 1 commit into
base: branch-2.1
Choose a base branch
from

Conversation

Gabriel39
Copy link
Contributor

@Gabriel39 Gabriel39 commented Mar 13, 2025

What problem does this PR solve?

*** Query id: 0-0 ***
*** is nereids: 0 ***
*** tablet id: 0 ***
*** Aborted at 1741780869 (unix time) try "date -d @1741780869" if you are using GNU date ***
*** Current BE git commitID: e455bce ***
*** SIGSEGV address not mapped to object (@0x1e0) received by PID 5145 (TID 6323 OR 0x7f07c3e83640) from PID 480; stack trace: ***
0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, siginfo_t*, void*) at /home/zcp/repo_center/doris_branch-2.1/doris/be/src/common/signal_handler.h:421
1# 0x00007F09DF269520 in /lib/x86_64-linux-gnu/libc.so.6
2# doris::FragmentMgr::_get_query_ctxdoris::TPipelineFragmentParams(doris::TPipelineFragmentParams const&, doris::TUniqueId, bool, doris::QuerySource, std::shared_ptrdoris::QueryContext&)::{lambda(phmap::flat_hash_map<doris::TUniqueId, std::shared_ptrdoris::QueryContext, phmap::Hashdoris::TUniqueId, phmap::EqualTodoris::TUniqueId, std::allocator<std::pair<doris::TUniqueId const, std::shared_ptrdoris::QueryContext > > >&)#1}::operator()(phmap::flat_hash_map<doris::TUniqueId, std::shared_ptrdoris::QueryContext, phmap::Hashdoris::TUniqueId, phmap::EqualTodoris::TUniqueId, std::allocator<std::pair<doris::TUniqueId const, std::shared_ptrdoris::QueryContext > > >&) const at /home/zcp/repo_center/doris_branch-2.1/doris/be/src/runtime/fragment_mgr.cpp:847
3# std::_Function_handler<doris::Status (phmap::flat_hash_map<doris::TUniqueId, std::shared_ptrdoris::QueryContext, phmap::Hashdoris::TUniqueId, phmap::EqualTodoris::TUniqueId, std::allocator<std::pair<doris::TUniqueId const, std::shared_ptrdoris::QueryContext > > >&), doris::FragmentMgr::_get_query_ctxdoris::TPipelineFragmentParams(doris::TPipelineFragmentParams const&, doris::TUniqueId, bool, doris::QuerySource, std::shared_ptrdoris::QueryContext&)::{lambda(phmap::flat_hash_map<doris::TUniqueId, std::shared_ptrdoris::QueryContext, phmap::Hashdoris::TUniqueId, phmap::EqualTodoris::TUniqueId, std::allocator<std::pair<doris::TUniqueId const, std::shared_ptrdoris::QueryContext > > >&)#1}>::_M_invoke(std::_Any_data const&, phmap::flat_hash_map<doris::TUniqueId, std::shared_ptrdoris::QueryContext, phmap::Hashdoris::TUniqueId, phmap::EqualTodoris::TUniqueId, std::allocator<std::pair<doris::TUniqueId const, std::shared_ptrdoris::QueryContext > > >&) at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/std_function.h:291
4# doris::ConcurrentContextMap<doris::TUniqueId, std::shared_ptrdoris::QueryContext, doris::QueryContext>::apply_if_not_exists(doris::TUniqueId const&, std::shared_ptrdoris::QueryContext&, std::function<doris::Status (phmap::flat_hash_map<doris::TUniqueId, std::shared_ptrdoris::QueryContext, phmap::Hashdoris::TUniqueId, phmap::EqualTodoris::TUniqueId, std::allocator<std::pair<doris::TUniqueId const, std::shared_ptrdoris::QueryContext > > >&)>&&) at /home/zcp/repo_center/doris_branch-2.1/doris/be/src/runtime/fragment_mgr.cpp:275
5# doris::Status doris::FragmentMgr::_get_query_ctxdoris::TPipelineFragmentParams(doris::TPipelineFragmentParams const&, doris::TUniqueId, bool, doris::QuerySource, std::shared_ptrdoris::QueryContext&) at /home/zcp/repo_center/doris_branch-2.1/doris/be/src/runtime/fragment_mgr.cpp:847
6# doris::FragmentMgr::exec_plan_fragment(doris::TPipelineFragmentParams const&, doris::QuerySource, std::function<void (doris::RuntimeState*, doris::Status*)> const&) at /home/zcp/repo_center/doris_branch-2.1/doris/be/src/runtime/fragment_mgr.cpp:1060
7# doris::FragmentMgr::exec_plan_fragment(doris::TPipelineFragmentParams const&, doris::QuerySource) at /home/zcp/repo_center/doris_branch-2.1/doris/be/src/runtime/fragment_mgr.cpp:782
8# doris::PInternalServiceImpl::_exec_plan_fragment_impl(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, doris::PFragmentRequestVersion, bool, std::function<void (doris::RuntimeState*, doris::Status*)> const&) in /mnt/hdd01/dorisTestEnv/NEREIDS_ASAN/be/lib/doris_be
9# doris::PInternalServiceImpl::_exec_plan_fragment_in_pthread(google::protobuf::RpcController*, doris::PExecPlanFragmentRequest const*, doris::PExecPlanFragmentResult*, google::protobuf::Closure*) at /home/zcp/repo_center/doris_branch-2.1/doris/be/src/service/internal_service.cpp:356
10# doris::WorkThreadPool::work_thread(int) at /home/zcp/repo_center/doris_branch-2.1/doris/be/src/util/work_thread_pool.hpp:159
11# execute_native_thread_routine at ../../../../../libstdc++-v3/src/c++11/thread.cc:84
12# start_thread at ./nptl/pthread_create.c:442
13# 0x00007F09DF34D850 at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:83

Release note

None

Check List (For Author)

  • Test

    • Regression test
    • Unit Test
    • Manual test (add detailed scripts or steps below)
    • No need to test or manual test. Explain why:
      • This is a refactor/code format and no logic has been changed.
      • Previous test can cover this change.
      • No code files have been changed.
      • Other reason
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

@Gabriel39 Gabriel39 requested a review from yiguolei as a code owner March 13, 2025 02:54
@hello-stephen
Copy link
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@Gabriel39
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

BE UT Coverage Report

Increment line coverage 0.00% (0/6) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 37.10% (9775/26345)
Line Coverage 28.85% (81913/283896)
Region Coverage 27.41% (41932/152954)
Branch Coverage 24.18% (21330/88226)

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Mar 13, 2025
Copy link
Contributor

PR approved by at least one committer and no changes requested.

Copy link
Contributor

PR approved by anyone and no changes requested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by one committer. reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants