DPDK usage discussions
 help / color / mirror / Atom feed
From: "Burakov, Anatoly" <anatoly.burakov@intel.com>
To: Lalithaditya Naidu Gajula <lalithaditya96@gmail.com>,
	users@dpdk.org, dev@dpdk.org
Subject: Re: [dpdk-users] [dpdk-dev] Issue :- segmentation fault in rte_eal_wait_lcore.
Date: Wed, 22 Jan 2020 10:52:28 +0000	[thread overview]
Message-ID: <4cd99005-1777-0abd-caf9-ce2a46a5d45e@intel.com> (raw)
In-Reply-To: <CAF_XCBvaewQy0Vrju=Lpx6RD+0Ba4A4WiEkxt871XTWZ+F1e=A@mail.gmail.com>

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?

-- 
Thanks,
Anatoly

  reply	other threads:[~2020-01-22 10:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-20  7:34 [dpdk-users] " Lalithaditya Naidu Gajula
2020-01-22 10:52 ` Burakov, Anatoly [this message]
2020-01-22 16:08   ` [dpdk-users] [dpdk-dev] " Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4cd99005-1777-0abd-caf9-ce2a46a5d45e@intel.com \
    --to=anatoly.burakov@intel.com \
    --cc=dev@dpdk.org \
    --cc=lalithaditya96@gmail.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).