← Back to team overview

desktop-packages team mailing list archive

[Bug 917344] Re: gedit crashed with SIGABRT in g_assertion_message()

 

I use the gedit developer plugins, source code browser, and standard
plugins. I refactored GDP to not use type and change the inheritance to
reduce the occurrences of this issue. I suspect the problem is that
libpeas encourages multiple inheritance, and that it is not clear if
pygobject creates/uses other types.

I think the issue might really be in snippets. I see in plugins/snippets/singleton.py
class Singleton(type):

** Visibility changed to: Public

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/917344

Title:
  gedit crashed with SIGABRT in g_assertion_message()

Status in “gedit” package in Ubuntu:
  New

Bug description:
  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.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: gedit 3.3.2-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-9.16-generic 3.2.1
  Uname: Linux 3.2.0-9-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 1.90-0ubuntu2
  Architecture: amd64
  Date: Mon Jan 16 15:01:53 2012
  ExecutablePath: /usr/bin/gedit
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  ProcCmdline: gedit _notes.txt
  Signal: 6
  SourcePackage: gedit
  StacktraceTop:
   raise () from /lib/x86_64-linux-gnu/libc.so.6
   abort () from /lib/x86_64-linux-gnu/libc.so.6
   g_assertion_message () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
   g_assertion_message_expr () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
   ?? () from /usr/lib/python2.7/dist-packages/gi/_gobject/_gobject.so
  Title: gedit crashed with SIGABRT in raise()
  UpgradeStatus: Upgraded to precise on 2012-01-15 (1 days ago)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/917344/+subscriptions