Crash when passing a string containing surrogates as a property
Using Python 3:
>>> from gi.repository import Gst
>>> Gst.init(None)
>>> a = Gst.ElementFactory.make("filesrc", "source")
>>> a.set_property("location", "\ud83d")
zsh: segmentation fault python3
It shouldn't crash at least.