Already tried the first suggestion with no luck, the secondary always gets stuck:
#0 0x00007fc6d3eb05ab in flock () at ../sysdeps/unix/syscall-template.S:78
#1 0x00007fc6d3ba1343 in sync_walk () from /usr/local/lib/librte_eal.so.22
#2 0x00007fc6d3b8402b in rte_memseg_list_walk_thread_unsafe () from /usr/local/lib/librte_eal.so.22
#3 0x00007fc6d3ba18bf in eal_memalloc_sync_with_primary () from /usr/local/lib/librte_eal.so.22
#4 0x00007fc6d3ba24b5 in rte_eal_hugepage_attach () from /usr/local/lib/librte_eal.so.22
#5 0x00007fc6d3b848f1 in rte_eal_memory_init () from /usr/local/lib/librte_eal.so.22
#6 0x00007fc6d3b782aa in rte_eal_init.cold () from /usr/local/lib/librte_eal.so.22
For the second info:
if I prevent the primary to allocate on the NUMA where secondary is running, then, the secondary doesn't get stuck.