OK, this is definitely just the fault of gtksourceview. It creates a GtkSourceCompletionContext object with a floating ref, but doesn't sink the ref until it wants to finalize it (using an unusual ref_sink/unref pair of calls).
Which means that when Python wants to create a wrapper Python object for the context, it naturally does a ref_sink/unref pair itself, which would work fine as a normal ref/unref pair if someone had already indicated they wanted to own it by sinking the ref themselves. But since the context floating ref was never sunk for some reason, the Python wrapper ends up freeing the object. This is an upstream bug too. I'll file a bug & patch and link here. But first an SRU. ** Package changed: gedit (Ubuntu) => gtksourceview3 (Ubuntu) ** Changed in: gtksourceview3 (Ubuntu) Status: Confirmed => Triaged -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/857707 Title: gedit crashed with SIGSEGV in g_type_get_qdata() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gtksourceview3/+bug/857707/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs