All of lore.kernel.org
 help / color / mirror / Atom feed
* [DPDK/vhost/virtio Bug 1681] [dpdk-25.03] loopback_multi_paths_port_restart: core dumped occurred when exiting testpmd
@ 2025-03-25  2:40 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2025-03-25  2:40 UTC (permalink / raw)
  To: dev

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-03-25  2:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-25  2:40 [DPDK/vhost/virtio Bug 1681] [dpdk-25.03] loopback_multi_paths_port_restart: core dumped occurred when exiting testpmd bugzilla

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.