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.
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
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