From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 744FD23C for ; Wed, 2 May 2018 17:26:21 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1311B226C6; Wed, 2 May 2018 11:26:21 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 02 May 2018 11:26:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=nN9n0SJzSBKqaorwFarhLCbz+5 fh5TuaWgYDA2mgt6o=; b=d/AWBdMm69Cjcgn1Sr+aimKtXX2yxJr2bd6FXZJ9Qm THTpQYx0MKeAG0QD2PhEpN0/NyxAqwVW0qyDR9OsDqhvg/BMhJWCA2G33jYrLPRW XUHLtyV4Uh7T/II1nM6gPk3ZC6FJJYYLC4gK7FWFaJ8Pzcy1Kp4ta3NFk+Cgdxmd s= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=nN9n0S JzSBKqaorwFarhLCbz+5fh5TuaWgYDA2mgt6o=; b=jdf8HUaVBlBSaqTqOuR8ZO Wp9mBljMpidn8oWFaZoV8Ok1l69nB3wK9AaWYyED7X/8WEIFV5EYMANiVXVVFQ/V +vPcw3P0ldx4yjnuGKYhEQfZ0KwzbOMWiqcKpwFxSGbG2UkZJR+skNAf1Npw9ftO QGGNA1SA3GJh1ZpobpQKyS2OESW136cK4tCpOkHW/RemGwoRye5R5gOe4DuGcP9G nBaB+/BHwXVhTmtJ9Q/0UmOFnSUTOqoH6pJ9GyUzzkOhxSAMN6aHxxP7tryYzGWq F7mhnZLjbRiPuT4/UsB43+JbU7OUQ6w8gLvqma6F76jXItzbrrGZpeZZIelF+NGA == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 4F018E50A2; Wed, 2 May 2018 11:26:20 -0400 (EDT) From: Thomas Monjalon To: Jianfeng Tan Cc: dev@dpdk.org, Olivier Matz , anatoly.burakov@intel.com Date: Wed, 02 May 2018 17:26:18 +0200 Message-ID: <2330312.QrEeuOKnyk@xps> In-Reply-To: <20180502145622.5lka4i2hqehizij3@neon> References: <1525255198-20906-1-git-send-email-jianfeng.tan@intel.com> <1525269134-103270-1-git-send-email-jianfeng.tan@intel.com> <20180502145622.5lka4i2hqehizij3@neon> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 15:26:21 -0000 02/05/2018 16:56, Olivier Matz: > 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 :) Applied, thanks