From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 08410A0532 for ; Wed, 22 Jan 2020 17:08:49 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5FE8D316B; Wed, 22 Jan 2020 17:08:46 +0100 (CET) Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by dpdk.org (Postfix) with ESMTP id A6FBF2BBE for ; Wed, 22 Jan 2020 17:08:42 +0100 (CET) Received: by mail-pl1-f194.google.com with SMTP id t14so3193547plr.8 for ; Wed, 22 Jan 2020 08:08:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=E1mxO3b4CfMuBXqYmTCfD6ZE4IitoB8EndeJyObrTaE=; b=DbSeDn9O/sFYG3HtRPH4SpVrcEkOTtpL8t0/05smoz6+AZfuBwh9RMUOBaDAkNqzyg RIjv9iwvQ4Anvsj3PWF9707gFuSGj1zJG77Ie0z72VdP32GLPyjd4nxU/yq8qLIyxSTe QduIpSvaoVmPTLprk58tGC7gMicDQEgTyJ7Qwq75ijiGcUuGiEzCk4trleuu8X3vSpeN TngiSAq/6ero5pmhVlYwcCzS8mhkI51I0dcH9KP7GZsKl3qXCOzGJ6PCr+St4lYfApl5 rVHUt7m22R4/nZ1WkeSMxNMJHk689pK7GbUtF+3JesTXOAR+f0eWDxJqTNpJlUBmX+m4 zlXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=E1mxO3b4CfMuBXqYmTCfD6ZE4IitoB8EndeJyObrTaE=; b=nKlQMvdIaHvb9uxQM5QeCRNnBhXWNtJbgHeJF7rVKdW8HyTMBIOXh5hCqlP8+7nGml rqu7dD0qWPyLjUJjCwIbt1iEvAjbKuuqAPbUCm8Q9aTL2NvJd7bcprmwSltpILFtjVMG oj7wwITF7EhgEuOMO49wS5L2WwfyhzfCcgMev1aCDzWyFLalivEG7TDY9bQXmV9OA0Oa yGdte9vrUx1ruGaztvLVqrVlWxOKpXBZ5q7HxsJjTjVlVhEYgBjPPaHNLMaaWP1JO6k2 ohrvJJj5l6JsRq02eX1jJ6ycwPtruXucgrbp5raYjYmwfqed3ymgrVCjmbNAeWJXlIye rAsA== X-Gm-Message-State: APjAAAVg2hsL/Vt21xqwyY88OVaYOJhHWM1w+JRydbxONPXI5ICmGUJi GoOvktXtoQT3KPIKBqU+LSmjHA== X-Google-Smtp-Source: APXvYqwpO2T7cMB1N9mloXpEzozP2btOkrFxxIeVPwc6XK38qW9rUegGSz/3hu7N3Ay0urYHrlmiag== X-Received: by 2002:a17:90b:46cf:: with SMTP id jx15mr4023947pjb.2.1579709321775; Wed, 22 Jan 2020 08:08:41 -0800 (PST) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 3sm47007511pfi.13.2020.01.22.08.08.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jan 2020 08:08:41 -0800 (PST) Date: Wed, 22 Jan 2020 08:08:33 -0800 From: Stephen Hemminger To: "Burakov, Anatoly" Cc: Lalithaditya Naidu Gajula , users@dpdk.org, dev@dpdk.org Message-ID: <20200122080833.4cc3ed0f@hermes.lan> In-Reply-To: <4cd99005-1777-0abd-caf9-ce2a46a5d45e@intel.com> References: <4cd99005-1777-0abd-caf9-ce2a46a5d45e@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-users] [dpdk-dev] Issue :- segmentation fault in rte_eal_wait_lcore. X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" On Wed, 22 Jan 2020 10:52:28 +0000 "Burakov, Anatoly" wrote: > On 20-Jan-20 7:34 AM, Lalithaditya Naidu Gajula wrote: > > Hi All, > > I got a segmentation fault issue regarding ret_eal_wait_lcore and > > rte_eal_mp_wait_lcore(), > > when i am running the code in a few logical cores using rte_eal_remote > > _launch() function which has a while (1) (infinite loop) in all the > > functions launched by remote launch and when i am terminating the code with > > 'ctrl+c' i am getting segmentation fault at rte_eal_mp_wait_lcore(), then > > I replaced that with rte_eal_wait_lcore() for the respective logical cores > > even then i am getting a segmentation fault, can anyone please clarify this > > issue? > > > > It sounds like you have memory corruption somewhere in your code. Have > you tried looking at it in gdb and stepping through your code to see if > you get any wrong memory accesses? > It also possible to run DPDK code under valgrind. You do need the right version of valgrind, and there can be some tuning issues.