Re: [vpp-dev] memif container test crash

2017-10-23 Thread Damjan Marion
 
> On 23 Oct 2017, at 14:57, Fabien Thomas  wrote:
> 
> Hi Damjan,
> 
> I’m back on my testing environment.
> 
> 
>> Can you try to comment out section in src/plugins/dpdk/device/init.c
>> which starts with following comment:
>> 
>> /* set custom ring memory allocator */
>> 
>> Lines 1250:1264.
> 
> 
> This line is not on my codebase.
> I’ve not put the information in my initial report but i’m on stable1710 
> branch.

OK, that means that thing I was suspecting is not causing this problem as that 
code is not present in 17.10.

Have you tried to increase number of free buffers?

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

[vpp-dev] memif container test crash

2017-10-19 Thread Fabien Thomas
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.
0x7fffb47c43aa 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  0x7fffb47c43aa in common_ring_mc_dequeue ()
   from
/home/fabient/vpp.git/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/dpdk_plugin.so
#1  0x7fffb4511e3d in rte_mempool_ops_dequeue_bulk (mp=0x7ffeae00a1c0,
obj_table=0x7fffb5e4a52c, n=1024)
at /usr/include/dpdk/rte_mempool.h:474
#2  0x7fffb451aa13 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=0x77b9e400 ,
fl=0x7fffb5d29100, min_free_buffers=1024)
at /home/fabient/vpp.git/build-data/../src/plugins/dpdk/buffer.c:193
#6  0x7fffb451b25f in alloc_from_free_list (vm=0x77b9e400
, free_list=0x7fffb5d29100,
alloc_buffers=0x7fffb5e4d7e0, n_alloc_buffers=1024) at
/home/fabient/vpp.git/build-data/../src/plugins/dpdk/buffer.c:277
#7  0x7fffb451b48b in dpdk_buffer_alloc (vm=0x77b9e400
, buffers=0x7fffb5e4d7e0, n_buffers=1024)
at /home/fabient/vpp.git/build-data/../src/plugins/dpdk/buffer.c:300
#8  0x7fffb30e569d in vlib_buffer_alloc (vm=0x77b9e400
, buffers=0x7fffb5e4d7e0, n_buffers=1024)
at /home/fabient/vpp.git/build-data/../src/vlib/buffer_funcs.h:260
#9  0x7fffb30e75a1 in memif_device_input_inline (vm=0x77b9e400
, 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 0x7fffb30e8489 in memif_input_fn (vm=0x77b9e400
, node=0x7fffb5a237c0, frame=0x0)
at /home/fabient/vpp.git/build-data/../src/plugins/memif/node.c:501
#11 0x778fd7a4 in dispatch_node (vm=0x77b9e400
, 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 0x778ff521 in vlib_main_or_worker_loop (vm=0x77b9e400
, is_main=1)
at /home/fabient/vpp.git/build-data/../src/vlib/main.c:1519
#13 0x778fff85 in vlib_main_loop (vm=0x77b9e400
)
at /home/fabient/vpp.git/build-data/../src/vlib/main.c:1641
#14 0x779006a8 in vlib_main (vm=0x77b9e400 ,
input=0x7fffb5a20fb0)
at /home/fabient/vpp.git/build-data/../src/vlib/main.c:1793
#15 0x77966f76 in thread0 (arg=140737349542912) at
/home/fabient/vpp.git/build-data/../src/vlib/unix/main.c:568
#16 0x76177568 in clib_calljmp () at
/home/fabient/vpp.git/build-data/../src/vppinfra/longjmp.S:110
#17 0x7fffce90 in ?? ()
#18 0x779673c9 in vlib_unix_main (argc=52, argv=0x7fffe0e8)
at /home/fabient/vpp.git/build-data/../src/vlib/unix/main.c:631
#19 0x004080ea in main (argc=52, argv=0x7fffe0e8) at
/home/fabient/vpp.git/build-data/../src/vpp/vnet/main.c:207
(gdb)


Docker communication.pdf
Description: Binary data
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev