Bug 1124740
Summary: | create connection via virt-manager will crash the remote libvirtd | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | yanbing du <ydu> | ||||
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 6.6 | CC: | acathrow, dyuan, jtomko, mzhan, pkrempa, shyu, zhwang | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-07-30 08:43:11 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: | |||||||
Attachments: |
|
Description
yanbing du
2014-07-30 08:19:50 UTC
Created attachment 922456 [details]
libvirtd-crash.log
Relevant backtrace from the core dump: Thread 1 (Thread 0x7f192a742700 (LWP 32281)): #0 0x0000003a9d281461 in __strlen_sse2 () from /lib64/libc.so.6 #1 0x0000003a9d281176 in strdup () from /lib64/libc.so.6 #2 0x0000003768ea9eee in virDomainObjGetMetadata (vm=0x7f191c152d30, type=1, uri=0x0, caps=<value optimized out>, flags=0) at conf/domain_conf.c:16610 #3 0x000000000044f7f4 in qemuDomainGetMetadata (dom=0x7f18f406a5d0, type=1, uri=0x0, flags=0) at qemu/qemu_driver.c:14894 #4 0x0000003768f0155b in virDomainGetMetadata (domain=0x7f18f406a5d0, type=1, uri=0x0, flags=0) at libvirt.c:9623 #5 0x0000000000429e8c in remoteDispatchDomainGetMetadata (server=<value optimized out>, client=<value optimized out>, msg=<value optimized out>, rerr=0x7f192a741b80, args=0x7f18f40154a0, ret=0x7f18f4015480) at remote_dispatch.h:2218 #6 remoteDispatchDomainGetMetadataHelper (server=<value optimized out>, client=<value optimized out>, msg=<value optimized out>, rerr=0x7f192a741b80, args=0x7f18f40154a0, ret=0x7f18f4015480) at remote_dispatch.h:2191 #7 0x0000003768f44252 in virNetServerProgramDispatchCall (prog=0x1261480, server=0x1258a30, client=0x125c940, msg=0x125c540) at rpc/virnetserverprogram.c:431 #8 virNetServerProgramDispatch (prog=0x1261480, server=0x1258a30, client=0x125c940, msg=0x125c540) at rpc/virnetserverprogram.c:304 #9 0x0000003768f44eee in virNetServerProcessMsg (srv=<value optimized out>, client=0x125c940, prog=<value optimized out>, msg=0x125c540) at rpc/virnetserver.c:170 #10 0x0000003768f4558c in virNetServerHandleJob (jobOpaque=<value optimized out>, opaque=0x1258a30) at rpc/virnetserver.c:191 #11 0x0000003768e64b0c in virThreadPoolWorker (opaque=<value optimized out>) at util/threadpool.c:144 #12 0x0000003768e643f9 in virThreadHelper (data=<value optimized out>) at util/threads-pthread.c:161 #13 0x0000003a9d6079d1 in start_thread () from /lib64/libpthread.so.0 ---Type <return> to continue, or q <return> to quit--- #14 0x0000003a9d2e8ccd in ?? () from /lib64/libc.so.6 #15 0x0000000000000000 in ?? () This was already fixed as a part of the original backport but the build wasn't done yet. commit 7705900c436f9f8391ed9517db5c54feca375789 Author: Peter Krempa <pkrempa> Date: Thu Jul 17 14:50:39 2014 +0200 conf: Fix backport of metadata API code https://bugzilla.redhat.com/show_bug.cgi?id=1115039 RHEL-only, problems introduced in backport The clang checker found a few issues introduced by the backports of the metadata code. As the code is already in dist-git this patch fixes up the problems pointed out by Clang: 1) few possible strdup()'s of NULL argument 2) false positive as Clang considered the def local variable in virDomainObjGetMetadata as uninitialized Signed-off-by: Jiri Denemark <jdenemar> *** This bug has been marked as a duplicate of bug 1115039 *** |