[dpdk-users] assert failure while allocating cmbuf

Rosen, Rami rami.rosen at intel.com
Tue Jan 16 00:12:11 CET 2018


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 at dpdk.org] On Behalf Of Alex Kiselev
Sent: Sunday, January 14, 2018 14:37
To: users <users at 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


More information about the users mailing list