From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 81F10A00C4; Sun, 13 Feb 2022 12:42:05 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1C6EA4067C; Sun, 13 Feb 2022 12:42:05 +0100 (CET) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mails.dpdk.org (Postfix) with ESMTP id A10FA4014E for ; Sun, 13 Feb 2022 12:42:03 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 7B7F3320046E; Sun, 13 Feb 2022 06:42:02 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 13 Feb 2022 06:42:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; bh=HUIUOMuOkkkHMQ 22O++tBKI05enz5UgZpxnoulIn9V4=; b=gBYUwWOHbcHFmmXYvvyNEbjYd7/Ey0 6qILT1FNO11NjwC03FLorktEBo3q7uiQv684xxwtX321fYi0chyQapx/zBmN4dqU +Tcx0wKWA8INfUDvUlfdmVWwiPFJTVkhw5baU3IYEPoIdWB1ueak2+dvw5oySbrC tXDWETjQCj+el8+wnK1bAqGBrKwDMpvWiblfhtMAdk9YHDnmA3gZkRIn0X59pekB Nm3fD+B5yMz4CB5GgY1jocV8SFdpeM4mt8d8zCiPto9bguWqzKdK99jQCIejkrbO XkMzzcee2kcQw1epurzhFptQb9DK+dejSGX9UavpS9Y42+drYElra6gw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=HUIUOMuOkkkHMQ22O++tBKI05enz5UgZpxnoulIn9 V4=; b=nI235/sdcsBTb7Xzq3bvCKnaRznuFvFSPwH55rKq3hzoTIlaW4/oQUBKg 6VyHD8rpHg31q83KqbL3aaTDFHHG1HC+JyEH3XeZMx5sgKGbbk/fXpTIHMndkQdh SziLmJx+/zFjQaZQ6gRt4e9/8x0US69ExwoFiOe3JiTRLp7d0ou6tvpS44aqdNf7 06iri3ELb2lxkLVnP+oC5qYvnREr7NE8Es8T9HPr/8zdWZK8mNXS0VTFXH+7z8Rf ngE+mAxje5I4j0HtidJHd2WbOM8v7cZwxWl5coZEfed9M5LJ/PSmMFk9mgapewoq 3FBfZ5Tp/xOPYXvPSjDrU7dP+yWzQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrjedtgddvjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 13 Feb 2022 06:42:01 -0500 (EST) From: Thomas Monjalon To: Stephen Hemminger Cc: dev@dpdk.org, Morten =?ISO-8859-1?Q?Br=F8rup?= Subject: Re: [PATCH v2 1/2] eal_debug: do not use malloc in rte_dump_stack Date: Sun, 13 Feb 2022 12:41:59 +0100 Message-ID: <9139565.2WqB4rESCP@thomas> In-Reply-To: <20220212184433.66791-2-stephen@networkplumber.org> References: <20220129011039.264377-1-stephen@networkplumber.org> <20220212184433.66791-1-stephen@networkplumber.org> <20220212184433.66791-2-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 12/02/2022 19:44, Stephen Hemminger: > The glibc backtrace_symbols() calls malloc which makes it > dangerous to use rte_dump_stack() in a signal handler that > is handling errors that maybe due to memory corruption. > > Instead, use dladdr() to lookup up symbols incrementally. > > The format of the messages is based on what X org server > has been doing for many years. It changes from bottom up > to top down order. > > Signed-off-by: Stephen Hemminger Morten acked the RFC. Is there any significant change?