dutyu opened a new issue, #27454: URL: https://github.com/apache/doris/issues/27454
### 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 ### What's Wrong? Sometimes BE will crash after a query like this: ```sql select pday, count(1) from d1.t1 where pday group by 1 order by 1 LIMIT 1000; ``` Schema: ``` *************************** 1. row *************************** Table: t1 Create Table: CREATE TABLE `t1`( `k1` string) PARTITIONED BY ( `pday` string) ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' STORED AS INPUTFORMAT 'org.apache.hadoop.mapred.TextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' LOCATION 'hdfs://xxx/user/hive/warehouse/d1.db/t1' TBLPROPERTIES ( 'spark.sql.sources.schema.numPartCols'='1', 'creater'='xxx', 'spark.sql.sources.schema.partCol.0'='pday', 'transient_lastDdlTime'='1700183335', 'spark.sql.sources.schema'='{"type":"struct","fields":[{"name":"k1","type":"string","nullable":true,"metadata":{"comment":"xxx"}},{"name":"pday","type":"string","nullable":true,"metadata":{}}]}', 'spark.sql.create.version'='3.3.2') ``` Be stack: ```c++ start time: Thu Nov 23 11:26:30 CST 2023 INFO: java_cmd /usr/local/jdk1.8.0_301/bin/java INFO: jdk_version 8 SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/hdpData2/yarn/localcache/usercache/hive/appcache/application_1700545578050_170173/filecache/13/doris-be-360-master.tar.gz/apache-doris-be-360-master-bin-x86_64/lib/java_extensions/preload-extensions/preload-extensions-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/hdpData2/yarn/localcache/usercache/hive/appcache/application_1700545578050_170173/filecache/13/doris-be-360-master.tar.gz/apache-doris-be-360-master-bin-x86_64/lib/java_extensions/java-udf/java-udf-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/hdpData2/yarn/localcache/usercache/hive/appcache/application_1700545578050_170173/filecache/13/doris-be-360-master.tar.gz/apache-doris-be-360-master-bin-x86_64/lib/hadoop_hdfs/common/lib/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.Reload4jLoggerFactory] *** Query id: 3425dcdfc48d4cf8-8802fded41ae46c0 *** *** tablet id: 0 *** *** Aborted at 1700711332 (unix time) try "date -d @1700711332" if you are using GNU date *** *** Current BE git commitID: Unknown *** *** SIGSEGV invalid permissions for mapped object (@0x7fc92ec59000) received by PID 100529 (TID 101781 OR 0x7fcb55fb0700) from PID 784699392; stack trace: *** 0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, siginfo_t*, void*) at /root/doris-master/be/src/common/signal_handler.h:417 1# os::Linux::chained_handler(int, siginfo*, void*) in /usr/local/jdk1.8.0_301/jre/lib/amd64/server/libjvm.so 2# JVM_handle_linux_signal in /usr/local/jdk1.8.0_301/jre/lib/amd64/server/libjvm.so 3# signalHandler(int, siginfo*, void*) in /usr/local/jdk1.8.0_301/jre/lib/amd64/server/libjvm.so 4# 0x00007FCCCDB49400 in /lib64/libc.so.6 5# doris::vectorized::VExprContext::execute_conjuncts(std::vector<std::shared_ptr<doris::vectorized::VExprContext>, std::allocator<std::shared_ptr<doris::vectorized::VExprContext> > > const&, std::vector<doris::vectorized::PODArray<unsigned char, 4096ul, Allocator<false, false, false>, 15ul, 16ul>*, std::allocator<doris::vectorized::PODArray<unsigned char, 4096ul, Allocator<false, false, false>, 15ul, 16ul>*> > const*, bool, doris::vectorized::Block*, doris::vectorized::PODArray<unsigned char, 4096ul, Allocator<false, false, false>, 15ul, 16ul>*, bool*) at /root/doris-master/be/src/vec/exprs/vexpr_context.cpp:189 6# doris::vectorized::VExprContext::execute_conjuncts_and_filter_block(std::vector<std::shared_ptr<doris::vectorized::VExprContext>, std::allocator<std::shared_ptr<doris::vectorized::VExprContext> > > const&, std::vector<doris::vectorized::PODArray<unsigned char, 4096ul, Allocator<false, false, false>, 15ul, 16ul>*, std::allocator<doris::vectorized::PODArray<unsigned char, 4096ul, Allocator<false, false, false>, 15ul, 16ul>*> > const*, doris::vectorized::Block*, std::vector<unsigned int, std::allocator<unsigned int> >&, int) at /root/doris-master/be/src/vec/exprs/vexpr_context.cpp:244 7# doris::vectorized::VExprContext::filter_block(std::vector<std::shared_ptr<doris::vectorized::VExprContext>, std::allocator<std::shared_ptr<doris::vectorized::VExprContext> > > const&, doris::vectorized::Block*, int) at /root/doris-master/be/src/vec/exprs/vexpr_context.cpp:150 8# doris::vectorized::VScanner::_filter_output_block(doris::vectorized::Block*) at /root/doris-master/be/src/vec/exec/scan/vscanner.cpp:133 9# doris::vectorized::VScanner::get_block(doris::RuntimeState*, doris::vectorized::Block*, bool*) at /root/doris-master/be/src/vec/exec/scan/vscanner.cpp:105 10# doris::vectorized::ScannerScheduler::_scanner_scan(doris::vectorized::ScannerScheduler*, doris::vectorized::ScannerContext*, std::shared_ptr<doris::vectorized::VScanner>) at /root/doris-master/be/src/vec/exec/scan/scanner_scheduler.cpp:394 11# std::_Function_handler<void (), doris::vectorized::ScannerScheduler::_schedule_scanners(doris::vectorized::ScannerContext*)::$_1::operator()() const::{lambda()#5}>::_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 12# doris::ThreadPool::dispatch_thread() in /hdpData2/yarn/localcache/usercache/hive/appcache/application_1700545578050_170173/filecache/13/doris-be-360-master.tar.gz/apache-doris-be-360-master-bin-x86_64/lib/doris_be 13# doris::Thread::supervise_thread(void*) at /root/doris-master/be/src/util/thread.cpp:495 14# start_thread in /lib64/libpthread.so.0 15# clone in /lib64/libc.so.6 ``` ### What You Expected? Be not crash ### 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 - [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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
