Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-2412

Crash: impala::Tuple::GetSlot

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • Impala 2.3.0
    • Impala 2.3.0
    • None
    • Randomly generated data, I can provide access to the machine that has it loaded.

    Description

      Query:

      SELECT
      t222.field_59.field_64 AS boolean_col,
      CAST(t222.field_59.field_66 AS STRING) AS char_col
      FROM table_3 t222
      LEFT JOIN t222.field_74 t223 ON (t223.pos) = (t222.field_73)
      WHERE
      (t222.field_73) IN (SELECT
      t224.pos AS int_col
      FROM t222.field_74 t224
      LEFT JOIN t224.item t225
      LEFT JOIN t222.field_74 t226 ON ((t226.pos) = (t224.pos)) AND ((t226.pos) = (t224.pos))
      WHERE
      (t222.field_59.field_66) = (t224.pos))
      

      Stack Trace:

      #0  0x00007fdfe462fcc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
      #1  0x00007fdfe46330d8 in __GI_abort () at abort.c:89
      #2  0x0000000002118579 in google::DumpStackTraceAndExit () at src/utilities.cc:147
      #3  0x000000000211162d in google::LogMessage::Fail () at src/logging.cc:1315
      #4  0x00000000021134b5 in google::LogMessage::SendToLog (this=0x7fdf2ef65020) at src/logging.cc:1269
      #5  0x0000000002111183 in google::LogMessage::Flush (this=this@entry=0x7fdf2ef65020) at src/logging.cc:1138
      #6  0x0000000002113e0e in google::LogMessageFatal::~LogMessageFatal (this=0x7fdf2ef65020, __in_chrg=<optimized out>) at src/logging.cc:1836
      #7  0x0000000000fb4998 in impala::Tuple::GetSlot (this=0xec50520, offset=-1) at /home/dev/Impala/be/src/runtime/tuple.h:140
      #8  0x000000000164f138 in impala::HdfsParquetScanner::ColumnReader::ReadPosition (this=0xf15de50, tuple=0xec50520) at /home/dev/Impala/be/src/exec/hdfs-parquet-scanner.cc:825
      #9  0x000000000164f8bd in impala::HdfsParquetScanner::ReadRow (this=0xc152d80, column_readers=..., tuple=0xec50520, pool=0xcf71680, tuple_materialized=0x7fdf2ef652a0) at /home/dev/Impala/be/src/exec/hdfs-parquet-scanner.cc:1376
      #10 0x0000000001643fc2 in impala::HdfsParquetScanner::AssembleRows (this=0xc152d80, tuple_desc=0xc959290, column_readers=..., new_collection_rep_level=0, row_group_idx=-1, array_value_builder=0x7fdf2ef65360) at /home/dev/Impala/be/src/exec/hdfs-parquet-scanner.cc:1316
      #11 0x0000000001642f95 in impala::HdfsParquetScanner::CollectionColumnReader::ReadSlot (this=0xf15d630, slot=0xe4d0030, pool=0xcf71680, conjuncts_failed=0x7fdf2ef65487) at /home/dev/Impala/be/src/exec/hdfs-parquet-scanner.cc:1167
      #12 0x000000000164edae in impala::HdfsParquetScanner::ColumnReader::ReadValue (this=0xf15d630, pool=0xcf71680, tuple=0xe4d0000, conjuncts_failed=0x7fdf2ef65487) at /home/dev/Impala/be/src/exec/hdfs-parquet-scanner.cc:808
      #13 0x000000000164f8f4 in impala::HdfsParquetScanner::ReadRow (this=0xc152d80, column_readers=..., tuple=0xe4d0000, pool=0xcf71680, tuple_materialized=0x7fdf2ef655f0) at /home/dev/Impala/be/src/exec/hdfs-parquet-scanner.cc:1380
      #14 0x0000000001643fc2 in impala::HdfsParquetScanner::AssembleRows (this=0xc152d80, tuple_desc=0xc958fc0, column_readers=..., new_collection_rep_level=-1, row_group_idx=0, array_value_builder=0x0) at /home/dev/Impala/be/src/exec/hdfs-parquet-scanner.cc:1316
      #15 0x0000000001643742 in impala::HdfsParquetScanner::ProcessSplit (this=0xc152d80) at /home/dev/Impala/be/src/exec/hdfs-parquet-scanner.cc:1242
      #16 0x00000000015f6149 in impala::HdfsScanNode::ScannerThread (this=0x7cd4a00) at /home/dev/Impala/be/src/exec/hdfs-scan-node.cc:945
      #17 0x000000000160ca93 in boost::_mfi::mf0<void, impala::HdfsScanNode>::operator() (this=0x7fdf2ef65e08, p=0x7cd4a00) at /usr/include/boost/bind/mem_fn_template.hpp:49
      #18 0x000000000160c0ec in boost::_bi::list1<boost::_bi::value<impala::HdfsScanNode*> >::operator()<boost::_mfi::mf0<void, impala::HdfsScanNode>, boost::_bi::list0> (this=0x7fdf2ef65e18, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253
      #19 0x000000000160afbf in boost::_bi::bind_t<void, boost::_mfi::mf0<void, impala::HdfsScanNode>, boost::_bi::list1<boost::_bi::value<impala::HdfsScanNode*> > >::operator() (this=0x7fdf2ef65e08) at /usr/include/boost/bind/bind_template.hpp:20
      #20 0x00000000016092ab in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, impala::HdfsScanNode>, boost::_bi::list1<boost::_bi::value<impala::HdfsScanNode*> > >, void>::invoke (function_obj_ptr=...) at /usr/include/boost/function/function_template.hpp:153
      #21 0x0000000001247b28 in boost::function0<void>::operator() (this=0x7fdf2ef65e00) at /usr/include/boost/function/function_template.hpp:767
      #22 0x0000000001457d5b in impala::Thread::SuperviseThread(std::string const&, std::string const&, boost::function<void ()>, impala::Promise<long>*) (name=..., category=..., functor=..., thread_started=0x7fdf2ff76750) at /home/dev/Impala/be/src/util/thread.cc:314
      #23 0x0000000001460f91 in boost::_bi::list4<boost::_bi::value<std::string>, boost::_bi::value<std::string>, boost::_bi::value<boost::function<void ()> >, boost::_bi::value<impala::Promise<long>*> >::operator()<void (*)(std::string const&, std::string const&, boost::function<void ()>, impala::Promise<long>*), boost::_bi::list0>(boost::_bi::type<void>, void (*&)(std::string const&, std::string const&, boost::function<void ()>, impala::Promise<long>*), boost::_bi::list0&, int) (this=0xcea5dc0, f=@0xcea5db8: 0x1457a52 <impala::Thread::SuperviseThread(std::string const&, std::string const&, boost::function<void ()>, impala::Promise<long>*)>, a=...) at /usr/include/boost/bind/bind.hpp:457
      #24 0x0000000001460edb in boost::_bi::bind_t<void, void (*)(std::string const&, std::string const&, boost::function<void ()>, impala::Promise<long>*), boost::_bi::list4<boost::_bi::value<std::string>, boost::_bi::value<std::string>, boost::_bi::value<boost::function<void ()> >, boost::_bi::value<impala::Promise<long>*> > >::operator()() (this=0xcea5db8) at /usr/include/boost/bind/bind_template.hpp:20
      #25 0x0000000001460ea0 in boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(std::string const&, std::string const&, boost::function<void ()>, impala::Promise<long>*), boost::_bi::list4<boost::_bi::value<std::string>, boost::_bi::value<std::string>, boost::_bi::value<boost::function<void ()> >, boost::_bi::value<impala::Promise<long>*> > > >::run() (this=0xcea5c00) at /usr/include/boost/thread/detail/thread.hpp:117
      #26 0x00007fdfe75f9a4a in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.54.0
      #27 0x00007fdfe6aa6182 in start_thread (arg=0x7fdf2ef66700) at pthread_create.c:312
      #28 0x00007fdfe46f347d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      

      impalad.FATAL:

      F0924 13:10:16.167968 14625 tuple.h:140] Check failed: offset != -1
      

      Attachments

        Activity

          People

            alex.behm Alexander Behm
            tarasbob Taras Bobrovytsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: