DPDK usage discussions
 help / color / mirror / Atom feed
From: Kumaraparameshwaran Rathnavel <krath@cloudsimple.com>
To: users@dpdk.org
Subject: [dpdk-users] DPDK Memory in GDB
Date: Tue, 3 Oct 2017 15:11:32 +0530	[thread overview]
Message-ID: <DA060131-0A97-457B-915B-0535721577EF@cloudsimple.com> (raw)

Hi All,

We have been using the mempool of the DPDK for our application. Whenever there is a core dump and if I try to print the contents of the pointer allocated from rte_malloc gdb is throwing an error saying cannot access the memory at address. During run time this is working fine . This happens only when examining a core. I replaced rte_mallloc with malloc and in this case I am able to print the contents of the pointer. I have built DPDK with -g option. Am I doing anything wrong here?

Thanking You,
Param.

             reply	other threads:[~2017-10-03  9:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-03  9:41 Kumaraparameshwaran Rathnavel [this message]
2017-10-03 15:49 ` 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=DA060131-0A97-457B-915B-0535721577EF@cloudsimple.com \
    --to=krath@cloudsimple.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).