DPDK usage discussions
 help / color / mirror / Atom feed
From: Alex Kiselev <kiselev99@gmail.com>
To: users <users@dpdk.org>
Subject: [dpdk-users] assert failure while allocating cmbuf
Date: Sun, 14 Jan 2018 15:37:16 +0300	[thread overview]
Message-ID: <CAMKNYby622gh3zihj+6Jv0eQiVRwA=oYGSHFpYz9ahpTDWM+HA@mail.gmail.com> (raw)

Hi.

I've got an error in my application and I need an advice how to find
what could cause it.
The error was RTE_ASSERT(rte_mbuf_refcnt_read(m) == 0) failure in
rte_mbuf_raw_alloc()
while my app was trying to allocate a new mbuf from a control memory
buffer pool using
rte_ctrlmbuf_alloc(). So, that kinda mbufs are used only for passing
messages via rings in my app.

What should I look for in order to find a bug in my app?

Thank you.

P.S.
So far I've got only one occurrence of the bug and I am trying to
reproduce it running
the same stress test.

-- 
Alex Kiselev

             reply	other threads:[~2018-01-14 12:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-14 12:37 Alex Kiselev [this message]
2018-01-15 23:12 ` Rosen, Rami

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='CAMKNYby622gh3zihj+6Jv0eQiVRwA=oYGSHFpYz9ahpTDWM+HA@mail.gmail.com' \
    --to=kiselev99@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).