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

Re: [libvirt] libvirt sgefaults upon ctrl-c



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 redhat com>
> Date:   Wed Jul 11 14:35:52 2012 +0100

In which case, it is probably fixed here:

commit 411859278650b331fa4f06d52bee0aa8c0001ce5
Author: Guannan Ren <gren redhat com>
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 redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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