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 [thread overview]
Message-ID: <bug-1681-3@http.bugs.dpdk.org/> (raw)
[-- Attachment #1: Type: text/plain, Size: 2326 bytes --]
https://bugs.dpdk.org/show_bug.cgi?id=1681
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
===========
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
==================
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=vhost-net,queues=1,client=0' -- -i --nb-cores=1 --txd=1024
--rxd=1024
2. exit testpmd
note: Currently only reproduced on Anolis OS.
testpmd> quit
Results:
========
testpmd> quitStopping port 0...
Stopping ports...
DoneShutting down port 0...
Closing ports...
Port 0 is closed
DoneBye...
Segmentation fault (core dumped)
Expected Result:
================
Testpmd exits normally without core dumped.
bad commit:
===========
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
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #2: Type: text/html, Size: 4477 bytes --]
reply other threads:[~2025-03-25 2:40 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-1681-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.