Re: rte_mempool_create/alloc_seg crash

2024-05-13 Thread Dmitry Kozlyuk
2024-05-13 18:37 (UTC+0300), Oleksandr Nahnybida: [snip] > I think ignore_msk |= last_msk; should be replaced by cur_msk &= > last_msk; I tried this and dpdk doesn't crash anymore and seems to > work fine, but I'd like someone else familiar with this code to take a look > at this. I confirm this

rte_mempool_create/alloc_seg crash

2024-05-13 Thread Oleksandr Nahnybida
Hi All, I have a crash inside of rte_mempool_create which happens when I allocate multiple big mem pools(multiple GB each), in particular first argument of function alloc_seg(LINUX) is null, I investigated a little bit and it seems like there is a bug inside of rte_fbarray_find_next_n_free. Insid