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

Crash: impala::TupleDescriptor::ContainsStringData

    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
      t2389.int_col AS int_col
      FROM table_3 t2379
      INNER JOIN (
      WITH with_1 AS (SELECT
      t2380.pos AS int_col,
      LAG(256) OVER (ORDER BY t2380.pos) AS int_col_t2382
      FROM t2379.field_74 t2380
      INNER JOIN t2379.field_74 t2381 ON ((t2381.pos) = (t2380.pos)) AND ((t2381.pos) = (t2380.pos))
      WHERE
      (t2381.pos) NOT IN (t2381.pos, t2380.pos))
      SELECT
      COALESCE(t2384.int_col, t2384.int_col, t2386.pos) AS int_col,
      IF(True, MIN(COALESCE(t2384.int_col_t2382, t2383.int_col_t2382, t2383.int_col_t2382)), MIN(t2384.int_col)) AS int_col_t2387,
      COALESCE(t2384.int_col_t2382, t2383.int_col_t2382, t2383.int_col_t2382) AS int_col_t2388
      FROM with_1 t2383
      LEFT JOIN with_1 t2384 ON (((t2384.int_col) = (t2383.int_col_t2382)) AND ((t2384.int_col_t2382) = (t2383.int_col_t2382))) AND ((t2384.int_col) = (t2383.int_col_t2382))
      LEFT JOIN with_1 t2385 ON ((t2385.int_col) = (t2383.int_col)) AND ((t2385.int_col) = (t2383.int_col))
      INNER JOIN t2379.field_74 t2386 ON (((t2386.pos) = (t2384.int_col)) AND ((t2386.pos) = (t2384.int_col_t2382))) AND ((t2386.pos) = (t2384.int_col_t2382))
      WHERE
      (t2386.pos) IN (t2384.int_col, t2385.int_col)
      GROUP BY
      COALESCE(t2384.int_col, t2384.int_col, t2386.pos),
      COALESCE(t2384.int_col_t2382, t2383.int_col_t2382, t2383.int_col_t2382)
      HAVING
      (COALESCE(t2384.int_col, t2384.int_col, t2386.pos)) = (COALESCE(COUNT(t2383.int_col), COALESCE(t2384.int_col, t2384.int_col, t2386.pos), COALESCE(t2384.int_col, t2384.int_col, t2386.pos)))
      ) t2389 ON ((t2389.int_col_t2388) = (t2379.field_59.field_66)) AND ((t2389.int_col_t2387) = (t2379.field_71))
      

      Stack Trace:

      #0  0x000000000121d0fe in std::vector<impala::SlotDescriptor*, std::allocator<impala::SlotDescriptor*> >::end (this=0x0) at /usr/include/c++/4.8/bits/stl_vector.h:565
      565           end() const _GLIBCXX_NOEXCEPT
      #0  0x000000000121d0fe in std::vector<impala::SlotDescriptor*, std::allocator<impala::SlotDescriptor*> >::end (this=0x0) at /usr/include/c++/4.8/bits/stl_vector.h:565
      #1  0x0000000001219fe6 in std::vector<impala::SlotDescriptor*, std::allocator<impala::SlotDescriptor*> >::empty (this=0xc6ecff8) at /usr/include/c++/4.8/bits/stl_vector.h:735
      #2  0x0000000001215695 in impala::TupleDescriptor::ContainsStringData (this=0xc6ecfc0) at /home/dev/Impala/be/src/runtime/descriptors.cc:291
      #3  0x00000000012156d3 in impala::TupleDescriptor::ContainsStringData (this=0xc6ecfc0) at /home/dev/Impala/be/src/runtime/descriptors.cc:293
      #4  0x00000000012156d3 in impala::TupleDescriptor::ContainsStringData (this=0xc6ecfc0) at /home/dev/Impala/be/src/runtime/descriptors.cc:293
      #5  0x00000000012156d3 in impala::TupleDescriptor::ContainsStringData (this=0xc6ecfc0) at /home/dev/Impala/be/src/runtime/descriptors.cc:293
      .....
      .....
      .....
      #130967 0x00000000012156d3 in impala::TupleDescriptor::ContainsStringData (this=0xc6ecfc0) at /home/dev/Impala/be/src/runtime/descriptors.cc:293
      #130968 0x00000000012156d3 in impala::TupleDescriptor::ContainsStringData (this=0xc6ecfc0) at /home/dev/Impala/be/src/runtime/descriptors.cc:293
      #130969 0x00000000012156d3 in impala::TupleDescriptor::ContainsStringData (this=0xc6ecfc0) at /home/dev/Impala/be/src/runtime/descriptors.cc:293
      #130970 0x00000000016c93fe in impala::ScannerContext::AddStream (this=0xbb81280, range=0xceea6e0) at /home/dev/Impala/be/src/exec/scanner-context.cc:71
      #130971 0x00000000016c90be in impala::ScannerContext::ScannerContext (this=0xbb81280, state=0x7d9e000, scan_node=0x8021200, partition_desc=0xc1665f0, scan_range=0xceea6e0) at /home/dev/Impala/be/src/exec/scanner-context.cc:42
      #130972 0x00000000015f5dbc in impala::HdfsScanNode::ScannerThread (this=0x8021200) at /home/dev/Impala/be/src/exec/hdfs-scan-node.cc:934
      #130973 0x000000000160ca93 in boost::_mfi::mf0<void, impala::HdfsScanNode>::operator() (this=0x7f69e43f3e08, p=0x8021200) at /usr/include/boost/bind/mem_fn_template.hpp:49
      #130974 0x000000000160c0ec in boost::_bi::list1<boost::_bi::value<impala::HdfsScanNode*> >::operator()<boost::_mfi::mf0<void, impala::HdfsScanNode>, boost::_bi::list0> (this=0x7f69e43f3e18, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253
      #130975 0x000000000160afbf in boost::_bi::bind_t<void, boost::_mfi::mf0<void, impala::HdfsScanNode>, boost::_bi::list1<boost::_bi::value<impala::HdfsScanNode*> > >::operator() (this=0x7f69e43f3e08) at /usr/include/boost/bind/bind_template.hpp:20
      #130976 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
      #130977 0x0000000001247b28 in boost::function0<void>::operator() (this=0x7f69e43f3e00) at /usr/include/boost/function/function_template.hpp:767
      #130978 0x0000000001457d5b in impala::Thread::SuperviseThread(std::string const&, std::string const&, boost::function<void ()>, impala::Promise<long>*) (name=..., category=..., functor=..., thread_started=0x7f69e5404750) at /home/dev/Impala/be/src/util/thread.cc:314
      #130979 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=0xc0e97c0, f=@0xc0e97b8: 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
      #130980 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=0xc0e97b8) at /usr/include/boost/bind/bind_template.hpp:20
      #130981 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=0xc0e9600) at /usr/include/boost/thread/detail/thread.hpp:117
      #130982 0x00007f6a9ca87a4a in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.54.0
      #130983 0x00007f6a9bf34182 in start_thread (arg=0x7f69e43f4700) at pthread_create.c:312
      #130984 0x00007f6a99b8147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: