[ovs-discuss] a segfault of ovs-dpdk

王华夏 wanghuaxia at jd.com
Mon Feb 29 10:06:38 UTC 2016


Hi all,

When I test the ovs-dpdk, I get a segfault of ovs-vswitch,and the ovs-vswitch crashed

The message log :

9 10:20:33 A06-R12-302F0111-I32-13 kernel: pmd38[1598]: segfault at 8 ip 00000000005d1fc7 sp 00007f8f59bf1900 error 4 in ovs-vswitchd[400000+36a000]

And the simple analysis of the core as fellows:

Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `ovs-vswitchd --dpdk --syslog syslog --log-level 8 -c 0x1 -n 4 --socket-mem=2048'.
Program terminated with signal 11, Segmentation fault.
#0  0x00000000005d1fc7 in netdev_rxq_recv (rx=0x7f8f6da02240, buffers=buffers at entry=0x7f8f59bf1920, cnt=cnt at entry=0x7f8f59bf191c) at lib/netdev.c:654
654        retval = rx->netdev->netdev_class->rxq_recv(rx, buffers, cnt);
Missing separate debuginfos, use: debuginfo-install openvswitch-2.4.0-1.el7.x86_64
(gdb) bt
#0  0x00000000005d1fc7 in netdev_rxq_recv (rx=0x7f8f6da02240, buffers=buffers at entry=0x7f8f59bf1920, cnt=cnt at entry=0x7f8f59bf191c) at lib/netdev.c:654
#1  0x00000000005b431a in dp_netdev_process_rxq_port (pmd=pmd at entry=0x1aa6e50, rxq=<optimized out>, port=<optimized out>, port=<optimized out>) at lib/dpif-netdev.c:2510
#2  0x00000000005b55b7 in pmd_thread_main (f_=0x1aa6e50) at lib/dpif-netdev.c:2671
#3  0x000000000060fc84 in ovsthread_wrapper (aux_=<optimiz
ed out>) at lib/ovs-thread.c:340
#4  0x00007f8fb9f7bdf5 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f8fb979f1ad in clone () from /lib64/libc.so.6



(gdb) p rx
$3 = (struct netdev_rxq *) 0x7f8f6da02240
(gdb) p *rx
Cannot access memory at address 0x7f8f6da02240

Wang Huaxia ---JD.COM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160229/deacfcfa/attachment-0002.html>


More information about the discuss mailing list