You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/12/23 13:48:29 UTC

[GitHub] [doris] liaoxin01 opened a new issue, #15334: [Bug] be core dump when the predicates are all false

liaoxin01 opened a new issue, #15334:
URL: https://github.com/apache/doris/issues/15334

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   master-8c0de789e4 
   
   ### What's Wrong?
   
   F1223 20:51:43.008709 873274 block.h:306] Check failed: columns() >= num_columns (2 vs. 3)
   *** Check failure stack trace: ***
       @     0x55f340c9ad49  google::LogMessageFatal::~LogMessageFatal()
       @     0x55f32f97bb1a  doris::vectorized::Block::compare_at()
       @     0x55f33fbe3b34  doris::vectorized::IteratorRowRef::compare<>()
       @     0x55f33fbd6fe5  doris::vectorized::VCollectIterator::LevelIteratorComparator::operator()()
       @     0x55f33fbeb32c  __gnu_pbds::detail::pairing_heap<>::push_imp()
       @     0x55f33fbe5491  __gnu_pbds::detail::pairing_heap<>::push()
       @     0x55f33fbddfc1  doris::vectorized::VCollectIterator::Level1Iterator::init()
       @     0x55f33fbd61b0  doris::vectorized::VCollectIterator::build_heap()
       @     0x55f33fbec5d8  doris::vectorized::BlockReader::_init_collect_iter()
       @     0x55f33fbee5ec  doris::vectorized::BlockReader::init()
       @     0x55f340458a2c  doris::vectorized::NewOlapScanner::open()
       @     0x55f34031091f  doris::vectorized::ScannerScheduler::_scanner_scan()
       @     0x55f340312a43  doris::vectorized::ScannerScheduler::_schedule_scanners()::$_1::operator()()
       @     0x55f340312995  std::__invoke_impl<>()
       @     0x55f340312935  _ZSt10__invoke_rIvRZN5doris10vectorized16ScannerScheduler18_schedule_scannersEPNS1_14ScannerContextEE3$_1JEENSt9enable_ifIX16is_invocable_r_vIT_T0_DpT1_EES8_E4typeEOS9_DpOSA_
       @     0x55f34031279d  std::_Function_handler<>::_M_invoke()
       @     0x55f33138b033  std::function<>::operator()()
       @     0x55f331e2ef49  doris::FunctionRunnable::run()
       @     0x55f331e1bbac  doris::ThreadPool::dispatch_thread()
       @     0x55f331e42894  std::__invoke_impl<>()
       @     0x55f331e4276d  std::__invoke<>()
       @     0x55f331e426f5  _ZNSt5_BindIFMN5doris10ThreadPoolEFvvEPS1_EE6__callIvJEJLm0EEEET_OSt5tupleIJDpT0_EESt12_Index_tupleIJXspT1_EEE
       @     0x55f331e4259e  std::_Bind<>::operator()<>()
       @     0x55f331e424b5  std::__invoke_impl<>()
       @     0x55f331e42455  _ZSt10__invoke_rIvRSt5_BindIFMN5doris10ThreadPoolEFvvEPS2_EEJEENSt9enable_ifIX16is_invocable_r_vIT_T0_DpT1_EESA_E4typeEOSB_DpOSC_
       @     0x55f331e420fd  std::_Function_handler<>::_M_invoke()
       @     0x55f33138b033  std::function<>::operator()()
       @     0x55f331df436f  doris::Thread::supervise_thread()
       @     0x7f1c026c0ea5  start_thread
       @     0x7f1c02ed9b0d  __clone
       @              (nil)  (unknown)
   *** Query id: 0-0 ***
   *** Aborted at 1671799903 (unix time) try "date -d @1671799903" if you are using GNU date ***
   *** Current BE git commitID: 7241c156ed ***
   *** SIGABRT unkown detail explain (@0xd52c3) received by PID 873155 (TID 0x7f1b77c94700) from PID 873155; stack trace: ***
    0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, siginfo_t*, void*) at /root/code/doris/be/src/common/signal_handler.h:420
    1# 0x00007F1C02E11400 in /lib64/libc.so.6
    2# gsignal in /lib64/libc.so.6
    3# abort in /lib64/libc.so.6
    4# 0x000055F340CA0D19 in /root/code/doris/output/be/lib/doris_be
    5# google::LogMessage::SendToLog() in /root/code/doris/output/be/lib/doris_be
    6# google::LogMessage::Flush() in /root/code/doris/output/be/lib/doris_be
    7# google::LogMessageFatal::~LogMessageFatal() in /root/code/doris/output/be/lib/doris_be
    8# doris::vectorized::Block::compare_at(unsigned long, unsigned long, unsigned long, doris::vectorized::Block const&, int) const in /root/code/doris/output/be/lib/doris_be
    9# int doris::vectorized::IteratorRowRef::compare<unsigned long>(doris::vectorized::IteratorRowRef const&, unsigned long const&) const at /root/code/doris/be/src/vec/core/block.h:513
   10# doris::vectorized::VCollectIterator::LevelIteratorComparator::operator()(doris::vectorized::VCollectIterator::LevelIterator*, doris::vectorized::VCollectIterator::LevelIterator*) at /root/code/doris/b
   e/src/vec/olap/vcollect_iterator.cpp:146
   11# __gnu_pbds::detail::pairing_heap<doris::vectorized::VCollectIterator::LevelIterator*, doris::vectorized::VCollectIterator::LevelIteratorComparator, std::allocator<char> >::push_imp(__gnu_pbds::detail::left_child_next_sibling_heap_node_<doris::vectorized::VCollectIterator::LevelIterator*, __gnu_pbds::null_type, std::allocator<char> >*) at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/ext/pb_ds/detail/pairing_heap_/insert_fn_imps.hpp:66
   12# __gnu_pbds::detail::pairing_heap<doris::vectorized::VCollectIterator::LevelIterator*, doris::vectorized::VCollectIterator::LevelIteratorComparator, std::allocator<char> >::push(doris::vectorized::VCollectIterator::LevelIterator* const&) at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/ext/pb_ds/detail/pairing_heap_/insert_fn_imps.hpp:50
   13# doris::vectorized::VCollectIterator::Level1Iterator::init(bool) at /root/code/doris/be/src/vec/olap/vcollect_iterator.cpp:390
   14# doris::vectorized::VCollectIterator::build_heap(std::vector<std::shared_ptr<doris::RowsetReader>, std::allocator<std::shared_ptr<doris::RowsetReader> > >&) at /root/code/doris/be/src/vec/olap/vcollect_iterator.cpp:120
   15# doris::vectorized::BlockReader::_init_collect_iter(doris::TabletReader::ReaderParams const&, std::vector<std::shared_ptr<doris::RowsetReader>, std::allocator<std::shared_ptr<doris::RowsetReader> > >*) at /root/code/doris/be/src/vec/olap/block_reader.cpp:66
   16# doris::vectorized::BlockReader::init(doris::TabletReader::ReaderParams const&) at /root/code/doris/be/src/vec/olap/block_reader.cpp:130
   17# doris::vectorized::NewOlapScanner::open(doris::RuntimeState*) at /root/code/doris/be/src/vec/exec/scan/new_olap_scanner.cpp:118
   18# doris::vectorized::ScannerScheduler::_scanner_scan(doris::vectorized::ScannerScheduler*, doris::vectorized::ScannerContext*, doris::vectorized::VScanner*) at /root/code/doris/be/src/vec/exec/scan/scanner_scheduler.cpp:192
   19# doris::vectorized::ScannerScheduler::_schedule_scanners(doris::vectorized::ScannerContext*)::$_1::operator()() const at /root/code/doris/be/src/vec/exec/scan/scanner_scheduler.cpp:144
   20# void std::__invoke_impl<void, doris::vectorized::ScannerScheduler::_schedule_scanners(doris::vectorized::ScannerContext*)::$_1&>(std::__invoke_other, doris::vectorized::ScannerScheduler::_schedule_scanners(doris::vectorized::ScannerContext*)::$_1&) at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/invoke.h:61
   21# std::enable_if<is_invocable_r_v<void, doris::vectorized::ScannerScheduler::_schedule_scanners(doris::vectorized::ScannerContext*)::$_1&>, void>::type std::__invoke_r<void, doris::vectorized::ScannerScheduler::_schedule_scanners(doris::vectorized::ScannerContext*)::$_1&>(doris::vectorized::ScannerScheduler::_schedule_scanners(doris::vectorized::ScannerContext*)::$_1&) at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/invoke.h:117
   22# std::_Function_handler<void (), doris::vectorized::ScannerScheduler::_schedule_scanners(doris::vectorized::ScannerContext*)::$_1>::_M_invoke(std::_Any_data const&) at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/std_function.h:291
   
   ### What You Expected?
   
   fix it.
   
   ### How to Reproduce?
   
           CREATE TABLE IF NOT EXISTS `tableName` (
             `k1` int NOT NULL,
             `k2` int NOT NULL,
             `k3` int NOT NULL,
             `v1` int NOT NULL
           ) ENGINE=OLAP
           DUPLICATE KEY(`k1`, `k2`, `k3`)
           COMMENT "OLAP"
           DISTRIBUTED BY HASH(`k1`) BUCKETS 1
           PROPERTIES (
           "replication_allocation" = "tag.location.default: 1",
           "in_memory" = "false",
           "storage_format" = "V2"
           )
   
   INSERT INTO tableName VALUES (1, 1, 1, 1);
   INSERT INTO tableName VALUES (2, 2, 2, 2);
   INSERT INTO tableName VALUES (3, 3, 3, 3);
   select k1, k2 from tableName where BITMAP_EMPTY() is NULL order by k1;
   
   ### Anything Else?
   
   _No response_
   
   ### 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-unsubscribe@doris.apache.org.apache.org

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


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


[GitHub] [doris] morningman closed issue #15334: [Bug] be core dump when the predicates are all false

Posted by GitBox <gi...@apache.org>.
morningman closed issue #15334: [Bug] be core dump when the predicates are all false
URL: https://github.com/apache/doris/issues/15334


-- 
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-unsubscribe@doris.apache.org

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


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