From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
by inbox.dpdk.org (Postfix) with ESMTP id 79A1B46B41;
Fri, 11 Jul 2025 07:33:11 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
by mails.dpdk.org (Postfix) with ESMTP id 2069F402A9;
Fri, 11 Jul 2025 07:33:11 +0200 (CEST)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
by mails.dpdk.org (Postfix) with ESMTP id 170D940156
for ; Fri, 11 Jul 2025 07:33:09 +0200 (CEST)
Received: by inbox.dpdk.org (Postfix, from userid 33)
id 04B8946B42; Fri, 11 Jul 2025 07:33:08 +0200 (CEST)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK/examples Bug 1751] [dpdk24.07]
multiprocess_symmetric_mp_packet: exiting the symmetric_mp example results in
a core dump
Date: Fri, 11 Jul 2025 05:33:08 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: examples
X-Bugzilla-Version: 25.03
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: songx.jiale@intel.com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: dev@dpdk.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
op_sys bug_status bug_severity priority component assigned_to reporter
target_milestone
Message-ID:
Content-Type: multipart/alternative; boundary=17522119880.fab0.442705
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
MIME-Version: 1.0
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dev-bounces@dpdk.org
--17522119880.fab0.442705
Date: Fri, 11 Jul 2025 07:33:08 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
https://bugs.dpdk.org/show_bug.cgi?id=3D1751
Bug ID: 1751
Summary: [dpdk24.07] multiprocess_symmetric_mp_packet: exiting
the symmetric_mp example results in a core dump
Product: DPDK
Version: 25.03
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: examples
Assignee: dev@dpdk.org
Reporter: songx.jiale@intel.com
Target Milestone: ---
Environment
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
DPDK version: 9fe9c0b231c8da5435bfccb1963121b4277f961c version: dpdk25.07-r=
c3
OS: Ubuntu 24.04.2 LTS/6.8.0-60-generic
Compiler: gcc version 13.3.0
Hardware platform: Intel(R) Xeon(R) Platinum 8380 CPU @ 2.30GHz
NIC hardware: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connect=
ion
[8086:10fb] (rev 01)
NIC firmware:=20
driver: vfio-pci
kdriver: ixgbe-6.1.5
firmware-version: 0x000161bf
Test Setup
Steps to reproduce
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
1. compile dpdk
rm -rf x86_64-native-linuxapp-gcc
CC=3Dgcc meson -Denable_kmods=3DFalse -Dlibdir=3Dlib
-Dexamples=3D'multi_process/symmetric_mp' --default-library=3Dstatic
x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc
2. bind port to vfio-pci
./usertools/dpdk-devbind.py -b vfio-pci 0000:b1:00.0 0000:b1:00.1
3. start testpmd
the first process=EF=BC=9A
x86_64-native-linuxapp-gcc/examples/dpdk-symmetric_mp -l 1 -n 4 -a 0000:b1:=
00.0
-a 0000:b1:00.1 --file-prefix=3Ddpdk_3722445_20250711093937 --proc-typ=
e=3Dauto
-- -p 0x3 --num-procs=3D2 --proc-id=3D0
the secondary process=EF=BC=9A
x86_64-native-linuxapp-gcc/examples/dpdk-symmetric_mp -l 2 -n 4 -a 0000:b1:=
00.0
-a 0000:b1:00.1 --file-prefix=3Ddpdk_3722445_20250711093937 --proc-typ=
e=3Dauto
-- -p 0x3 --num-procs=3D2 --proc-id=3D1
4. exit the first process
^C
Results:=20
=3D=3D=3D=3D=3D=3D=3D=3D
^C
the first process=EF=BC=9A Exiting on signal 2Port 0: RX - 0, TX - 1, Drop =
- 0
Port 1: RX - 1, TX - 0, Drop - 0
APP: Close ports.
EAL: Error - exiting with code: 1
Error closing ports
EAL: failed to send to
(/var/run/dpdk/dpdk_3722445_20250711093937/mp_socket_794973_148a6526e3624d)=
due
to Bad file descriptor
EAL: Fail to send request
/var/run/dpdk/dpdk_3722445_20250711093937/mp_socket_794973_148a6526e3624d:m=
p_malloc_sync
EAL: Could not send sync request to secondary process=20
the secondary process=EF=BC=9A
EAL: Detected CPU lcores: 80
EAL: Detected NUMA nodes: 2
EAL: Auto-detected process type: SECONDARY
EAL: Detected static linkage of DPDK
EAL: Multi-process socket
/var/run/dpdk/dpdk_3722445_20250711093937/mp_socket_794279_148a2f16b62b59
EAL: Selected IOVA mode 'VA'
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
APP: Finished Process Init.
Lcore 2 using ports 0 1
lcore 2 using queue 1 of each port
Segmentation fault (core dumped)
Expected Result:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
exit the symmetric_mp example normally.
bad commit:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
commit 4382d58097b41d1e1229ce5fc2943994bf44bd83
Author: Maayan Kashani
Date: Tue Jul 8 10:09:54 2025 +0300
examples/multi_process: fix ports cleanup on exit
Device was started but not stopped on exit signal.
Added port stop and close on exit.
Fixes: af75078fece3 ("first public release")
Cc: stable@dpdk.org
Signed-off-by: Maayan Kashani
Acked-by: Anatoly Burakov
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--17522119880.fab0.442705
Date: Fri, 11 Jul 2025 07:33:08 +0200
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
Bug ID |
1751
|
Summary |
[dpdk24.07] multiprocess_symmetric_mp_packet: exiting the sym=
metric_mp example results in a core dump
|
Product |
DPDK
|
Version |
25.03
|
Hardware |
x86
|
OS |
Linux
|
Status |
UNCONFIRMED
|
Severity |
normal
|
Priority |
Normal
|
Component |
examples
|
Assignee |
dev@dpdk.org
|
Reporter |
songx.jiale@intel.com
|
Target Milestone |
---
|
You are receiving this mail because:
- You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
=
--17522119880.fab0.442705--