kxdpgun Floating point exception on SIGUSR1
Version: 3dd6702b
Reproducer:
- Run
while true; do killall -USR1 kxdpgun; done &
- Run
kxdpgun -i /tmp/qlist 192.0.2.1
Result:
using interface veth2, XDP threads 1, IPv4/UDP, native mode
Floating point exception (core dumped)
I guess there is a race between SIGUSR1 handling and filling in some counters.
Please note the reproducer above is simplified. The issue has happened to me during "normal usage" where individual USR1 signals had sleep intervals in between.