[dpdk-dev] Issue :- segmentation fault in rte_eal_wait_lcore.

Burakov, Anatoly anatoly.burakov at intel.com
Wed Jan 22 11:52:28 CET 2020


On 20-Jan-20 7:34 AM, Lalithaditya Naidu Gajula wrote:
> Hi All,
>           I got a segmentation fault issue regarding ret_eal_wait_lcore and
> rte_eal_mp_wait_lcore(),
> when i am running the code in a few logical cores using rte_eal_remote
> _launch() function which has a  while (1) (infinite loop) in all the
> functions launched by remote launch and when i am terminating the code with
> 'ctrl+c' i am getting segmentation fault at  rte_eal_mp_wait_lcore(), then
> I replaced that with rte_eal_wait_lcore() for the respective logical cores
> even then i am getting a segmentation fault, can anyone please clarify this
> issue?
> 

It sounds like you have memory corruption somewhere in your code. Have 
you tried looking at it in gdb and stepping through your code to see if 
you get any wrong memory accesses?

-- 
Thanks,
Anatoly


More information about the dev mailing list