Re: libvirt sgefaults upon ctrl-c

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

 



On 08/08/2012 01:45 PM, Stefan Berger wrote:
> On 08/08/2012 03:00 PM, Eric Blake wrote:
>> Set LIBVIRT_AUTOSTART=0 when running test suites I don't see how that
>> patch can affect libvirtd, since it only touched tests/Makefile.am and
>> has no impact on libvirtd itself. 
> Indeed, the problem happens here:
> 
> commit 958499b0c12072e36d20effeddf4a400d9919bb8
> Author: Daniel P. Berrange <berrange@xxxxxxxxxx>
> Date:   Wed Jul 11 14:35:52 2012 +0100

In which case, it is probably fixed here:

commit 411859278650b331fa4f06d52bee0aa8c0001ce5
Author: Guannan Ren <gren@xxxxxxxxxx>
Date:   Wed Aug 8 17:32:22 2012 +0800

    rpc: fix a virObject typo error in struct _virNetServer

    This typo will crash libvirtd when it recevies signal SIGINT

diff --git a/src/rpc/virnetserver.c b/src/rpc/virnetserver.c
index a1ea038..15abb56 100644
--- a/src/rpc/virnetserver.c
+++ b/src/rpc/virnetserver.c
@@ -64,7 +64,7 @@ struct _virNetServerJob {
 };

 struct _virNetServer {
-    virObjectPtr object;
+    virObject object;

     virMutex lock;


-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]