Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E6A4E200D27 for ; Wed, 25 Oct 2017 19:37:31 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E5002160BDA; Wed, 25 Oct 2017 17:37:31 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 10AC91609CE for ; Wed, 25 Oct 2017 19:37:30 +0200 (CEST) Received: (qmail 53758 invoked by uid 500); 25 Oct 2017 17:37:30 -0000 Mailing-List: contact dev-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@impala.incubator.apache.org Delivered-To: mailing list dev@impala.incubator.apache.org Received: (qmail 53744 invoked by uid 99); 25 Oct 2017 17:37:29 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Oct 2017 17:37:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 30208C4426 for ; Wed, 25 Oct 2017 17:37:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=cloudera.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id vveGSVjJElaG for ; Wed, 25 Oct 2017 17:37:26 +0000 (UTC) Received: from mail-ua0-f179.google.com (mail-ua0-f179.google.com [209.85.217.179]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id AD44D5FB9F for ; Wed, 25 Oct 2017 17:37:26 +0000 (UTC) Received: by mail-ua0-f179.google.com with SMTP id b11so570413uae.12 for ; Wed, 25 Oct 2017 10:37:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudera.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=czso9uhketE9exEA74qVqySHf+3D6KFomUBL9njotaI=; b=JMtPpkQELnZQ/6vHUQ53UPxlDBxjNWBSNLUX+3v2nzoKQvQZAE8B2mM7Am+AemjBLg rAw/ZxVuiNl4tqgjzDYFrPBU2NyfvCXK0isSYzomC7ffB5koHjQXwHa6z0A93EHPd+vL nTV7E3SXrPpw3mHlyjcjvqpD9GcOZH5bWcYRWl7nBdUQsM8onTAYusCBf77wKVhbC7XB ENs7l6s1wqmpvHGVJ3sofg/RdnndGyOq5HDmrAvRHQ71zBXD4dh9sA3kScoyl/MDY9yh uJRNBJADNsrAX4+uxKPlhjHMF4jFgmdrIOhKtVTEA0nqTigDHGdOUAyUS8a41oPHsCTk 56ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=czso9uhketE9exEA74qVqySHf+3D6KFomUBL9njotaI=; b=GELVnmpSLkDbM6uEYhwpafIwKa+UDSyh3VCOEUWVICF7wZa6xSglguBHiM8rEOQxbX fbHsLIHiEjxLZwTYdCowDCKAasNB/hG8Z3JpIGKhAlGtcFKnBTlaObUxS7MU2mcxch8/ D2LLntkOwOnxHbOtBFcxfQGjeM0qAeNeMRIspB0PSkP1bowX3KzcqxyP8Mc3RI3uc3tx e0g6LyeYFnXBakCalILg83RbuboONx7LZhz0Tdc7ZSdIhJlhBemm3o7QxJW6UqaLCNDW /YObEp7gm0Kr4W52u0WqMYZvmBMi1urvjz+pCUD76xrXcPOp4dsgYfzIE6xf1Z0d92Am eOdA== X-Gm-Message-State: AMCzsaXxv6XMWLn0CWvXeEA4jl3RNknbNdrimVCGrEeHUFLc7BaabiLM I1OQrvpK9FhrEdIRFyrSoA5X7VQ6rad5msTfhysHX2ZT X-Google-Smtp-Source: ABhQp+R9MXJVKaFfX/lkRBaANz5ccLjTVfpE/qVSsDadMCLac6G5wnVRkZ3VEH/tyl49NuJW4eP16qgy29p1O5KRI6Y= X-Received: by 10.176.89.176 with SMTP id g45mr2309118uad.184.1508953045868; Wed, 25 Oct 2017 10:37:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.50.10 with HTTP; Wed, 25 Oct 2017 10:36:55 -0700 (PDT) In-Reply-To: References: From: Tim Armstrong Date: Wed, 25 Oct 2017 10:36:55 -0700 Message-ID: Subject: Re: Does this mem-tracker.h assertion ring a bell? To: "dev@impala" Content-Type: multipart/alternative; boundary="001a11465d5a484ff3055c6282d2" archived-at: Wed, 25 Oct 2017 17:37:32 -0000 --001a11465d5a484ff3055c6282d2 Content-Type: text/plain; charset="UTF-8" Yeah it's probably another consequence of https://issues.apache.org/jira/browse/IMPALA-5789. Maybe your patch changed the timing enough to trigger it. I think the bug might be related to using directory.capacity() as the argument to Release(). Calling directory.clear() after releasing the memory in FitlerState::Disable() won't necessarily deallocate the memory so we could end up releasing it twice. On Wed, Oct 25, 2017 at 10:11 AM, Mostafa Mokhtar wrote: > Maybe related to https://issues.apache.org/jira/browse/IMPALA-6099? > > On Wed, Oct 25, 2017 at 10:02 AM, Philip Zeyliger > wrote: > > > Hi folks, > > > > I'm debugging some test failures related to an LLVM/AvroCodegen patch > I've > > got going on. The failures are in the parallel EE tests, and most of them > > are complaining that Impala is out to lunch. It looks like the following > > assertion is firing, causing an impalad to fail, causing many tests to > > start failing. (I've also got a minidump, but the build was on > > jenkins.impala.io, so I don't think I have the symbols/binaries to use > > it.) > > > > If this sort of thing rings a bell for anyone, please holler! > > > > Obviously I'll work on reproducing this locally to figure it out. > > > > F1025 02:20:43.786911 82485 mem-tracker.h:231] Check failed: > > tracker->consumption_->current_value() >= 0 (-1052615 vs. 0) > > Runtime Filter (Coordinator): Total=-1.00 MB Peak=1.00 MB > > *** Check failure stack trace: *** > > @ 0x2f1e11d google::LogMessage::Fail() > > @ 0x2f1f9c2 google::LogMessage::SendToLog() > > @ 0x2f1daf7 google::LogMessage::Flush() > > @ 0x2f210be google::LogMessageFatal::~LogMessageFatal() > > @ 0x17425fb impala::MemTracker::Release() > > @ 0x1fa7e8b impala::Coordinator::UpdateFilter() > > @ 0x186e3cf impala::ImpalaServer::UpdateFilter() > > @ 0x18d824f impala::ImpalaInternalService::UpdateFilter() > > @ 0x1dda35a > > impala::ImpalaInternalServiceProcessor::process_UpdateFilter() > > @ 0x1dd8308 > > impala::ImpalaInternalServiceProcessor::dispatchCall() > > @ 0x15410ea apache::thrift::TDispatchProcessor::process() > > @ 0x171042b > > apache::thrift::server::TAcceptQueueServer::Task::run() > > @ 0x170c307 impala::ThriftThread::RunRunnable() > > @ 0x170da13 boost::_mfi::mf2<>::operator()() > > @ 0x170d8a9 boost::_bi::list3<>::operator()<>() > > @ 0x170d5f5 boost::_bi::bind_t<>::operator()() > > @ 0x170d508 > > boost::detail::function::void_function_obj_invoker0<>::invoke() > > @ 0x171bdfc boost::function0<>::operator()() > > @ 0x19f3393 impala::Thread::SuperviseThread() > > @ 0x19fbf26 boost::_bi::list4<>::operator()<>() > > @ 0x19fbe69 boost::_bi::bind_t<>::operator()() > > @ 0x19fbe2c boost::detail::thread_data<>::run() > > @ 0x20a7c9a thread_proxy > > @ 0x7fe6536186ba start_thread > > @ 0x7fe65334e3dd clone > > r.java:81) > > > --001a11465d5a484ff3055c6282d2--