OpenDataPlane / odp

The ODP project is an open-source, cross-platform set of application programming interfaces (APIs) for the networking data plane

Home Page:https://opendataplane.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bus error

ieliynehc opened this issue · comments

Sometimes, when my ODP application exits and restarts it, it will encounter bus error. As long as this phenomenon occurs, it will not disappear unless the Linux OS is restarted. If the Linux OS is not restarted, the bus error will appear every time the application is started.

Although restarting Linux OS can temporarily avoid this problem, after a few days, it will appear again.

Can I get any help from here? Thank you.

Linux CentOS 3.10.0-514-el7.x86_64
image

What level of ODP are you using? And what compiler (version and release) are you using to compile it and your application?

ODP v1.19.0.0
LINUX-GENERIC PLATFORM, not LINUX-DPDK。

gcc 4.8.5 20150623 (Red Hat 4.8.5-16) both for odp and application.
image

It occurs when packet pool creating.

Hi,

Are you running ODP natively on CentOS or inside a container? How about huge pages?

You could build ODP with --enable-debug and --enable-debug-print flags to get more information. Are you checking pool capability (odp_pool_capability()) and using valid parameters for odp_pool_create()?

do you run this under docker (if yes, you have to increase shm size). More likely you have out of memory error.

This issue should now be fixed (5ccc27c).