https://bugs.linaro.org/show_bug.cgi?id=2789

            Bug ID: 2789
           Summary: increasing CONFIG_PACKET_MAX_SEGS leads to segfault
           Product: OpenDataPlane - linux- generic reference
           Version: api-next
          Hardware: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: ---
         Component: Buffers & Packets
          Assignee: bill.fischo...@linaro.org
          Reporter: maxim.uva...@linaro.org
                CC: lng-odp@lists.linaro.org
  Target Milestone: ---

use case:
1. increase  CONFIG_PACKET_MAX_SEGS 
2. recompile and run test:

./test/common_plat/validation/api/packet/packet_main

Program received signal SIGSEGV, Segmentation fault.
__memcpy_sse2_unaligned () at
../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:35
35      ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: No such file or
directory.
(gdb) up
#1  0x00000000004168cf in odp_packet_copy_from_pkt (dst=0x1a00, dst_offset=0,
src=0x1600, src_offset=10157, len=10158) at odp_packet.c:1357
1357                            memcpy(dst_map, src_map, cpylen);
(gdb) l
1352                    cpylen = len > minseg ? minseg : len;
1353    
1354                    if (overlap)
1355                            memmove(dst_map, src_map, cpylen);
1356                    else
1357                            memcpy(dst_map, src_map, cpylen);
1358

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to