Skip to contentSkip to conversation

crash is seen while reserving the memory in rte_memzone_reserve

DPDK/core Bug 1784 [email protected] 1 participant 1 message Sep 1, 2025

lore
Share & tools
lore
#0 lore raw

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: [email protected]
          Reporter: [email protected]

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@entry=0x311032000000, size=size@entry=34754368, align=align@entry=64,
bound=bound@entry=0, contig=contig@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@entry=0x311032000000, size=size@entry=34754368, align=align@entry=64,
bound=bound@entry=0, contig=contig@entry=false) at
../esbc_gnu_src/lib/eal/common/malloc_elem.c:222
#1 0x0000000002b363cd in malloc_elem_can_hold (elem=elem@entry=0x311032000000, size=size@entry=34754368,
align=align@entry=64, bound=bound@entry=0, contig=contig@entry=false) at
../esbc_gnu_src/lib/eal/common/malloc_elem.c:283
#2 0x0000000002b36c7b in find_suitable_element (heap=heap@entry=0x30ffffffdb80, size=size@entry=34754368,

    flags=flags@entry=0, align=align@entry=64, bound=bound@entry=0,
contig=contig@entry=false)
    at ../esbc_gnu_src/lib/eal/common/malloc_heap.c:160

#3 0x0000000002b36d2f in heap_alloc (heap=heap@entry=0x30ffffffdb80, size=size@entry=34754368, flags=flags@entry=0,
align=align@entry=64, bound=bound@entry=0, contig=contig@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@entry=34754368, socket_arg=<optimized out>, flags=flags@entry=0,
align=align@entry=64, bound=bound@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@entry=0x4320efc4 "UsdpStatsTable/21", len=len@entry=34754352,
socket_id=<optimized out>, flags=flags@entry=0) at
../esbc_gnu_src/lib/eal/common/eal_common_memzone.c:300

Thanks,
Vinay.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.