Bug 1447548
Summary: | Qemu core dump when do device_add. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | CongLi <coli> |
Component: | qemu-kvm-rhev | Assignee: | Markus Armbruster <armbru> |
Status: | CLOSED DUPLICATE | QA Contact: | CongLi <coli> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.4 | CC: | aliang, armbru, chayang, coli, juzhang, knoel, lprosek, michen, qzhang, virt-maint, xuwei |
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-05-10 07:07:38 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: |
Description
CongLi
2017-05-03 06:54:50 UTC
Two quick questions: 1. Can you reproduce with a "file" backend rather than "iscsi"? 2. Can you reproduce with -S? (In reply to Markus Armbruster from comment #4) > Two quick questions: > > 1. Can you reproduce with a "file" backend rather than "iscsi"? > > 2. Can you reproduce with -S? Hi Markus, I only met this issue once and I still can not reproduce this issue over 50 times, also with a 'file' backend or '-S'. But there is a similar bug which has a stable reproducer. Bug 1449031 - qemu core dump when hot-unplug/hot-plug scsi controller in turns Could you please confirm whether it's a dup? Thanks. Thanks for the pointer to bug 1449031! I figure this is indeed a duplicate of bug 1449031, because 1. The top of the stack backtrace is identical. Then it diverges, but the two variants are similar: both are device realization on behalf of QMP device_add. 2. The reproducers are both about unplugging and re-plugging a virtio-blk device. If we could reproduce this bug, I'd like us to verify the fix for bug 1449031 also fixes this one, but right now we're not having any luck with reproducing it. *** This bug has been marked as a duplicate of bug 1449031 *** The problem, at least the one we're aware of, is in virtio-scsi and virtio-serial. If this BZ is a duplicate of bug 1449031, there must have been a hot-unplug of either of these device prior to steps 2. - 4. in comment 0. If this crash can be reproduced with virtio-blk only, it is definitely a separate bug. In general, as of commit c611c764, virtio devices must have their ref-counts done right so that virtio_device_instance_finalize runs and unregisters the memory listener before the underlying memory disappears. Any ref-counting issue will likely lead to a crash similar to this one. |