emmericp / MoonGen

MoonGen is a fully scriptable high-speed packet generator built on DPDK and LuaJIT. It can saturate a 10 Gbit/s connection with 64 byte packets on a single CPU core while executing user-provided Lua scripts for each packet. Multi-core support allows for even higher rates. It also features precise and accurate timestamping and rate control.
MIT License
1.03k stars 234 forks source link

Getting segmentation faults in a loop #317

Open AqsaKashaf opened 2 years ago

AqsaKashaf commented 2 years ago

Hi,

I am sending some packets in a loop, and I am also writing these packets using pcap writer. However, in my loop as I hit 204 (loop number), I get segmentation fault. Currenly, I am sending 5 packets in a loop. I sleep for 4 seconds after each iteration. Then I send 5 packets again and so on. Can you please hint at what might the problem be?