From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f68.google.com (mail-lf1-f68.google.com [209.85.167.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 3434546970E for ; Mon, 20 Jan 2020 11:44:12 +0300 (MSK) Received: by mail-lf1-f68.google.com with SMTP id l18so23377890lfc.1 for ; Mon, 20 Jan 2020 00:44:12 -0800 (PST) Date: Mon, 20 Jan 2020 11:44:09 +0300 From: Cyrill Gorcunov Message-ID: <20200120084409.GC2437@uranus> References: <20200117132929.11235-1-gorcunov@gmail.com> <20200117132929.11235-3-gorcunov@gmail.com> <20200120083148.GC19835@atlas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200120083148.GC19835@atlas> Subject: Re: [Tarantool-patches] [PATCH 2/2] box/applier: add missing diag_set on region_alloc failure List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Konstantin Osipov Cc: tml On Mon, Jan 20, 2020 at 11:31:48AM +0300, Konstantin Osipov wrote: > * Cyrill Gorcunov [20/01/17 16:32]: > > In case if we're hitting memory limit allocting triggers > > we should setup diag error to prevent nil dereference > > in diag_raise call for example from applier_apply_tx. > > It used to be region_alloc_xc, which would throw exception. > > So it's a regression introduced by some of the "cleanup" patches. > > Could you please find when it was introduced? Will do. Still there are some other places where diag is not set so we're narrowing the real case now with help of testing runs the issue reporter kindly agreed to do.