Re: [lng-odp] ODP crash at buffer_alloc_multi() while inserting into iplookuptable

2018-10-18 Thread Maxim Uvarov
can you create test case for us? On Thu, 18 Oct 2018 at 14:55, gyanesh patra wrote: > Hi, > We are curious if there is any solution in the pipeline for this issue of > iplookuptable insert, i.e. crash at buffer_alloc_multi() ? Any pointer > will be really helpful. > If it will help, we can creat

Re: [lng-odp] ODP crash at buffer_alloc_multi() while inserting into iplookuptable

2018-10-18 Thread gyanesh patra
Hi, We are curious if there is any solution in the pipeline for this issue of iplookuptable insert, i.e. crash at buffer_alloc_multi() ? Any pointer will be really helpful. If it will help, we can create an issue in github too. Thanks for the help. Regards, P Gyanesh Kumar Patra On Tue, Sep 11, 2

Re: [lng-odp] ODP crash at buffer_alloc_multi() while inserting into iplookuptable

2018-09-10 Thread Maxim Uvarov
Can you please compile ODP with debug: ./configure --enable-debug --enable-debug-print --enable-helper-debug-print CFLAGS="-O0" Do you run on x86? It looks like prefix_insert_into_lx() a little bit buggy and there might be recursion forever. Ret is defined as uint8, has to be int. e->cidr does n

Re: [lng-odp] ODP crash at buffer_alloc_multi() while inserting into iplookuptable

2018-09-10 Thread Maxim Uvarov
do you have some test code to reproduce it? On 10 September 2018 at 18:06, gyanesh patra wrote: > Hi, > ODP is crashing at buffer_alloc_multi() while inserting into iplookuptable. > > The backtrace is as below: (gdb) bt #0 buffer_alloc_multi > (pool=0x7fffd5420c00, buf_hdr=buf_hdr@entry=0x7fff55

[lng-odp] ODP crash at buffer_alloc_multi() while inserting into iplookuptable

2018-09-10 Thread gyanesh patra
Hi, ODP is crashing at buffer_alloc_multi() while inserting into iplookuptable. The backtrace is as below: (gdb) bt #0 buffer_alloc_multi (pool=0x7fffd5420c00, buf_hdr=buf_hdr@entry=0x7fff55fa8bb0, max_num=max_num@entry=1) at odp_pool.c:700 #1 0x00433083 in odp_buffer_alloc (pool_hdl=pool_