Calling Gio.DBusNodeInfo.unref results in segmentation fault
Submitted by Tony Asleson
Assigned to Nobody's working on this now (help wanted and appreciated)
Link to original bug (#741578)
Description
Trying to write a dbus service in python and I ran into a segmentation fault when calling Gio.DBusNodeInfo.unref.
Simplified example. reproduceable on 3.10.2 & 3.14.0
from gi.repository import Gio, GLib
xml = """
<node>
<method name="hello">
<arg type="s" name="greeting" direction="in">
</arg>
<arg type="s" name="response" direction="out">
</arg>
</method>
<property type="i" name="number" access="readwrite">
</property>
</interface>
</node>
"""
introspection_data = Gio.DBusNodeInfo.new_for_xml(xml) if introspection_data: Gio.DBusNodeInfo.unref(introspection_data)
Version: 2.42.x