DPDK patches and discussions
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [dpdk-dev] [Bug 424] malloc_autotest fails with message "Unexpected - ptr4 != ptr3"
Date: Thu, 26 Mar 2020 00:11:35 +0000	[thread overview]
Message-ID: <bug-424-3@http.bugs.dpdk.org/> (raw)

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

            Bug ID: 424
           Summary: malloc_autotest fails with message "Unexpected - ptr4
                    != ptr3"
           Product: DPDK
           Version: 20.05
          Hardware: All
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: other
          Assignee: dev@dpdk.org
          Reporter: drc@linux.vnet.ibm.com
  Target Milestone: ---

Build DPDK 20.05-rc0 with commit ID 83bc8bb1a8ec5e57515778216351fa0cdef9599a on
both POWER and x86 systems running RHEL 8.1.  Execute the dpdk-test application
with the following command-line:

$ sudo ./dpdk-test --log-level='eal,debug' --iova-mode=pa -l 9-15,25-31

Test eventually fails with the error shown at the bottom.

EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Detected lcore 8 as core 0 on socket 1
EAL: Detected lcore 9 as core 1 on socket 1
EAL: Detected lcore 10 as core 2 on socket 1
EAL: Detected lcore 11 as core 3 on socket 1
EAL: Detected lcore 12 as core 4 on socket 1
EAL: Detected lcore 13 as core 5 on socket 1
EAL: Detected lcore 14 as core 6 on socket 1
EAL: Detected lcore 15 as core 7 on socket 1
EAL: Detected lcore 16 as core 0 on socket 0
EAL: Detected lcore 17 as core 1 on socket 0
EAL: Detected lcore 18 as core 2 on socket 0
EAL: Detected lcore 19 as core 3 on socket 0
EAL: Detected lcore 20 as core 4 on socket 0
EAL: Detected lcore 21 as core 5 on socket 0
EAL: Detected lcore 22 as core 6 on socket 0
EAL: Detected lcore 23 as core 7 on socket 0
EAL: Detected lcore 24 as core 0 on socket 1
EAL: Detected lcore 25 as core 1 on socket 1
EAL: Detected lcore 26 as core 2 on socket 1
EAL: Detected lcore 27 as core 3 on socket 1
EAL: Detected lcore 28 as core 4 on socket 1
EAL: Detected lcore 29 as core 5 on socket 1
EAL: Detected lcore 30 as core 6 on socket 1
EAL: Detected lcore 31 as core 7 on socket 1
EAL: Support maximum 128 logical core(s) by configuration.
EAL: Detected 32 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Ask a virtual area of 0x7000 bytes
EAL: Virtual area found at 0x100000000 (size = 0x7000)
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: DPAA Bus not present. Skipping.
EAL: VFIO PCI modules not loaded
EAL: Selected IOVA mode 'PA'
EAL: Probing VFIO support...
EAL:   IOMMU type 1 (Type 1) is supported
EAL:   IOMMU type 7 (sPAPR) is not supported
EAL:   IOMMU type 8 (No-IOMMU) is not supported
EAL: VFIO support initialized
EAL: Ask a virtual area of 0x2e000 bytes
EAL: Virtual area found at 0x100007000 (size = 0x2e000)
EAL: Setting up physically contiguous memory...
EAL: Setting maximum number of open files to 4096
EAL: Detected memory type: socket_id:0 hugepage_sz:1073741824
EAL: Detected memory type: socket_id:1 hugepage_sz:1073741824
EAL: Creating 2 segment lists: n_segs:32 socket_id:0 hugepage_sz:1073741824
EAL: Ask a virtual area of 0x1000 bytes
EAL: Virtual area found at 0x100035000 (size = 0x1000)
EAL: Memseg list allocated: 0x100000kB at socket 0
EAL: Ask a virtual area of 0x800000000 bytes
EAL: Virtual area found at 0x140000000 (size = 0x800000000)
EAL: Ask a virtual area of 0x1000 bytes
EAL: Virtual area found at 0x940000000 (size = 0x1000)
EAL: Memseg list allocated: 0x100000kB at socket 0
EAL: Ask a virtual area of 0x800000000 bytes
EAL: Virtual area found at 0x980000000 (size = 0x800000000)
EAL: Creating 2 segment lists: n_segs:32 socket_id:1 hugepage_sz:1073741824
EAL: Ask a virtual area of 0x1000 bytes
EAL: Virtual area found at 0x1180000000 (size = 0x1000)
EAL: Memseg list allocated: 0x100000kB at socket 1
EAL: Ask a virtual area of 0x800000000 bytes
EAL: Virtual area found at 0x11c0000000 (size = 0x800000000)
EAL: Ask a virtual area of 0x1000 bytes
EAL: Virtual area found at 0x19c0000000 (size = 0x1000)
EAL: Memseg list allocated: 0x100000kB at socket 1
EAL: Ask a virtual area of 0x800000000 bytes
EAL: Virtual area found at 0x1a00000000 (size = 0x800000000)
EAL: TSC frequency is ~2100000 KHz
EAL: Master lcore 9 is ready (tid=7f1926c4ac00;cpuset=[9])
EAL: lcore 12 is ready (tid=7f192268b700;cpuset=[12])
EAL: lcore 25 is ready (tid=7f1920687700;cpuset=[25])
EAL: lcore 15 is ready (tid=7f1920e88700;cpuset=[15])
EAL: lcore 27 is ready (tid=7f191f685700;cpuset=[27])
EAL: lcore 29 is ready (tid=7f191e683700;cpuset=[29])
EAL: lcore 11 is ready (tid=7f1922e8c700;cpuset=[11])
EAL: lcore 26 is ready (tid=7f191fe86700;cpuset=[26])
EAL: lcore 14 is ready (tid=7f1921689700;cpuset=[14])
EAL: lcore 30 is ready (tid=7f191de82700;cpuset=[30])
EAL: lcore 10 is ready (tid=7f192368d700;cpuset=[10])
EAL: lcore 28 is ready (tid=7f191ee84700;cpuset=[28])
EAL: lcore 31 is ready (tid=7f191d681700;cpuset=[31])
EAL: lcore 13 is ready (tid=7f1921e8a700;cpuset=[13])
EAL: Trying to obtain current memory policy.
EAL: Setting policy MPOL_PREFERRED for socket 1
EAL: Restoring previous memory policy: 0
EAL: request: mp_malloc_sync
EAL: Heap on socket 1 was expanded by 1024MB
EAL: PCI device 0000:00:04.0 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:00:04.1 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:00:04.2 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:00:04.3 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:00:04.4 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:00:04.5 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:00:04.6 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:00:04.7 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:08:00.0 on NUMA socket 0
EAL:   probe driver: 8086:37d1 net_i40e
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:08:00.1 on NUMA socket 0
EAL:   probe driver: 8086:37d1 net_i40e
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:08:00.2 on NUMA socket 0
EAL:   probe driver: 8086:37d1 net_i40e
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:08:00.3 on NUMA socket 0
EAL:   probe driver: 8086:37d1 net_i40e
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:58:00.0 on NUMA socket 0
EAL:   probe driver: 8086:1583 net_i40e
EAL:   using IOMMU type 1 (Type 1)
EAL: Mem event callback 'vfio_mem_event_clb:(nil)' registered
EAL: Installed memory event callback for VFIO
EAL: VFIO reports MSI-X BAR as mappable
EAL:   PCI memory mapped at 0x2200000000
EAL: Ignore mapping IO port bar(1)
EAL:   PCI memory mapped at 0x2200800000
EAL: Ignore mapping IO port bar(4)
EAL: Trying to obtain current memory policy.
EAL: Setting policy MPOL_PREFERRED for socket 0
EAL: Restoring previous memory policy: 0
EAL: Calling mem event callback 'vfio_mem_event_clb:(nil)'
EAL: request: mp_malloc_sync
EAL: Heap on socket 0 was expanded by 1024MB
EAL: PCI device 0000:58:00.1 on NUMA socket 0
EAL:   probe driver: 8086:1583 net_i40e
EAL: VFIO reports MSI-X BAR as mappable
EAL:   PCI memory mapped at 0x2200808000
EAL: Ignore mapping IO port bar(1)
EAL:   PCI memory mapped at 0x2201008000
EAL: Ignore mapping IO port bar(4)
EAL: PCI device 0000:80:04.0 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:80:04.1 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:80:04.2 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:80:04.3 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:80:04.4 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:80:04.5 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:80:04.6 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:80:04.7 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:86:00.0 on NUMA socket 1
EAL:   probe driver: 15b3:1013 net_mlx5
EAL: Mem event callback 'MLX5_MEM_EVENT_CB:(nil)' registered
net_mlx5: DV flow is not supported
EAL: PCI device 0000:86:00.1 on NUMA socket 1
EAL:   probe driver: 15b3:1013 net_mlx5
net_mlx5: DV flow is not supported
EAL: PCI device 0000:af:00.0 on NUMA socket 1
EAL:   probe driver: 15b3:1019 net_mlx5
net_mlx5: DV flow is not supported
EAL: PCI device 0000:af:00.1 on NUMA socket 1
EAL:   probe driver: 15b3:1019 net_mlx5
net_mlx5: DV flow is not supported
APP: HPET is not enabled, using TSC as default timer
RTE>>malloc_autotest
test_str_to_size() passed
test_zero_aligned_alloc() passed
test_malloc_bad_params() passed
Unexpected - ptr4 != ptr3
test_realloc() failed
Test Failed
RTE>>

-- 
You are receiving this mail because:
You are the assignee for the bug.

                 reply	other threads:[~2020-03-26  0:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-424-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).