On 10/2/20 4:11 AM, Michal Prívozník wrote:
On 10/1/20 7:52 PM, Cole Robinson wrote:
> I'm seeing failures building libvirt 6.8.0 rpm on fedora 32, 33, and
> rawhide. virsystemdtest is segfaulting on ppc64.
>
>
https://kojipkgs.fedoraproject.org//work/tasks/5494/52595494/build.log
>
Ah, I can reproduce on my x86 when I tell glib to make errors fatal:
G_DEBUG=fatal-warnings ./virsystemdtest
Hm, does this mean that we are using different settings when building in
a ppc64 environment? Or pPerhaps glib default settings are more restrictive
in ppc64 ....
Anyway, thanks for the quick fix!
DHB
and it looks like the problem is that g_dbus_connection_call_sync() consumes the message
parameters so transitively virGDBusCallMethod() consumes the mssage (the last argument)
and therefore we should not unref it afterwards. I'm testing a fix as we speak.
Michal