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

   ### 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
   
   2.1.6
   
   ### What's Wrong?
   
   select count(*) from hive_catalog.ods.xxxxx;  -- crash iceberg table
   select count(id) from hive_catalog.ods.xxxxx; -- ok
   
   ```
   terminate called after throwing an instance of 'std::length_error'
     what():  cannot create std::vector larger than max_size()
   *** Query id: f16cb1dbb24344cc-b6dce737a56f70ad ***
   *** is nereids: 1 ***
   *** tablet id: 0 ***
   *** Aborted at 1727590265 (unix time) try "date -d @1727590265" if you are 
using GNU date ***
   *** Current BE git commitID: 653e315ba5 ***
   *** SIGABRT unknown detail explain (@0x3e900034f5e) received by PID 216926 
(TID 219150 OR 0x7425168006c0) from PID 216926; stack trace: ***
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
   terminate called recursively
    0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, 
siginfo_t*, void*) at 
/home/zcp/repo_center/doris_release/doris/be/src/common/signal_handler.h:421
    1# 0x000074291CC45320 in /lib/x86_64-linux-gnu/libc.so.6
    2# pthread_kill in /lib/x86_64-linux-gnu/libc.so.6
    3# gsignal in /lib/x86_64-linux-gnu/libc.so.6
    4# abort in /lib/x86_64-linux-gnu/libc.so.6
    5# __gnu_cxx::__verbose_terminate_handler() [clone .cold] at 
../../../../libstdc++-v3/libsupc++/vterminate.cc:75
    6# __cxxabiv1::__terminate(void (*)()) at 
../../../../libstdc++-v3/libsupc++/eh_terminate.cc:48
    7# 0x00005F643C897901 in /home/doris/doris/be/lib/doris_be
    8# 0x00005F643C897A54 in /home/doris/doris/be/lib/doris_be
    9# std::__throw_length_error(char const*) at 
../../../../../libstdc++-v3/src/c++11/functexcept.cc:82
   10# 
doris::vectorized::DataTypeStringSerDeBase<doris::vectorized::ColumnStr<unsigned
 int> >::insert_column_last_value_multiple_times(doris::vectorized::IColumn&, 
int) const in /home/doris/doris/be/lib/doris_be
   11# 
doris::vectorized::DataTypeNullableSerDe::deserialize_column_from_fixed_json(doris::vectorized::IColumn&,
 doris::Slice&, int, int*, doris::vectorized::DataTypeSerDe::FormatOptions 
const&) const in /home/doris/doris/be/lib/doris_be
   12# 
doris::vectorized::RowGroupReader::_fill_partition_columns(doris::vectorized::Block*,
 unsigned long, std::unordered_map<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> >, 
std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, doris::SlotDescriptor const*>, 
std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > >, 
std::allocator<std::pair<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const, 
std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, doris::SlotDescriptor const*> > > > const&) at 
/home/zcp/repo_center/doris_release/doris/be/src/vec/exec/format/parquet/vparquet_group_reader.cpp:654
   13# doris::vectorized::RowGroupReader::next_batch(doris::vectorized::Block*, 
unsigned long, unsigned long*, bool*) at 
/home/zcp/repo_center/doris_release/doris/be/src/vec/exec/format/parquet/vparquet_group_reader.cpp:308
   14# 
doris::vectorized::ParquetReader::get_next_block(doris::vectorized::Block*, 
unsigned long*, bool*) at 
/home/zcp/repo_center/doris_release/doris/be/src/vec/exec/format/parquet/vparquet_reader.cpp:577
   15# 
doris::vectorized::IcebergTableReader::get_next_block(doris::vectorized::Block*,
 unsigned long*, bool*) at 
/home/zcp/repo_center/doris_release/doris/be/src/vec/exec/format/table/iceberg_reader.cpp:134
   16# 
doris::vectorized::VFileScanner::_get_block_wrapped(doris::RuntimeState*, 
doris::vectorized::Block*, bool*) at 
/home/zcp/repo_center/doris_release/doris/be/src/vec/exec/scan/vfile_scanner.cpp:359
   17# doris::vectorized::VFileScanner::_get_block_impl(doris::RuntimeState*, 
doris::vectorized::Block*, bool*) at 
/home/zcp/repo_center/doris_release/doris/be/src/vec/exec/scan/vfile_scanner.cpp:302
   18# doris::vectorized::VScanner::get_block(doris::RuntimeState*, 
doris::vectorized::Block*, bool*) in /home/doris/doris/be/lib/doris_be
   19# 
doris::vectorized::VScanner::get_block_after_projects(doris::RuntimeState*, 
doris::vectorized::Block*, bool*) at 
/home/zcp/repo_center/doris_release/doris/be/src/vec/exec/scan/vscanner.cpp:100
   20# 
doris::vectorized::ScannerScheduler::_scanner_scan(std::shared_ptr<doris::vectorized::ScannerContext>,
 std::shared_ptr<doris::vectorized::ScanTask>) at 
/home/zcp/repo_center/doris_release/doris/be/src/vec/exec/scan/scanner_scheduler.cpp:269
   21# std::_Function_handler<void (), 
doris::vectorized::ScannerScheduler::submit(std::shared_ptr<doris::vectorized::ScannerContext>,
 std::shared_ptr<doris::vectorized::ScanTask>)::$_1::operator()() 
const::{lambda()#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
   22# doris::ThreadPool::dispatch_thread() in /home/doris/doris/be/lib/doris_be
   23# doris::Thread::supervise_thread(void*) at 
/home/zcp/repo_center/doris_release/doris/be/src/util/thread.cpp:499
   24# 0x000074291CC9CA94 in /lib/x86_64-linux-gnu/libc.so.6
   25# 0x000074291CD29C3C in /lib/x86_64-linux-gnu/libc.so.6
   ```
   ```
   ** Query id: 6c63e7c2867f4097-bea3f4a30ba507ad ***
   *** is nereids: 1 ***
   *** tablet id: 0 ***
   *** Aborted at 1728969268 (unix time) try "date -d @1728969268" if you are 
using GNU date ***
   *** Current BE git commitID: 653e315ba5 ***
   *** SIGSEGV unknown detail explain (@0x0) received by PID 5503 (TID 1015137 
OR 0x7d505d0006c0) from PID 0; stack trace: ***
    0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, 
siginfo_t*, void*) at 
/home/zcp/repo_center/doris_release/doris/be/src/common/signal_handler.h:421
    1# 0x00007D6D7CF97920 in 
/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so
    2# JVM_handle_linux_signal in 
/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so
    3# 0x00007D6D7CF9067C in 
/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so
    4# 0x00007D6D80A45320 in /lib/x86_64-linux-gnu/libc.so.6
    5# memcpy at 
/home/zcp/repo_center/doris_release/doris/be/src/glibc-compatibility/memcpy/memcpy_x86_64.cpp:219
    6# 
doris::vectorized::IcebergTableReader::_position_delete_base(std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> >, 
std::vector<doris::TIcebergDeleteFileDesc, st
   d::allocator<doris::TIcebergDeleteFileDesc> > const&) at 
/home/zcp/repo_center/doris_release/doris/be/src/vec/exec/format/table/iceberg_reader.cpp:343
    7# 
doris::vectorized::IcebergTableReader::init_row_filters(doris::TFileRangeDesc 
const&, doris::io::IOContext*) at 
/home/zcp/repo_center/doris_release/doris/be/src/vec/exec/format/table/iceberg_reader.cpp:183
    8# 
doris::vectorized::IcebergParquetReader::init_reader(std::vector<std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> >, 
std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > > > const&, std::unordered_map<int, 
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> 
>, std::hash<int>, std::equal_to<int>, std::allocator<std::pair<int const, 
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > 
> > > const&, std::unordered_map<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> >, 
std::variant<doris::ColumnValueRange<(doris::PrimitiveType)3>, 
doris::ColumnValueRange<(doris::PrimitiveType)4>, 
doris::ColumnValueRange<(doris::PrimitiveType)5>, 
doris::ColumnValueRange<(doris::PrimitiveType)6>, 
doris::ColumnValueRange<(doris::PrimitiveType)7>, 
doris::ColumnValueRange<(doris::PrimitiveType)36>, 
doris::ColumnValueRange<(doris::PrimitiveType)37>, do
 ris::ColumnValueRange<(doris::PrimitiveType)15>, 
doris::ColumnValueRange<(doris::PrimitiveType)10>, 
doris::ColumnValueRange<(doris::PrimitiveType)23>, 
doris::ColumnValueRange<(doris::PrimitiveType)11>, 
doris::ColumnValueRange<(doris::PrimitiveType)25>, 
doris::ColumnValueRange<(doris::PrimitiveType)12>, 
doris::ColumnValueRange<(doris::PrimitiveType)26>, 
doris::ColumnValueRange<(doris::PrimitiveType)20>, 
doris::ColumnValueRange<(doris::PrimitiveType)2>, 
doris::ColumnValueRange<(doris::PrimitiveType)19>, 
doris::ColumnValueRange<(doris::PrimitiveType)28>, 
doris::ColumnValueRange<(doris::PrimitiveType)29>, 
doris::ColumnValueRange<(doris::PrimitiveType)30>, 
doris::ColumnValueRange<(doris::PrimitiveType)35> >, 
std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > >, 
std::allocator<std::pair<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocat
 or<char> > const, 
std::variant<doris::ColumnValueRange<(doris::PrimitiveType)3>, 
doris::ColumnValueRange<(doris::PrimitiveType)4>, 
doris::ColumnValueRange<(doris::PrimitiveType)5>, 
doris::ColumnValueRange<(doris::PrimitiveType)6>, 
doris::ColumnValueRange<(doris::PrimitiveType)7>, 
doris::ColumnValueRange<(doris::PrimitiveType)36>, 
doris::ColumnValueRange<(doris::PrimitiveType)37>, 
doris::ColumnValueRange<(doris::PrimitiveType)15>, 
doris::ColumnValueRange<(doris::PrimitiveType)10>, 
doris::ColumnValueRange<(doris::PrimitiveType)23>, 
doris::ColumnValueRange<(doris::PrimitiveType)11>, 
doris::ColumnValueRange<(doris::PrimitiveType)25>, 
doris::ColumnValueRange<(doris::PrimitiveType)12>, 
doris::ColumnValueRange<(doris::PrimitiveType)26>, 
doris::ColumnValueRange<(doris::PrimitiveType)20>, 
doris::ColumnValueRange<(doris::PrimitiveType)2>, 
doris::ColumnValueRange<(doris::PrimitiveType)19>, 
doris::ColumnValueRange<(doris::PrimitiveType)28>, 
doris::ColumnValueRange<(doris::PrimitiveType)29>, dor
 is::ColumnValueRange<(doris::PrimitiveType)30>, 
doris::ColumnValueRange<(doris::PrimitiveType)35> > > > >*, 
std::vector<std::shared_ptr<doris::vectorized::VExprContext>, 
std::allocator<std::shared_ptr<doris::vectorized::VExprContext> > > const&, 
doris::TupleDescriptor const*, doris::RowDescriptor const*, 
std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, int, std::hash<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > >, 
std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > >, 
std::allocator<std::pair<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const, int> > > const*, 
std::vector<std::shared_ptr<doris::vectorized::VExprContext>, 
std::allocator<std::shared_ptr<doris::vectorized::VExprContext> > > const*, 
std::unordered_map<int, 
std::vector<std::shared_ptr<doris::vectorized::VExprContext>, 
std::allocator<std::shared_ptr<doris::vecto
 rized::VExprContext> > >, std::hash<int>, std::equal_to<int>, 
std::allocator<std::pair<int const, 
std::vector<std::shared_ptr<doris::vectorized::VExprContext>, 
std::allocator<std::shared_ptr<doris::vectorized::VExprContext> > > > > > 
const*) at 
/home/zcp/repo_center/doris_release/doris/be/src/vec/exec/format/table/iceberg_reader.cpp:551
   9# doris::vectorized::VFileScanner::_get_next_reader() at 
/home/zcp/repo_center/doris_release/doris/be/src/vec/exec/scan/vfile_scanner.cpp:845
   10# 
doris::vectorized::VFileScanner::_get_block_wrapped(doris::RuntimeState*, 
doris::vectorized::Block*, bool*) at 
/home/zcp/repo_center/doris_release/doris/be/src/vec/exec/scan/vfile_scanner.cpp:336
   11# doris::vectorized::VFileScanner::_get_block_impl(doris::RuntimeState*, 
doris::vectorized::Block*, bool*) at 
/home/zcp/repo_center/doris_release/doris/be/src/vec/exec/scan/vfile_scanner.cpp:302
   12# doris::vectorized::VScanner::get_block(doris::RuntimeState*, 
doris::vectorized::Block*, bool*) in /home/doris/doris/be/lib/doris_be
   13# 
doris::vectorized::VScanner::get_block_after_projects(doris::RuntimeState*, 
doris::vectorized::Block*, bool*) at 
/home/zcp/repo_center/doris_release/doris/be/src/vec/exec/scan/vscanner.cpp:100
   14# 
doris::vectorized::ScannerScheduler::_scanner_scan(std::shared_ptr<doris::vectorized::ScannerContext>,
 std::shared_ptr<doris::vectorized::ScanTask>) at 
/home/zcp/repo_center/doris_release/doris/be/src/vec/exec/scan/scanner_scheduler.cpp:269
   15# std::_Function_handler<void (), 
doris::vectorized::ScannerScheduler::submit(std::shared_ptr<doris::vectorized::ScannerContext>,
 std::shared_ptr<doris::vectorized::ScanTask>)::$_1::operator()() 
const::{lambda()#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
   16# doris::ThreadPool::dispatch_thread() in /home/doris/doris/be/lib/doris_be
   17# doris::Thread::supervise_thread(void*) at 
/home/zcp/repo_center/doris_release/doris/be/src/util/thread.cpp:499
   18# 0x00007D6D80A9CA94 in /lib/x86_64-linux-gnu/libc.so.6
   19# 0x00007D6D80B29C3C in /lib/x86_64-linux-gnu/libc.so.6
   ```
   
   
   ### What You Expected?
   
   fix bug
   
   ### 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: 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