Hello,

I’m currently testing container communication using memif.
My configuration is using single thread with the attached configuration.
Most of the time in the next few second host vpp crash with the back trace
below.
Very infrequently it works until restarted but I cannot find out why at the
moment.

Any ideas ?

Fabien

Program received signal SIGSEGV, Segmentation fault.
0x00007fffb47c43aa in common_ring_mc_dequeue ()
   from
/home/fabient/vpp.git/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/dpdk_plugin.so
(gdb) bt
#0  0x00007fffb47c43aa in common_ring_mc_dequeue ()
   from
/home/fabient/vpp.git/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/dpdk_plugin.so
#1  0x00007fffb4511e3d in rte_mempool_ops_dequeue_bulk (mp=0x7ffeae00a1c0,
obj_table=0x7fffb5e4a52c, n=1024)
    at /usr/include/dpdk/rte_mempool.h:474
#2  0x00007fffb451aa13 in __mempool_generic_get (cache=0x7ffeae01c400,
n=1024, obj_table=0x7fffb5e4a52c, mp=0x7ffeae00a1c0)
    at /usr/include/dpdk/rte_mempool.h:1218
#3  rte_mempool_generic_get (flags=16, cache=0x7ffeae01c400, n=1024,
obj_table=0x7fffb5e4a52c, mp=0x7ffeae00a1c0)
    at /usr/include/dpdk/rte_mempool.h:1256
#4  rte_mempool_get_bulk (n=1024, obj_table=0x7fffb5e4a52c,
mp=0x7ffeae00a1c0) at /usr/include/dpdk/rte_mempool.h:1289
#5  fill_free_list (vm=0x7ffff7b9e400 <vlib_global_main>,
fl=0x7fffb5d29100, min_free_buffers=1024)
    at /home/fabient/vpp.git/build-data/../src/plugins/dpdk/buffer.c:193
#6  0x00007fffb451b25f in alloc_from_free_list (vm=0x7ffff7b9e400
<vlib_global_main>, free_list=0x7fffb5d29100,
    alloc_buffers=0x7fffb5e4d7e0, n_alloc_buffers=1024) at
/home/fabient/vpp.git/build-data/../src/plugins/dpdk/buffer.c:277
#7  0x00007fffb451b48b in dpdk_buffer_alloc (vm=0x7ffff7b9e400
<vlib_global_main>, buffers=0x7fffb5e4d7e0, n_buffers=1024)
    at /home/fabient/vpp.git/build-data/../src/plugins/dpdk/buffer.c:300
#8  0x00007fffb30e569d in vlib_buffer_alloc (vm=0x7ffff7b9e400
<vlib_global_main>, buffers=0x7fffb5e4d7e0, n_buffers=1024)
    at /home/fabient/vpp.git/build-data/../src/vlib/buffer_funcs.h:260
#9  0x00007fffb30e75a1 in memif_device_input_inline (vm=0x7ffff7b9e400
<vlib_global_main>, node=0x7fffb5a237c0, frame=0x0,
    mif=0x7fffb5e1c3b4, type=MEMIF_RING_S2M, qid=0,
mode=MEMIF_INTERFACE_MODE_ETHERNET)
    at /home/fabient/vpp.git/build-data/../src/plugins/memif/node.c:263
#10 0x00007fffb30e8489 in memif_input_fn (vm=0x7ffff7b9e400
<vlib_global_main>, node=0x7fffb5a237c0, frame=0x0)
    at /home/fabient/vpp.git/build-data/../src/plugins/memif/node.c:501
#11 0x00007ffff78fd7a4 in dispatch_node (vm=0x7ffff7b9e400
<vlib_global_main>, node=0x7fffb5a237c0, type=VLIB_NODE_TYPE_INPUT,
    dispatch_state=VLIB_NODE_STATE_POLLING, frame=0x0,
last_time_stamp=1606590769588456)
    at /home/fabient/vpp.git/build-data/../src/vlib/main.c:1011
#12 0x00007ffff78ff521 in vlib_main_or_worker_loop (vm=0x7ffff7b9e400
<vlib_global_main>, is_main=1)
    at /home/fabient/vpp.git/build-data/../src/vlib/main.c:1519
#13 0x00007ffff78fff85 in vlib_main_loop (vm=0x7ffff7b9e400
<vlib_global_main>)
    at /home/fabient/vpp.git/build-data/../src/vlib/main.c:1641
#14 0x00007ffff79006a8 in vlib_main (vm=0x7ffff7b9e400 <vlib_global_main>,
input=0x7fffb5a20fb0)
    at /home/fabient/vpp.git/build-data/../src/vlib/main.c:1793
#15 0x00007ffff7966f76 in thread0 (arg=140737349542912) at
/home/fabient/vpp.git/build-data/../src/vlib/unix/main.c:568
#16 0x00007ffff6177568 in clib_calljmp () at
/home/fabient/vpp.git/build-data/../src/vppinfra/longjmp.S:110
#17 0x00007fffffffce90 in ?? ()
#18 0x00007ffff79673c9 in vlib_unix_main (argc=52, argv=0x7fffffffe0e8)
    at /home/fabient/vpp.git/build-data/../src/vlib/unix/main.c:631
#19 0x00000000004080ea in main (argc=52, argv=0x7fffffffe0e8) at
/home/fabient/vpp.git/build-data/../src/vpp/vnet/main.c:207
(gdb)

Attachment: Docker communication.pdf
Description: Binary data

_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to