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 F16504646E;
Tue, 25 Mar 2025 03:40:16 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
by mails.dpdk.org (Postfix) with ESMTP id DC27040B9C;
Tue, 25 Mar 2025 03:40:16 +0100 (CET)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
by mails.dpdk.org (Postfix) with ESMTP id 31B47402E2
for ; Tue, 25 Mar 2025 03:40:15 +0100 (CET)
Received: by inbox.dpdk.org (Postfix, from userid 33)
id 1F8AF46470; Tue, 25 Mar 2025 03:40:15 +0100 (CET)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK/vhost/virtio Bug 1681] [dpdk-25.03]
loopback_multi_paths_port_restart: core dumped occurred when exiting testpmd
Date: Tue, 25 Mar 2025 02:40:14 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: vhost/virtio
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=17428704140.a92aaAf.138103
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://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
--17428704140.a92aaAf.138103
Date: Tue, 25 Mar 2025 03:40:14 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
https://bugs.dpdk.org/show_bug.cgi?id=3D1681
Bug ID: 1681
Summary: [dpdk-25.03] loopback_multi_paths_port_restart: core
dumped occurred when exiting testpmd
Product: DPDK
Version: 25.03
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: vhost/virtio
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: 5f37ee9c859f3ce08ca4364f1d8c0e70ec33ac83 version: 25.03.0-rc2
OS: Anolis OS 8.9/5.10.134-16.2.an8.x86_64
Compiler: gcc version 8.5.0 20210514
Hardware platform: Intel(R) Xeon(R) Gold 6139 CPU @ 2.30GHz
NIC hardware: N/A
NIC firmware: N/A
Test Setup
Steps to reproduce
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
1. start testpmd with vhost-net
x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 3-5 -n 4 --no-pci --vdev
'net_vhost0,iface=3Dvhost-net,queues=3D1,client=3D0' -- -i --nb-cores=3D1 -=
-txd=3D1024
--rxd=3D1024
2. exit testpmd
note: Currently only reproduced on Anolis OS.
testpmd> quit
Results:=20
=3D=3D=3D=3D=3D=3D=3D=3D
testpmd> quitStopping port 0...
Stopping ports...
DoneShutting down port 0...
Closing ports...
Port 0 is closed
DoneBye...
Segmentation fault (core dumped)
Expected Result:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Testpmd exits normally without core dumped.
bad commit:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
commit 0e38b42bf61c03b9350f3c96fa421c2c28e815cc
Author: David Marchand
Date: Tue Jun 11 15:39:57 2024 +0200
vhost: manage FD with epoll
Switch to epoll so that the concern over the poll() fd array
is removed.
Add a simple list of used entries and track the next free entry.
epoll() is thread safe, we no more need a synchronization
mechanism and so can remove the notification pipe.
Signed-off-by: David Marchand
Signed-off-by: Maxime Coquelin
Acked-by: David Marchand
lib/vhost/fd_man.c | 439 +++++++++++++++++--------------------------------=
----
lib/vhost/fd_man.h | 5 +-
2 files changed, 144 insertions, 300 deletions
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--17428704140.a92aaAf.138103
Date: Tue, 25 Mar 2025 03:40:14 +0100
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
[dpdk-25.03] loopback_multi_paths_port_restart: core dumped o=
ccurred when exiting testpmd
Product
DPDK
Version
25.03
Hardware
All
OS
All
Status
UNCONFIRMED
Severity
normal
Priority
Normal
Component
vhost/virtio
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: 5f37ee9c859f3ce08ca4364f1d8c0e70ec33ac83 version: 25.03.0-rc2
OS: Anolis OS 8.9/5.10.134-16.2.an8.x86_64
Compiler: gcc version 8.5.0 20210514
Hardware platform: Intel(R) Xeon(R) Gold 6139 CPU @ 2.30GHz
NIC hardware: N/A
NIC firmware: N/A
Test Setup
Steps to reproduce
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
1. start testpmd with vhost-net
x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 3-5 -n 4 --no-pci --vdev
'net_vhost0,iface=3Dvhost-net,queues=3D1,client=3D0' -- -i --nb-cores=3D1 -=
-txd=3D1024
--rxd=3D1024
2. exit testpmd
note: Currently only reproduced on Anolis OS.
testpmd> quit
Results:=20
=3D=3D=3D=3D=3D=3D=3D=3D
testpmd> quitStopping port 0...
Stopping ports...
DoneShutting down port 0...
Closing ports...
Port 0 is closed
DoneBye...
Segmentation fault (core dumped)
Expected Result:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Testpmd exits normally without core dumped.
bad commit:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
commit 0e38b42bf61c03b9350f3c96fa421c2c28e815cc
Author: David Marchand <david.marchand@redhat.com>
Date: Tue Jun 11 15:39:57 2024 +0200
vhost: manage FD with epoll
Switch to epoll so that the concern over the poll() fd array
is removed.
Add a simple list of used entries and track the next free entry.
epoll() is thread safe, we no more need a synchronization
mechanism and so can remove the notification pipe.
Signed-off-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: David Marchand <david.marchand@redhat.com>
lib/vhost/fd_man.c | 439 +++++++++++++++++--------------------------------=
----
lib/vhost/fd_man.h | 5 +-
2 files changed, 144 insertions, 300 deletions