Re: [Spice-devel] [PATCH 1/2 v3] remove dangling pointer for RedCharDeviceVDIPort

2016-05-06 Thread Victor Toso
Hi, On Fri, May 06, 2016 at 05:58:19AM -0400, Frediano Ziglio wrote: > > > > Hey, > > > > On Thu, May 05, 2016 at 05:03:58PM +0100, Frediano Ziglio wrote: > > > When a client disconnects remove it from the list of clients connected > > > to the spice char-device. > > > > > > This was caused by c

Re: [Spice-devel] [PATCH 1/2 v3] remove dangling pointer for RedCharDeviceVDIPort

2016-05-06 Thread Frediano Ziglio
> > Hey, > > On Thu, May 05, 2016 at 05:03:58PM +0100, Frediano Ziglio wrote: > > When a client disconnects remove it from the list of clients connected > > to the spice char-device. > > > > This was caused by commit 1cec1c5118b65124de6bc6f984f376ff4e297bfb > > ("reds: Make VDIPortState a GObject

Re: [Spice-devel] [PATCH 1/2 v3] remove dangling pointer for RedCharDeviceVDIPort

2016-05-06 Thread Victor Toso
Hey, On Thu, May 05, 2016 at 05:03:58PM +0100, Frediano Ziglio wrote: > When a client disconnects remove it from the list of clients connected > to the spice char-device. > > This was caused by commit 1cec1c5118b65124de6bc6f984f376ff4e297bfb > ("reds: Make VDIPortState a GObject") as the lifespan

[Spice-devel] [PATCH 1/2 v3] remove dangling pointer for RedCharDeviceVDIPort

2016-05-05 Thread Frediano Ziglio
When a client disconnects remove it from the list of clients connected to the spice char-device. This was caused by commit 1cec1c5118b65124de6bc6f984f376ff4e297bfb ("reds: Make VDIPortState a GObject") as the lifespan of RedCharDevice was changed. This could be reproduced with: - start rhel7 mach