Bug 1869952
Summary: | qemu crashed when hotplug/unplug many(200) disks with error fdmon_poll_wait: Assertion `npfd == 0' failed | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | qing.wang <qinwang> |
Component: | qemu-kvm | Assignee: | Stefan Hajnoczi <stefanha> |
qemu-kvm sub component: | virtio-blk,scsi | QA Contact: | qing.wang <qinwang> |
Status: | CLOSED CURRENTRELEASE | Docs Contact: | |
Severity: | high | ||
Priority: | high | CC: | areis, coli, jinzhao, juzhang, qzhang, smitterl, virt-maint |
Version: | unspecified | ||
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: | 2021-09-10 08:55:28 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1897025, 1948358 |
Description
qing.wang
2020-08-19 05:49:02 UTC
#0 0x00007fe22227f7ff in raise () at /lib64/libc.so.6 #1 0x00007fe222269c35 in abort () at /lib64/libc.so.6 #2 0x00007fe222269b09 in _nl_load_domain.cold.0 () at /lib64/libc.so.6 #3 0x00007fe222277de6 in .annobin_assert.c_end () at /lib64/libc.so.6 #4 0x00005594c502c8eb in fdmon_poll_wait (ctx=<optimized out>, ready_list=<optimized out>, timeout=<optimized out>) at /usr/src/debug/qemu-kvm-5.1.0-0.module+el8.3.0+7648+42900458.x86_64/util/fdmon-poll.c:65 #5 0x00005594c502cb31 in fdmon_epoll_wait (ctx=0x5594c5f912a0, ready_list=0x7ffe2e915ea0, timeout=<optimized out>) at /usr/src/debug/qemu-kvm-5.1.0-0.module+el8.3.0+7648+42900458.x86_64/util/fdmon-epoll.c:69 #6 0x00005594c502bf8e in aio_poll (ctx=ctx@entry=0x5594c5f912a0, blocking=blocking@entry=true) at /usr/src/debug/qemu-kvm-5.1.0-0.module+el8.3.0+7648+42900458.x86_64/util/aio-posix.c:600 #7 0x00005594c4fab70d in bdrv_run_co (opaque=<optimized out>, entry=0x5594c4fadcc0 <bdrv_flush_co_entry>, bs=0x5594c8670400) at /usr/src/debug/qemu-kvm-5.1.0-0.module+el8.3.0+7648+42900458.x86_64/block/io.c:922 #8 0x00005594c4fab70d in bdrv_run_co (bs=0x5594c8670400, entry=0x5594c4fadcc0 <bdrv_flush_co_entry>, opaque=<opti--Type <RET> for more, q to quit, c to continue without paging-- mized out>) at /usr/src/debug/qemu-kvm-5.1.0-0.module+el8.3.0+7648+42900458.x86_64/block/io.c:910 #9 0x00005594c4f65114 in bdrv_close (bs=0x5594c8670400) at /usr/src/debug/qemu-kvm-5.1.0-0.module+el8.3.0+7648+42900458.x86_64/block.c:4383 #10 0x00005594c4f65114 in bdrv_delete (bs=<optimized out>) at /usr/src/debug/qemu-kvm-5.1.0-0.module+el8.3.0+7648+42900458.x86_64/block.c:4629 #11 0x00005594c4f65114 in bdrv_unref (bs=0x5594c8670400) at /usr/src/debug/qemu-kvm-5.1.0-0.module+el8.3.0+7648+42900458.x86_64/block.c:5966 #12 0x00005594c4e061a5 in qmp_blockdev_del (node_name=<optimized out>, errp=errp@entry=0x7ffe2e915f88) at /usr/src/debug/qemu-kvm-5.1.0-0.module+el8.3.0+7648+42900458.x86_64/blockdev.c:3541 #13 0x00005594c4f23db0 in qmp_marshal_blockdev_del (args=<optimized out>, ret=<optimized out>, errp=0x7ffe2e915fe8) at qapi/qapi-commands-block-core.c:1143 #14 0x00005594c4fe9fe0 in qmp_dispatch (cmds=0x5594c5877920 <qmp_commands coredump file: http://fileshare.englab.nay.redhat.com/pub/section2/images_backup/qbugs/1869952/2020-08-19-0327/ Stefan - assign direct to you since you added commit 1f050a4690f for fdmon_poll_wait Thanks for reporting this bug. When fdmon_poll upgrades to fdmon_epoll the npfd counter is not reset. This causes an assertion failure next time fdmon_poll_wait() executes. I will send a fix. Bulk update: Move RHEL-AV bugs to RHEL9. If necessary to resolve in RHEL8, then clone to the current RHEL8 release. |