[ubuntu-mono] [Bug 754358] Re: Tomboy.exe crashed disabling spell checking: with SIGABRT in g_type_check_instance_cast()

Mike Kupfer m.kupfer at acm.org
Sat Mar 3 02:04:49 UTC 2012


Saw this twice today on 11.10 on a VirtualBox VM (32-bit).

Interestingly, the assertion is different both times.

First failure:

(Tomboy:2043): GLib-GObject-CRITICAL **: g_object_set_data: assertion `G_IS_OBJECT (object)' failed
Stacktrace:

  at (wrapper managed-to-native) Tomboy.NoteSpellChecker.gtkspell_detach (intptr) <0xffffffff>
  at Tomboy.NoteSpellChecker.Detach () <0x00083>
  at Tomboy.NoteSpellChecker.OnEnableSpellcheckChanged (object,Tomboy.NotifyEventArgs) <0x00073>
  at (wrapper delegate-invoke) <Module>.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00072>
  at (wrapper delegate-invoke) <Module>.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00072>
  at (wrapper delegate-invoke) <Module>.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00072>
  at (wrapper delegate-invoke) <Module>.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00072>
  at (wrapper delegate-invoke) <Module>.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00072>
  at (wrapper delegate-invoke) <Module>.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00072>
  at (wrapper delegate-invoke) <Module>.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00072>
  at (wrapper delegate-invoke) <Module>.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00072>
  at (wrapper delegate-invoke) <Module>.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00072>
  at (wrapper delegate-invoke) <Module>.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00072>
  at (wrapper delegate-invoke) <Module>.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0xffffffff>
  at Tomboy.Preferences.OnSettingChanged (object,Tomboy.NotifyEventArgs) <0x00025>
  at Tomboy.GConfPreferencesClient/NotifyWrapper.HandleNotify (object,GConf.NotifyEventArgs) <0x0006e>
  at GConf.NotifyWrapper.NotifyCB (intptr,uint,intptr,intptr) <0x0019c>
  at (wrapper native-to-managed) GConf.NotifyWrapper.NotifyCB (intptr,uint,intptr,intptr) <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0xffffffff>
  at Gtk.Application.Run () <0x0000b>
  at Tomboy.GnomeApplication.StartMainLoop () <0x0000b>
  at Tomboy.Application.StartMainLoop () <0x00019>
  at Tomboy.Tomboy.StartTrayIcon () <0x0004b>
  at Tomboy.Tomboy.Main (string[]) <0x002eb>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

	mono() [0x80e126c]
	mono() [0x812046c]
	mono() [0x805fe7d]
	[0xab640c]
	/usr/lib/libenchant.so.1(enchant_broker_free_dict+0x39) [0xaa6ca9]
	/usr/lib/libgtkspell.so.0(+0x41ea) [0x8351ea]
	[0x77995dc]
	[0x576522c]
	[0x249199c]
	[0x24918e7]
	[0x2491913]
	[0x2491913]
	[0x2491913]
	[0x2491913]
	[0x2491913]
	[0x2491913]
	[0x2491913]
	[0x2491913]
	[0x2491913]
	[0x2491913]
	[0x2491686]
	[0x249162f]
	[0x249141d]
	[0x17d5e8]
	/usr/lib/libgconf-2.so.4(+0x16508) [0x8ce5508]

2nd failure:

gtkspell:ERROR:/build/buildd/gtkspell-2.0.16/./gtkspell/gtkspell.c:752:gtkspell_new_attach: assertion failed: (spell == NULL)
Stacktrace:

  at (wrapper managed-to-native) Tomboy.NoteSpellChecker.gtkspell_new_attach (intptr,string,intptr) <0xffffffff>
  at Tomboy.NoteSpellChecker.Attach () <0x00157>
  at Tomboy.NoteSpellChecker.OnEnableSpellcheckChanged (object,Tomboy.NotifyEventArgs) <0x00063>
  at (wrapper delegate-invoke) <Module>.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00072>
  at (wrapper delegate-invoke) <Module>.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00072>
  at (wrapper delegate-invoke) <Module>.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0xffffffff>
  at Tomboy.Preferences.OnSettingChanged (object,Tomboy.NotifyEventArgs) <0x00025>
  at Tomboy.GConfPreferencesClient/NotifyWrapper.HandleNotify (object,GConf.NotifyEventArgs) <0x0006e>
  at GConf.NotifyWrapper.NotifyCB (intptr,uint,intptr,intptr) <0x0019c>
  at (wrapper native-to-managed) GConf.NotifyWrapper.NotifyCB (intptr,uint,intptr,intptr) <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0xffffffff>
  at Gtk.Application.Run () <0x0000b>
  at Tomboy.GnomeApplication.StartMainLoop () <0x0000b>
  at Tomboy.Application.StartMainLoop () <0x00019>
  at Tomboy.Tomboy.StartTrayIcon () <0x0004b>
  at Tomboy.Tomboy.Main (string[]) <0x002eb>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

	mono() [0x80e126c]
	[0xf8040c]
	[0xf80416]
	/lib/i386-linux-gnu/libc.so.6(gsignal+0x4f) [0xae8c8f]
	/lib/i386-linux-gnu/libc.so.6(abort+0x175) [0xaec2b5]
	/lib/i386-linux-gnu/libglib-2.0.so.0(g_assertion_message+0x15e) [0x2146ce]
	/lib/i386-linux-gnu/libglib-2.0.so.0(+0x68ccf) [0x214ccf]
	/usr/lib/libgtkspell.so.0(gtkspell_new_attach+0xd0) [0xa7b4a0]
	[0xde1ccc]
	[0x6345bf8]
	[0x88835b4]
	[0x888350f]
	[0x888353b]
	[0x888353b]
	[0x88832ae]
	[0x8883257]
	[0x8883045]
	[0xf125e8]
	/usr/lib/libgconf-2.so.4(+0x16508) [0xeda508]

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to tomboy in Ubuntu.
https://bugs.launchpad.net/bugs/754358

Title:
  Tomboy.exe crashed disabling spell checking: with SIGABRT in
  g_type_check_instance_cast()

Status in Tomboy:
  New
Status in “tomboy” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: tomboy

  On a new install (Natty dev. branch) with updated packages, I started
  Tomboy for the first time with 'tomboy --new-note'. I deleted the
  default notes. Then from Edit->Preferences I deselected the option to
  check spelling, which is when it crashed.

  Steps to repeat:
  Delete some note, any note that is open (one is sufficient)
  Edit->Preferences
  Toggle: Check spelling while typing (on or off)

  The crash occurs turning spell check on or off. The crash does not
  occur if I have not previously deleted a note. The crash does not
  occur if I delete a note that was not previously open in this session.
  Given any note that has been open (and may now be closed), delete it,
  then toggle spell check to invoke the crash.

  Not sure if any debug info got attached, gdb said it' couldn't attach
  to the process. Here is the terminal output:

  [INFO 09:08:07.999] Initializing Mono.Addins

  (Tomboy:2488): Gtk-CRITICAL **: IA__gtk_text_tag_table_remove: assertion `tag->table == table' failed
  Stacktrace:

    at (wrapper managed-to-native) Tomboy.NoteSpellChecker.gtkspell_detach (intptr) <0x0005b>
    at (wrapper managed-to-native) Tomboy.NoteSpellChecker.gtkspell_detach (intptr) <0x0005b>
    at Tomboy.NoteSpellChecker.Detach () <0x0006f>
    at Tomboy.NoteSpellChecker.OnEnableSpellcheckChanged (object,Tomboy.NotifyEventArgs) <0x0007b>
    at (wrapper delegate-invoke) Tomboy.NotifyEventHandler.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x0005e>
    at (wrapper delegate-invoke) Tomboy.NotifyEventHandler.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00098>
    at (wrapper delegate-invoke) Tomboy.NotifyEventHandler.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00098>
    at (wrapper delegate-invoke) Tomboy.NotifyEventHandler.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00098>
    at (wrapper delegate-invoke) Tomboy.NotifyEventHandler.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00098>
    at (wrapper delegate-invoke) Tomboy.NotifyEventHandler.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00098>
    at (wrapper delegate-invoke) Tomboy.NotifyEventHandler.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00098>
    at (wrapper delegate-invoke) Tomboy.NotifyEventHandler.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00098>
    at (wrapper delegate-invoke) Tomboy.NotifyEventHandler.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00098>
    at (wrapper delegate-invoke) Tomboy.NotifyEventHandler.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00098>
    at (wrapper delegate-invoke) Tomboy.NotifyEventHandler.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00098>
    at (wrapper delegate-invoke) Tomboy.NotifyEventHandler.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00098>
    at (wrapper delegate-invoke) Tomboy.NotifyEventHandler.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00098>
    at (wrapper delegate-invoke) Tomboy.NotifyEventHandler.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00098>
    at (wrapper delegate-invoke) Tomboy.NotifyEventHandler.invoke_void__this___object_NotifyEventArgs (object,Tomboy.NotifyEventArgs) <0x00098>
    at Tomboy.Preferences.OnSettingChanged (object,Tomboy.NotifyEventArgs) <0x0003d>
    at Tomboy.GConfPreferencesClient/NotifyWrapper.HandleNotify (object,GConf.NotifyEventArgs) <0x00084>
    at GConf.NotifyWrapper.NotifyCB (intptr,uint,intptr,intptr) <0x0018d>
    at (wrapper native-to-managed) GConf.NotifyWrapper.NotifyCB (intptr,uint,intptr,intptr) <0x0008c>
    at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00055>
    at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00055>
    at Gtk.Application.Run () <0x0000b>
    at Tomboy.GnomeApplication.StartMainLoop () <0x0000b>
    at Tomboy.Application.StartMainLoop () <0x00022>
    at Tomboy.Tomboy.StartTrayIcon () <0x00053>
    at Tomboy.Tomboy.Main (string[]) <0x0030f>
    at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0x00054>

  Native stacktrace:

   mono() [0x489171]
   mono() [0x4d154f]
   /lib/x86_64-linux-gnu/libpthread.so.0(+0xfc60) [0x7fd1f78b2c60]
   /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_type_check_instance_cast+0x31) [0x7fd1eae72b81]
   /usr/lib/libgtkspell.so.0(gtkspell_detach+0x16) [0x7fd1dfb498b6]
   [0x40f627eb]

  Debug info from gdb:

  Could not attach to process.  If your uid matches the uid of the target
  process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
  again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf
  ptrace: Operation not permitted.

  =================================================================
  Got a SIGSEGV while executing native code. This usually indicates
  a fatal error in the mono runtime or one of the native libraries
  used by your application.
  =================================================================

  Aborted (core dumped)

  ProblemType: Crash
  DistroRelease: Ubuntu 11.04
  Package: tomboy 1.6.0-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-8.41-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic x86_64
  Architecture: amd64
  Date: Fri Apr  8 09:08:38 2011
  ExecutablePath: /usr/lib/tomboy/Tomboy.exe
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110402)
  InterpreterPath: /usr/bin/mono
  ProcCmdline: mono /usr/lib/tomboy/Tomboy.exe --new-note
  ProcEnviron:
   SHELL=/bin/bash
   PATH=(custom, user)
   LANG=en_US.utf8
   LANGUAGE=en_US:en
  Signal: 6
  SourcePackage: tomboy
  StacktraceTop:
   g_type_check_instance_cast () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
   gtkspell_detach () from /usr/lib/libgtkspell.so.0
   ?? ()
   ?? ()
   ?? ()
  Title: Tomboy.exe crashed with SIGABRT in g_type_check_instance_cast()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

To manage notifications about this bug go to:
https://bugs.launchpad.net/tomboy/+bug/754358/+subscriptions



More information about the Ubuntu-mono mailing list