[DPDK/core Bug 1784] crash is seen while reserving the memory in rte_memzone_reserve

bugzilla at dpdk.org bugzilla at dpdk.org
Mon Sep 1 09:39:03 CEST 2025


https://bugs.dpdk.org/show_bug.cgi?id=1784

            Bug ID: 1784
           Summary: crash is seen while reserving the memory in
                    rte_memzone_reserve
           Product: DPDK
           Version: 24.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: dev at dpdk.org
          Reporter: malve.vinay.kumar at oracle.com
  Target Milestone: ---

Hi,
While the application is reserving the memory for the stats table, we see a
crash.
Below is the BT

Program terminated with signal 11, Segmentation fault.
#0  0x0000000002b35f81 in elem_start_pt (elem=elem at entry=0x311032000000,
size=size at entry=34754368, align=align at entry=64,
    bound=bound at entry=0, contig=contig at entry=false) at
../esbc_gnu_src/lib/eal/common/malloc_elem.c:222
222     ../esbc_gnu_src/lib/eal/common/malloc_elem.c: No such file or
directory.
(gdb) bt
#0  0x0000000002b35f81 in elem_start_pt (elem=elem at entry=0x311032000000,
size=size at entry=34754368, align=align at entry=64,
    bound=bound at entry=0, contig=contig at entry=false) at
../esbc_gnu_src/lib/eal/common/malloc_elem.c:222
#1  0x0000000002b363cd in malloc_elem_can_hold (elem=elem at entry=0x311032000000,
size=size at entry=34754368,
    align=align at entry=64, bound=bound at entry=0, contig=contig at entry=false) at
../esbc_gnu_src/lib/eal/common/malloc_elem.c:283
#2  0x0000000002b36c7b in find_suitable_element
(heap=heap at entry=0x30ffffffdb80, size=size at entry=34754368,
    flags=flags at entry=0, align=align at entry=64, bound=bound at entry=0,
contig=contig at entry=false)
    at ../esbc_gnu_src/lib/eal/common/malloc_heap.c:160
#3  0x0000000002b36d2f in heap_alloc (heap=heap at entry=0x30ffffffdb80,
size=size at entry=34754368, flags=flags at entry=0,
    align=align at entry=64, bound=bound at entry=0, contig=contig at entry=false) at
../esbc_gnu_src/lib/eal/common/malloc_heap.c:244
#4  0x0000000002b37950 in malloc_heap_alloc_on_heap_id () at
../esbc_gnu_src/lib/eal/common/malloc_heap.c:680
#5  0x0000000002b37abb in malloc_heap_alloc (size=size at entry=34754368,
socket_arg=<optimized out>, flags=flags at entry=0,
    align=align at entry=64, bound=bound at entry=0, contig=<optimized out>) at
../esbc_gnu_src/lib/eal/common/malloc_heap.c:755
#6  0x0000000002b2bef2 in memzone_reserve_aligned_thread_unsafe (bound=0,
align=64, flags=0, socket_id=<optimized out>,
    len=34754368, name=0x4320efc4 "UsdpStatsTable/21") at
../esbc_gnu_src/lib/eal/common/eal_common_memzone.c:205
#7  rte_memzone_reserve_thread_safe () at
../esbc_gnu_src/lib/eal/common/eal_common_memzone.c:256
#8  0x0000000002b2c15e in rte_memzone_reserve (name=name at entry=0x4320efc4
"UsdpStatsTable/21", len=len at entry=34754352,
    socket_id=<optimized out>, flags=flags at entry=0) at
../esbc_gnu_src/lib/eal/common/eal_common_memzone.c:300


Thanks,
Vinay.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20250901/adc381d1/attachment.htm>


More information about the dev mailing list