Re: [PATCH] xen_xm: Fix SIGSEGV in xenXMDomainDefineXML

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 06, 2012 at 12:50:47 +0100, Philipp Hahn wrote:
> On CentOS5 with xen-3.0.3:
> 
>  Program received signal SIGSEGV, Segmentation fault.
>  virFree (ptrptr=0x8) at util/memory.c:310
>  310         free(*(void**)ptrptr);
>  (gdb) bt
>  #0  virFree (ptrptr=0x8) at util/memory.c:310
>  #1  0x00002aaaaae167c8 in xenXMDomainDefineXML (conn=0x694e80, xml=0x6b2ce0 "P\fk") at xen/xm_internal.c:1199
>  #2  0x00002aaaaae070d7 in xenUnifiedDomainDefineXML (conn=0x8,
>      xml=0x6ac040 "<domain type='xen'>\n  <name>pv</name>\n  <uuid>20291bc0-453a-4d6c-c6ac-4e5af63b932c</uuid>\n  <memory>1048576</memory>\n  <currentMemory>1048576</currentMemory>\n  <vcpu>1</vcpu>\n  <os>\n    <type arch='x8"...) at xen/xen_driver.c:1524
>  #3  0x00002aaaaada7803 in virDomainDefineXML (conn=0x694e80,
>      xml=0x6ac040 "<domain type='xen'>\n  <name>pv</name>\n  <uuid>20291bc0-453a-4d6c-c6ac-4e5af63b932c</uuid>\n  <memory>1048576</memory>\n  <currentMemory>1048576</currentMemory>\n  <vcpu>1</vcpu>\n  <os>\n    <type arch='x8"...) at libvirt.c:7823
>  #4  0x0000000000426173 in cmdEdit (ctl=0x7fffffffb8e0, cmd=<value optimized out>) at virsh.c:14882
>  #5  0x000000000041c9ce in vshCommandRun (ctl=0x7fffffffb8e0, cmd=0x658c50) at virsh.c:17712
>  #6  0x000000000042c3b9 in main (argc=1, argv=<value optimized out>) at virsh.c:19317
> 
> Signed-off-by: Philipp Hahn <hahn@xxxxxxxxxxxxx>
> ---
>  src/xen/xm_internal.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)

ACK and pushed, thanks.

Jirka

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]