Skip to content

[Bug] Core dump when execute tpch sql1 on hms table #10572

@SaintBacchus

Description

@SaintBacchus

Search before asking

  • I had searched in the issues and found no similar issues.

Version

master branch

What's Wrong?

Now when use the muti-catalog for hms table, it will core dump when execute tpch q1 sql like this.

select
  l_returnflag,
  l_linestatus,
  sum(l_quantity) as sum_qty,
  sum(l_extendedprice) as sum_base_price,
  sum(l_extendedprice * (1 - l_discount)) as sum_disc_price,
  sum(l_extendedprice * (1 - l_discount) * (1 + l_tax)) as sum_charge,
  avg(l_quantity) as avg_qty,
  avg(l_extendedprice) as avg_price,
  avg(l_discount) as avg_disc,
  count(*) as count_order
from lineitem
where  l_shipdate = date '1998-12-01'
group by  l_returnflag,  l_linestatus
order by  l_returnflag,  l_linestatus;

core dump log

*** SIGABRT unkown detail explain (@0x3e9003983f0) received by PID 3769328 (TID 0x7f90c32b0700) from PID 3769328; stack trace: ***
 0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, siginfo_t*, void*) at /home/huangzhaowei.416/incubator-doris/be/src/common/signal_handler.h:407
 1# 0x00007F91B6FB4840 in /lib/x86_64-linux-gnu/libc.so.6
 2# raise at ../sysdeps/unix/sysv/linux/raise.c:51
 3# abort at /build/glibc-vjB4T1/glibc-2.28/stdlib/abort.c:81
 4# 0x00005606EBA9F449 in /home/huangzhaowei.416/incubator-doris/output/be/lib/doris_be
 5# 0x00005606EBA94A5D at src/logging.cc:1650
 6# google::LogMessage::SendToLog() at src/logging.cc:1607
 7# google::LogMessage::Flush() at src/logging.cc:1477
 8# google::LogMessageFatal::~LogMessageFatal() at src/logging.cc:2227
 9# doris::vectorized::ColumnVector<unsigned char>::filter(doris::vectorized::PODArray<unsigned char, 4096ul, Allocator<false, false>, 15ul, 16ul> const&, long) const at /home/huangzhaowei.416/incubator-doris/be/src/vec/columns/column_vector.cpp:293
10# doris::vectorized::ColumnNullable::filter(doris::vectorized::PODArray<unsigned char, 4096ul, Allocator<false, false>, 15ul, 16ul> const&, long) const at /home/huangzhaowei.416/incubator-doris/be/src/vec/columns/column_nullable.cpp:194
11# doris::vectorized::filter_block_internal(doris::vectorized::Block*, doris::vectorized::PODArray<unsigned char, 4096ul, Allocator<false, false>, 15ul, 16ul> const&, unsigned int) at /home/huangzhaowei.416/incubator-doris/be/src/vec/core/block.cpp:609
12# doris::vectorized::Block::filter_block(doris::vectorized::Block*, int, int) at /home/huangzhaowei.416/incubator-doris/be/src/vec/core/block.cpp:650
13# doris::vectorized::VExprContext::filter_block(std::unique_ptr<doris::vectorized::VExprContext*, std::default_delete<doris::vectorized::VExprContext*> > const&, doris::vectorized::Block*, int) at /home/huangzhaowei.416/incubator-doris/be/src/vec/exprs/vexpr_context.cpp:136
14# doris::vectorized::FileScanNode::scanner_scan(doris::TFileScanRange const&, doris::ScannerCounter*) at /home/huangzhaowei.416/incubator-doris/be/src/vec/exec/file_scan_node.cpp:230
15# doris::vectorized::FileScanNode::scanner_worker(int, int) at /home/huangzhaowei.416/incubator-doris/be/src/vec/exec/file_scan_node.cpp:274
16# execute_native_thread_routine in /home/huangzhaowei.416/incubator-doris/output/be/lib/doris_be
17# start_thread at /build/glibc-vjB4T1/glibc-2.28/nptl/pthread_create.c:487
18# clone at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

What You Expected?

get the result

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions