DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] assert failure while allocating cmbuf
@ 2018-01-14 12:37 Alex Kiselev
  2018-01-15 23:12 ` Rosen, Rami
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Kiselev @ 2018-01-14 12:37 UTC (permalink / raw)
  To: users

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-users] assert failure while allocating cmbuf
  2018-01-14 12:37 [dpdk-users] assert failure while allocating cmbuf Alex Kiselev
@ 2018-01-15 23:12 ` Rosen, Rami
  0 siblings, 0 replies; 2+ messages in thread
From: Rosen, Rami @ 2018-01-15 23:12 UTC (permalink / raw)
  To: Alex Kiselev, users

Alex,
Are you aware of the ongoing deprecation process of ctrl_mbuf API ?
See for example, this thread:
http://dev.dpdk.narkive.com/EifFAcs5/dpdk-dev-rte-ctrlmbuf-init-and-ctrl-mbuf-flag-are-not-used-shouldn-t-they-be-removed-and-deprecated

Regards,
Rami Rosen



-----Original Message-----
From: users [mailto:users-bounces@dpdk.org] On Behalf Of Alex Kiselev
Sent: Sunday, January 14, 2018 14:37
To: users <users@dpdk.org>
Subject: [dpdk-users] assert failure while allocating cmbuf

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-15 23:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-14 12:37 [dpdk-users] assert failure while allocating cmbuf Alex Kiselev
2018-01-15 23:12 ` Rosen, Rami

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).