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

Crash in PeriodicCounterUpdater::UpdateLoop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • Impala 4.1.0
    • None
    • None
    • ghx-label-8

    Description

      Saw a crash in a CORE run of the master branch:

      Operating system: Linux
                        0.0.0 Linux 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 x86_64
      CPU: amd64
           family 6 model 85 stepping 7
           1 CPU
      
      
      GPU: UNKNOWN
      
      
      Crash reason:  SIGFPE
      Crash address: 0x2a0505a
      Process uptime: not available
      
      
      Thread 3 (crashed)
       0  impalad!impala::PeriodicCounterUpdater::UpdateLoop() [periodic-counter-updater.cc : 157 + 0x23]
       1  impalad!boost::_mfi::mf0<void, impala::PeriodicCounterUpdater>::operator()(impala::PeriodicCounterUpdater*) const [mem_fn_template.hpp : 49 + 0x5]
       2  impalad!void boost::_bi::list1<boost::_bi::value<impala::PeriodicCounterUpdater*> >::operator()<boost::_mfi::mf0<void, impala::PeriodicCounterUpdater>, boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf0<void, impala::PeriodicCounterUpdater>&, boost::_bi::list0&, int) [bind.hpp : 259 + 0x35]
       3  impalad!boost::_bi::bind_t<void, boost::_mfi::mf0<void, impala::PeriodicCounterUpdater>, boost::_bi::list1<boost::_bi::value<impala::PeriodicCounterUpdater*> > >::operator()() [bind.hpp : 1294 + 0x22]
       4  impalad!boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf0<void, impala::PeriodicCounterUpdater>, boost::_bi::list1<boost::_bi::value<impala::PeriodicCounterUpdater*> > > >::run() [thread.hpp : 120 + 0x12]
       5  impalad!thread_proxy + 0xa1
       6  libpthread-2.17.so + 0x7e25
       7  libc-2.17.so + 0xf834d 

      Code snipper:

      152           value = it->second.src_counter->value();
      153         } else {
      154           DCHECK(it->second.sample_fn != NULL);
      155           value = it->second.sample_fn();
      156         }
      157         int64_t rate = value * 1000 / (it->second.elapsed_ms);
      158         it->first->Set(rate);
      159       }
      160     } 

      elapsed_ms might be 0 in the crash.

      Attachments

        Activity

          People

            stigahuang Quanlong Huang
            stigahuang Quanlong Huang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: