-
Notifications
You must be signed in to change notification settings - Fork 727
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
国产龙蜥操作系统运行DPVS时出现段错误 #896
Comments
用的是哪个版本?能否稳定复现?可以打开 |
在centos7,intel cpu下遇到同样的问题,版本1.9.4, dpdk版本dpdk-stable-20.11.1,更新neigh_add_table时出错,在INIT_LIST_HEAD(&new_neighbour->queue_list);后读取new_neighbour->flag出错,中间加一个调试打印就不会出错,不知道是不是跟编译环境有关 |
改成-g -O0后也是在INIT_LIST_HEAD(&new_neighbour->queue_list)中SIGSEGV,是内存对齐的问题吗 |
看着是O3的问题,改成O2,或者Makefile开debug就没问题 |
内核 5.14 gcc-11.3.1 |
这个问题隐藏的很深啊。。。不是大牛很难发现。膜拜一下。 另外想请教下,这个段错误为什么不是必现的,如果neighbour_entry不是16字节对齐会导致段错误,那么难道这个结构体有的时候是对齐的,有的时候是不能对齐的吗?是什么决定它能不能对齐的呢? |
I have same problem which is #929 |
2块万兆做bond4,2个numa节点,启动DPVS时出现段错误。段错误的位置出现在neigh_add_table函数中的链表初始化INIT_LIST_HEAD. coredump信息如下,请问下大家有没有什么思路,谢谢
The text was updated successfully, but these errors were encountered: