Re: [libvirt] [PATCH 3/5] tests: avoid segfault if json monitor not present

2013-02-25 Thread Michal Privoznik
On 23.02.2013 00:09, Eric Blake wrote: > On a machine without json headers, I was seeing random segfaults > from qemumonitorjsontest (about 90% of the runs on my particular > machine). The segfault was inside virClassIsDerivedFrom, which > points to a case of a race leading to unreferencing a stal

[libvirt] [PATCH 3/5] tests: avoid segfault if json monitor not present

2013-02-22 Thread Eric Blake
On a machine without json headers, I was seeing random segfaults from qemumonitorjsontest (about 90% of the runs on my particular machine). The segfault was inside virClassIsDerivedFrom, which points to a case of a race leading to unreferencing a stale pointer to an object that had already been fr