Skip to content

[Bug] be core dump when EqualPredicate<doris::StringValue>::evaluate_or  #9823

Closed

Description

@dataroaring

Search before asking

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

Version

dev-1.0.1 & master

What's Wrong?

#0 doris::StringValue::eq (other=..., this=0x1000) at /root/incubator-doris/be/src/runtime/string_value.h:127 #1 doris::StringValue::operator== (other=..., this=0x1000) at /root/incubator-doris/be/src/runtime/string_value.h:138 #2 doris::EqualPredicate<doris::StringValue>::evaluate_or (this=0x563a90dd43a0, column=..., sel=0x7f91ebdd50a0, size=4096, flags=0x7f91ebdd3f90) at /root/incubator-doris/be/src/olap/comparison_predicate.cpp:326 #3 0x0000563a6ff885ab in doris::OrBlockColumnPredicate::evaluate (selected_size=0x7f91ebdd7130, sel=0x7f91ebdd50a0, block=..., this=0x563b018dd1e0) at /root/incubator-doris/be/src/olap/block_column_predicate.cpp:95 #4 doris::OrBlockColumnPredicate::evaluate (this=0x563b018dd1e0, block=..., sel=0x7f91ebdd50a0, selected_size=0x7f91ebdd7130) at /root/incubator-doris/be/src/olap/block_column_predicate.cpp:87 #5 0x0000563a6ff87c96 in doris::AndBlockColumnPredicate::evaluate (this=<optimized out>, block=..., sel=0x7f91ebdd50a0, selected_size=0x7f91ebdd7130) at /root/incubator-doris/be/src/olap/block_column_predicate.cpp:162 #6 0x0000563a708b634a in doris::segment_v2::SegmentIterator::_evaluate_short_circuit_predicate ( this=this@entry=0x563aef79e500, vec_sel_rowid_idx=vec_sel_rowid_idx@entry=0x7f91ebdd50a0, selected_size_ptr=selected_size_ptr@entry=0x7f91ebdd7130) at /var/local/ldb-toolchain/include/c++/11/bits/shared_ptr_base.h:1290 #7 0x0000563a708bcc2d in doris::segment_v2::SegmentIterator::next_batch (this=0x563aef79e500, block=0x563ad8e5ed20) at /root/incubator-doris/be/src/olap/rowset/segment_v2/segment_iterator.cpp:981 #8 0x0000563a6ffd9b6d in doris::BetaRowsetReader::next_block (this=0x563ae4743980, block=0x563ad8e5ed20) at /root/incubator-doris/be/src/olap/rowset/beta_rowset_reader.cpp:193 #9 0x0000563a71865bf8 in doris::vectorized::VCollectIterator::Level0Iterator::next (this=0x563ad7dbbf40, block=0x563ad8e5ed20) at /root/incubator-doris/be/src/vec/olap/vcollect_iterator.cpp:236 #10 0x0000563a71865cec in doris::vectorized::VCollectIterator::Level1Iterator::_normal_next (block=<optimized out>, this=<optimized out>) at /root/incubator-doris/be/src/vec/olap/vcollect_iterator.cpp:395 #11 doris::vectorized::VCollectIterator::Level1Iterator::next (this=0x563b17133020, block=0x563ad8e5ed20) at /root/incubator-doris/be/src/vec/olap/vcollect_iterator.cpp:293 #12 0x0000563a7182e948 in doris::vectorized::BlockReader::_direct_next_block (this=<optimized out>, block=<optimized out>, mem_pool=<optimized out>, agg_pool=<optimized out>, eof=0x7f91ebdd79be) at /root/incubator-doris/be/src/vec/olap/block_reader.cpp:175 #13 0x0000563a709df06e in doris::vectorized::VOlapScanner::get_block (this=this@entry=0x563aced55600, state=<optimized out>, block=block@entry=0x563ad8e5ed20, eof=eof@entry=0x7f91ebdd79be) at /root/incubator-doris/be/src/vec/exec/volap_scanner.cpp:55 #14 0x0000563a709d485e in doris::vectorized::VOlapScanNode::scanner_thread (this=0x563b2aa84000, scanner=0x563aced55600)

What You Expected?

work normal.

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

Activity

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

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