[dpdk-users] pktgen segment fault when running save cmd

Caianning caianning at huawei.com
Wed Sep 14 08:17:33 CEST 2016

         I got a segment fault when saving pktgen configurations:

Program received signal SIGSEGV, Segmentation fault.
0x000000000043db17 in pktgen_script_save (path=path at entry=0x7ffc1c1dced0 "/home/vmse/a/pktgen-nsh.cfg") at /home/vmse/a/pktgen-v3.0.09/app/pktgen-cmds.c:420
420             if (info->rnd_bitfields->active_specs) {
(gdb) p info
$2 = (port_info_t *) 0x8dfe08 <pktgen+280872>
(gdb) p info->rnd_bitfields
$3 = (struct rnd_bits_s *) 0x0
(gdb) p sizeof(*info)
$5 = 90322

Version of dpdk is 16.07, and version of pktgen is 3.0.09.
the cmdline is:
pktgen -c 0x1ff -n 3 -- -P -m "[1-2:3-4].0,[5-6:7-8].1"


More information about the users mailing list