Re: [libvirt] [PATCH 1/3] util: fix crash in virClassIsDerivedFrom for CloseCallbacks objects

2016-06-09 Thread Maxim Nestratov
09.06.2016 15:23, Maxim Nestratov пишет: 09.06.2016 15:03, Peter Krempa пишет: On Mon, Jun 06, 2016 at 20:59:22 +0300, Maxim Nestratov wrote: There is a possibility that qemu driver frees by unreferencing its closeCallbacks pointer as it has the only reference to the object, while in fact not

Re: [libvirt] [PATCH 1/3] util: fix crash in virClassIsDerivedFrom for CloseCallbacks objects

2016-06-09 Thread Maxim Nestratov
09.06.2016 15:03, Peter Krempa пишет: On Mon, Jun 06, 2016 at 20:59:22 +0300, Maxim Nestratov wrote: There is a possibility that qemu driver frees by unreferencing its closeCallbacks pointer as it has the only reference to the object, while in fact not all users of CloseCallbacks called thier v

Re: [libvirt] [PATCH 1/3] util: fix crash in virClassIsDerivedFrom for CloseCallbacks objects

2016-06-09 Thread Peter Krempa
On Mon, Jun 06, 2016 at 20:59:22 +0300, Maxim Nestratov wrote: > There is a possibility that qemu driver frees by unreferencing its > closeCallbacks pointer as it has the only reference to the object, > while in fact not all users of CloseCallbacks called thier > virCloseCallbacksUnset. Do you hap

[libvirt] [PATCH 1/3] util: fix crash in virClassIsDerivedFrom for CloseCallbacks objects

2016-06-06 Thread Maxim Nestratov
There is a possibility that qemu driver frees by unreferencing its closeCallbacks pointer as it has the only reference to the object, while in fact not all users of CloseCallbacks called thier virCloseCallbacksUnset. Backtrace is the following: Thread #1: 0 in pthread_cond_wait@@GLIBC_2.3.2 () fr