From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 0440323C for ; Wed, 2 May 2018 16:56:25 +0200 (CEST) Received: from lfbn-lil-1-169-73.w90-45.abo.wanadoo.fr ([90.45.25.73] helo=droids-corp.org) by mail.droids-corp.org with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fDtBJ-00046s-RA; Wed, 02 May 2018 16:56:35 +0200 Received: by droids-corp.org (sSMTP sendmail emulation); Wed, 02 May 2018 16:56:22 +0200 Date: Wed, 2 May 2018 16:56:22 +0200 From: Olivier Matz To: Jianfeng Tan Cc: dev@dpdk.org, anatoly.burakov@intel.com, thomas@monjalon.net Message-ID: <20180502145622.5lka4i2hqehizij3@neon> References: <1525255198-20906-1-git-send-email-jianfeng.tan@intel.com> <1525269134-103270-1-git-send-email-jianfeng.tan@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1525269134-103270-1-git-send-email-jianfeng.tan@intel.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH v3] eal: fix use-after-free issue on thread creation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2018 14:56:26 -0000 On Wed, May 02, 2018 at 01:52:14PM +0000, Jianfeng Tan wrote: > After below commit, we encounter some strange issue: > 1) Dead lock as described here: > http://dpdk.org/ml/archives/dev/2018-April/099806.html > 2) SIGSEGV issue when starting a testpmd in VM. > > Considering below commit changes to use dynamic memory instead of > stack for memory barrier, we doubt it's caused by use-after-free. > > Fixes: 3d09a6e26d8b ("eal: fix threads block on barrier") > > Reported-by: Maxime Coquelin > Reported-by: Lei Yao > Suggested-by: Stephen Hemminger > Signed-off-by: Jianfeng Tan > Suggested-by: Olivier Matz Reviewed-by: Olivier Matz Thank you for fixing my stuff :)