Skip to content

[Bug] [upgrade] be coredump after upgrading from 1.1-lts to 1.2 #13752

@jacktengg

Description

@jacktengg

Search before asking

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

Version

1.1-lts

What's Wrong?

After upgrading be from 1.1-lts to 1.2(master-738da0b1) , executing the following sql cause be coredump:

select * FROM lineorder, dates WHERE lo_orderdate = d_datekey;

error log:

F1027 16:37:48.220594 98654 descriptors.cpp:355] Check failed: row_tuples.size() > 0 (0 vs. 0) 

coredump callstack:

#7  0x000055f89d59639d in doris::RowDescriptor::RowDescriptor (this=0x61d00196a1a8, desc_tbl=..., 
    row_tuples=std::vector of length 0, capacity 0, nullable_tuples=std::vector<bool> of length 0, capacity 0)
    at /mnt/disk/tengjianping/doris-test/be/src/runtime/descriptors.cpp:355
#8  0x000055f8a080ecd5 in doris::vectorized::HashJoinNode::HashJoinNode (this=0x61d001969a80, pool=0x60300800cbc0, tnode=..., 
    descs=...) at /mnt/disk/tengjianping/doris-test/be/src/vec/exec/join/vhash_join_node.cpp:815
#9  0x000055f89cbc3f53 in doris::ExecNode::create_node (state=0x61c0001bd880, pool=0x60300800cbc0, tnode=..., descs=..., 
    node=0x7da4940e17b0) at /mnt/disk/tengjianping/doris-test/be/src/exec/exec_node.cpp:520
#10 0x000055f89cbc1e0e in doris::ExecNode::create_tree_helper (state=0x61c0001bd880, pool=0x60300800cbc0, 
    tnodes=std::vector of length 3, capacity 3 = {...}, descs=..., parent=0x0, node_idx=0x7da4940e19c0, root=0x617000410df8)
    at /mnt/disk/tengjianping/doris-test/be/src/exec/exec_node.cpp:358
#11 0x000055f89cbc16b7 in doris::ExecNode::create_tree (state=0x61c0001bd880, pool=0x60300800cbc0, plan=..., descs=..., 
    root=0x617000410df8) at /mnt/disk/tengjianping/doris-test/be/src/exec/exec_node.cpp:334
--Type <RET> for more, q to quit, c to continue without paging--c
#12 0x000055f89d7a6edc in doris::PlanFragmentExecutor::prepare (this=0x617000410df0, request=..., fragments_ctx=0x614000150440) at /mnt/disk/tengjianping/doris-test/be/src/runtime/plan_fragment_executor.cpp:138

What You Expected?

sql execute successfully.

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