Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1396294

Summary: segfault in ovs thread when using more than one VM
Product: Red Hat Enterprise Linux 7 Reporter: Andrew Theurer <atheurer>
Component: openvswitchAssignee: Kevin Traynor <ktraynor>
Status: CLOSED INSUFFICIENT_DATA QA Contact: ovs-qe
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.3CC: atheurer, atragler, fleitner, rkhan
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-17 18:02:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
log file for ovs-vswitchd none

Description Andrew Theurer 2016-11-17 21:57:59 UTC
Created attachment 1221652 [details]
log file for ovs-vswitchd

Description of problem:

When starting testpmd in a VM, one of the threads from ovs-vswitchd segfaults with:

[ 4535.253497] vhost_thread2[4613]: segfault at 18 ip 00007fe9e07a9af0 sp 00007fe9d1ee0638 error 4 in ovs-vswitchd[7fe9e06c9000+319000]


Version-Release number of selected component (if applicable):
RHEL7.3
openvswitch-2.5.0-14.git20160727.el7fdp

How reproducible:


Steps to Reproduce:
Configure ovs with the following:

ovsbr0:
dpdk0
vhost-user-1

ovsbr1:
dpdk1
vhostuser-2
vhostuser-3

Create 5 PMD threads, 1 for each port.
create vm1 with 2 vhostuser ports, vhost-user1 and vhost-user-2
create vm2 with 1 vhostuser ports, vhost-user-3
start both VMs
on vm2, bring up the interface with kernel driver (virtio)
on vm1, run testpmd on the two vhostuser interfaces

Actual results:

Once vm1 starts testpmd, the segfault will happen in the host.  If vm2 is not started, the segfault will not happen.

Expected results:

There should be no segfault

Additional info:

Comment 2 Flavio Leitner 2016-11-18 18:09:50 UTC
Kevin,
This might be related to your other vhost fixes.

Comment 3 Kevin Traynor 2016-12-05 22:14:15 UTC
Can you test with openvswitch-2.5.0-23.git20160727.el7fdb

https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=526711