Bug 727071
Summary: | libvirtd crashes if client quits unexpectedly | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Wen Congyang <wency> | ||||||
Component: | libvirt | Assignee: | Eric Blake <eblake> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 6.2 | CC: | ajia, dallan, dyuan, mzhan, rwu, veillard, whuang, ydu | ||||||
Target Milestone: | rc | ||||||||
Target Release: | 6.2 | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | libvirt-0.9.4-0rc1.2.el6 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2011-12-06 11:18:19 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Wen Congyang
2011-08-01 09:18:44 UTC
Eric, is this being discussed upstream? Upstream mention: https://www.redhat.com/archives/libvir-list/2011-August/msg00013.html The reason is that: In the function virNetServerClientClose(), we set client->sock to NULL while we still use it. Reproduced this bug with libvirt-0.9.4-0rc2.el6 and verified pass with libvirt-0.9.4-0rc1.2.el6. Tested with libvirt-0.9.4-7.el6, the libvirtd crash with the step in bug description. Re-check with libvirt-0.9.4-0rc1.2.el6, the libvirtd still crash. Please ignore the comment 7 and comment 9, the libvirtd will crash in few seconds but not at once, seems I get the conclusion too hurriedly at that time. Created attachment 520791 [details]
libvirtd.log when the libvirtd crashed
Can you retest with libvirt-0.9.4-12.el6? Created attachment 524307 [details]
error log in libvirtd.log
Retest with libvirt-0.9.4-12.el6.x86_64, libvirtd will not crash, but there's some error messages logged in libvirtd.log.
That sounds normal. Some of it seems to be because the max number of clients (20) wasn't raised in libvirtd conf before the test. The cgroup messages are completely unrelated to this bug. The behaviour sounds normal, now, the bug is fixed IMHO, Daniel Move it to VERIFIED per Comment 13 and Comment 14. 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. http://rhn.redhat.com/errata/RHBA-2011-1513.html |