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 1457170 - virt-manager segment fault when creating a new dir pool
Summary: virt-manager segment fault when creating a new dir pool
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-manager
Version: 7.4
Hardware: x86_64
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Pavel Hrdina
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 1472894 (view as bug list)
Depends On:
Blocks: 1456511 1469590 1473046
TreeView+ depends on / blocked
 
Reported: 2017-05-31 09:00 UTC by Xiaodai Wang
Modified: 2018-04-10 11:42 UTC (History)
9 users (show)

Fixed In Version: virt-manager-1.4.2-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-10 11:40:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
virt-maanger debug log (11.13 KB, text/plain)
2017-05-31 09:02 UTC, Xiaodai Wang
no flags Details
core dump log (111.52 KB, text/plain)
2017-05-31 09:03 UTC, Xiaodai Wang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:0726 0 None None None 2018-04-10 11:42:12 UTC

Description Xiaodai Wang 2017-05-31 09:00:15 UTC
Description of problem:
virt-manager segment fault when creating a new dir pool

Version-Release number of selected component (if applicable):
virt-manager-1.4.1-5.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. Create a new dir pool (type a new name and leave all others by default).

Actual results:
virt-manager segment fault when creating a new dir pool

Expected results:
virt-manager should not segment fault.

Additional info:
1. The pool in step 1 has been created successfully when re-openning virt-manager.
2. This problem doesn't happen in virt-manager-1.4.1-4.el7.noarch.

Comment 2 Xiaodai Wang 2017-05-31 09:02:42 UTC
Created attachment 1283669 [details]
virt-maanger debug log

Comment 3 Xiaodai Wang 2017-05-31 09:03:42 UTC
Created attachment 1283670 [details]
core dump log

Comment 5 Pavel Hrdina 2017-06-01 14:58:39 UTC
I'm not able to reproduce it, could you please provide the core itself?

Comment 8 zhoujunqin 2017-06-12 10:03:42 UTC
Hi Pavel,
I can also reproduce this bug when i created dir/netfs type pool.
Host: Snapshot-3.0 (Select 'GUI' and selected 'Virtualization* add-on package)

Package version:
virt-manager-1.4.1-7.el7.noarch
libvirt-3.2.0-9.el7.x86_64
qemu-kvm-rhev-2.9.0-9.el7.x86_64
libvirt-python-3.2.0-3.el7.x86_64

Please help have a look, thanks.

Comment 11 Cole Robinson 2017-07-20 21:13:33 UTC
*** Bug 1472894 has been marked as a duplicate of this bug. ***

Comment 13 Pavel Hrdina 2017-08-09 12:17:23 UTC
Upstream commit:

commit 5cffae0c684b3331e3631c0c0d43450caf8dc6ae
Author: Cole Robinson <crobinso>
Date:   Mon Jul 17 16:21:13 2017 -0400

    connection: Fix virt-manager UI cache_new_pool impl

Comment 15 zhoujunqin 2017-09-14 10:52:30 UTC
I can reproduce it with package:
virt-manager-1.4.1-5.el7.noarch

Then try to verify it with package:
virt-manager-1.4.2-1.el7.noarch

Steps:
1. Launch virt-manager: #virt-manager.	
2. Click Edit->Connection Details.	
3. Click Storage tab on Host Details dialogue.	
4. Click Add pool button.	
5. Fill out pool name and select the type 'dir', then click Forward button.	
6. Leave all others as default setting.
7. Click Finish button.

Result:
1. dir-pool can be created correctly and added on left storage list and virt-manager works well
3. virt-manager also works well when i created other types of pools, such as disk, netfs and rbd.

So move this bug from ON_QA to VERIFIED, thanks.

Comment 18 errata-xmlrpc 2018-04-10 11:40:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:0726


Note You need to log in before you can comment on or make changes to this bug.