On 11.07.2018 22:15, Paolo Bonzini wrote: [...] > I think you're on the right track, after object_property_add_child you > need to drop the reference to the object.
Yes, that's the issue indeed! The child objects get properly cleaned up once I add the object_unref() after the object_property_add_child(), and then the crash does not occur anymore. I'll check the other spots, then I'll write a patch... Thomas