GNOME Bugzilla – Bug 670061
gedit crashed with SIGABRT: (tp != NULL)
Last modified: 2019-03-23 20:57:20 UTC
Original Report: https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/917344 This may be an issue in gedit-developer-plugins or a another enabled plugin because I have seen similar issues recently that relate to pygobject message I see in the terminal: TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases ** ERROR:/build/buildd/pygobject-3.0.3/gi/_gobject/pygobject.c:929:pygobject_new_full: assertion failed: (tp != NULL) I used GDPFind to locate text in a file, I clicked the matching row to open the file. The file happen to already be open, I expected the cursor to move the the proper line. I saw the TypeError: metaclass conflict: in the terminal, then gedit crashed. PS. GDP does not set __metaclass__. Most classes inherit from object or a GObject class. DistroRelease: Ubuntu 12.04 Package: gedit 3.3.2-0ubuntu1
+ Trace 229665
See similar issue for rhythmbox - https://bugzilla.gnome.org/show_bug.cgi?id=661957
This is not a bug in gedit. The issue was caused by a chain of python imports in the set of plugins I was running. This specific problem was cause by bzr-dbus and bzr-notify both of which had fallback conditions to import from old gtk or old gobject. I located the problem imports by placing a pdb debug statement before the assert in both the gtk and gobject gi modules. I then recreated the failure to view the true stacktrace