dataroaring opened a new issue, #8853:
URL: https://github.com/apache/incubator-doris/issues/8853

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Version
   
   dev-1.0.1 master
   
   ### What's Wrong?
   
   UBSAN detects an invalid access to PBackendService_Stub object.
   
   
/root/regression/incubator-doris/be/src/vec/sink/vdata_stream_sender.cpp:149:17:
 runtime error: member call on address 0x000069884ee0 which does not point to 
an object of type 'doris::PBackendService_Stub'
   0x000069884ee0: note: object has invalid vptr
    00 00 00 00  03 00 00 00 00 00 00 00  12 27 00 00 00 00 00 00  00 10 00 00 
00 00 00 00  00 65 00 7c
                 ^~~~~~~~~~~~~~~~~~~~~~~
                 invalid vptr
   
   Without ubsan, be cores dump like below:
   
   `#2  0x0000000004096bb7 in doris::PBackendService_Stub::merge_filter 
(this=0x6cb5a010, controller=0xe6f7cf78, request=0xe6f7cf10, 
response=0xe6f7cf58, 
       done=0x569ac070) at 
/root/regression/incubator-doris/gensrc/build/gen_cpp/internal_service.pb.cc:19369
   #3  0x00000000045078a2 in doris::IRuntimeFilter::push_to_remote 
(this=0x6aed0fc0, state=0x26e13000, addr=0x7f995b1d1788)
       at 
/root/regression/incubator-doris/be/src/exprs/runtime_filter_rpc.cpp:75
   #4  0x00000000044f5b2e in doris::IRuntimeFilter::publish (this=0x6aed0fc0) 
at /root/regression/incubator-doris/be/src/exprs/runtime_filter.cpp:960
   #5  0x0000000004b15b09 in 
doris::RuntimeFilterSlotsBase<doris::vectorized::VExprContext>::publish 
(this=0x3670ff1d0)
       at 
/root/regression/incubator-doris/be/src/exprs/runtime_filter_slots.h:211
   #6  0x0000000004b17fa0 in 
doris::vectorized::ProcessRuntimeFilterBuild<doris::vectorized::PrimaryTypeHashTableContext<unsigned
 int> >::operator() (
       this=0x7f995b1d1ce0, state=0x26e13000, hash_table_ctx=...) at 
/root/regression/incubator-doris/be/src/vec/exec/join/vhash_join_node.cpp:146
   #7  0x000000000481545f in 
doris::vectorized::HashJoinNode::_hash_table_build(doris::RuntimeState*)::$_4::operator()<doris::vectorized::PrimaryTypeHashTableContext<unsigned
 int>&>(doris::vectorized::PrimaryTypeHashTableContext<unsigned int>&) const 
(this=0x7f995b1d2098, arg=...)
       at 
/root/regression/incubator-doris/be/src/vec/exec/join/vhash_join_node.cpp:1006
   #8  0x0000000004815405 in std::__invoke_impl<doris::Status, 
doris::vectorized::HashJoinNode::_hash_table_build(doris::RuntimeState*)::$_4, 
doris::vectorized::PrimaryTypeHashTableContext<unsigned 
int>&>(std::__invoke_other, 
doris::vectorized::HashJoinNode::_hash_table_build(doris::RuntimeState*)::$_4&&,
 doris::vectorized::PrimaryTypeHashTableContext<unsigned int>&) (__f=..., 
__args=...)
       at 
/var/local/ldb_toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/invoke.h:61
   #9  0x0000000004815385 in 
std::__invoke<doris::vectorized::HashJoinNode::_hash_table_build(doris::RuntimeState*)::$_4,
 doris::vectorized::PrimaryTypeHashTableContext<unsigned 
int>&>(doris::vectorized::HashJoinNode::_hash_table_build(doris::RuntimeState*)::$_4&&,
 doris::vectorized::PrimaryTypeHashTableContext<unsigned int>&) (__fn=..., 
__args=...) at 
/var/local/ldb_toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/invoke.h:96`
   
   
   ### What You Expected?
   
   does not core dump
   
   ### How to Reproduce?
   
   long run tests
   
   ### Anything Else?
   
   no
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to