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 1994194 - Qemu Core Dumped When Creating Snapshot Bases on '' Backing File
Summary: Qemu Core Dumped When Creating Snapshot Bases on '' Backing File
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: qemu-kvm
Version: 8.0
Hardware: x86_64
OS: All
medium
medium
Target Milestone: beta
: ---
Assignee: Kevin Wolf
QA Contact: Tingting Mao
URL:
Whiteboard:
Depends On: 1997410
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-17 02:47 UTC by Tingting Mao
Modified: 2021-12-07 22:45 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-17 06:05:40 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-93849 0 None None None 2021-08-17 14:20:28 UTC

Description Tingting Mao 2021-08-17 02:47:45 UTC
Description of problem:
As subject.


Version-Release number of selected component (if applicable):
qemu-kvm-4.2.0-57.module+el8.5.0+12118+4998563d
kernel-4.18.0-330.el8.x86_64


How reproducible:
100%


Steps to Reproduce:
# qemu-img create -f qcow2 -b '' /home/foo
qemu-img: block.c:6024: bdrv_img_create: Assertion `full_backing' failed.
Aborted (core dumped)


Actual results:
As above, qemu core dumped.


Expected results:
Should list the hint message like below instead of core dumped.
# qemu-img create -f qcow2 -b '' foo
qemu-img: foo: Expected backing file name, got empty string


Additional info:
(gdb) bt
#0  0x00007fec2eb5237f in raise () from /lib64/libc.so.6
#1  0x00007fec2eb3cdb5 in abort () from /lib64/libc.so.6
#2  0x00007fec2eb3cc89 in __assert_fail_base.cold.0 () from /lib64/libc.so.6
#3  0x00007fec2eb4aa76 in __assert_fail () from /lib64/libc.so.6
#4  0x000055e328150b63 in bdrv_img_create (filename=0x7ffe75770342 "/home/foo", fmt=0x7ffe75770338 "qcow2", base_filename=<optimized out>, 
    base_fmt=<optimized out>, options=<optimized out>, img_size=<optimized out>, flags=0, quiet=false, errp=0x7ffe7576f000) at block.c:6024
#5  0x000055e32813c540 in img_create (argc=6, argv=0x7ffe7576f170) at qemu-img.c:574
#6  0x000055e32813ae1d in main (argc=6, argv=<optimized out>) at qemu-img.c:5385

Comment 1 Tingting Mao 2021-08-17 02:53:06 UTC
This issue was fixed in RHELAV, refer to Bug 1809553, please.

Comment 2 Kevin Wolf 2021-08-19 11:06:39 UTC
We're planning to rebase the qemu-kvm package for 8.6, so we'll get this automatically.

Comment 6 Tingting Mao 2021-09-17 06:05:40 UTC
Verified this bug as below.


Tested with:
qemu-kvm-6.1.0-1.module+el8.6.0+12648+6ede71a5
kernel-4.18.0-339.el8.x86_64


Steps:
# qemu-img create -f qcow2 -b '' /home/foo
qemu-img: /home/foo: Expected backing file name, got empty string


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