Re: [libvirt] [PATCH]daemon: Fix a crash during virNetlinkEventServiceStopAll

2019-06-11 Thread Haitaoliu
Thank you for reminding me of that comment.  Please ignore this patch, for the comments are inaccurate. I will send it again with  steps to reproduce  the bug. On 2019/6/11 09:39, Laine Stump wrote: On 6/10/19 2:15 AM, Liu Haitao wrote: The virNetlinkEventServiceStopAll() should be executed

Re: [libvirt] [PATCH]daemon: Fix a crash during virNetlinkEventServiceStopAll

2019-06-10 Thread Laine Stump
On 6/10/19 2:15 AM, Liu Haitao wrote: The virNetlinkEventServiceStopAll() should be executed behind virStateCleanup(), for some important resources like(static virNetlinkEventSrvPrivatePtr server) are freed unexpected. However virStateCleanup() need to use this variable(server). The call trace

[libvirt] [PATCH]daemon: Fix a crash during virNetlinkEventServiceStopAll

2019-06-10 Thread Liu Haitao
The virNetlinkEventServiceStopAll() should be executed behind virStateCleanup(), for some important resources like(static virNetlinkEventSrvPrivatePtr server) are freed unexpected. However virStateCleanup() need to use this variable(server). The call trace of virNetlinkEventServiceStopAll: