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

Bug #754358 reported by Chad A Davis
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
tomboy
Fix Released
Critical
tomboy (Ubuntu)
Fix Released
High
Unassigned

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

Revision history for this message
Chad A Davis (chadadavis) wrote :
Revision history for this message
Chad A Davis (chadadavis) wrote :

This was my core dump and it I had not used tomboy on this computer before this. I'm marking this bug as public.

visibility: private → public
description: updated
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_type_check_instance_cast (type_instance=0x1, iface_type=80) at /build/buildd/glib2.0-2.28.5/./gobject/gtype.c:3989
 gtkspell_detach (spell=0x17d8630) at gtkspell.c:843
 ?? ()
 ?? ()
 ?? ()

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
tags: added: apport-failed-retrace
tags: removed: need-amd64-retrace
Daniel Manrique (roadmr)
Changed in tomboy (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Daniel Manrique (roadmr) wrote :

Hi Chad,

Thank you for taking the time to report this bug and helping to make Ubuntu better.

I was able to confirm this behavior on both Ubuntu Natty (stable release) and Oneiric (development branch), the latest affected version seemingly being Tomboy 1.7.1. Due to the time this bug has been under the radar while being potentially quite disruptive, and as per "moderate impact on a large portion of Ubuntu users" (since even though it crashes, you can just restart Tomboy and the preference will be honored) I'm setting to importance: High.

I'm deleting the stack trace as per bug triaging policy, even though you state it doesn't contain confidential information, since the retracing service was unable to obtain useful data from it anyway.

I've also gone ahead and reported the bug upstream for Tomboy 1.7.1. The trace is slightly different than what you captured here, so I attached a new trace to the upstream bug report.

You can track it and make comments at:

https://bugzilla.gnome.org/show_bug.cgi?id=655067

Thanks!

Changed in tomboy:
importance: Unknown → Critical
status: Unknown → New
Revision history for this message
Martín Cigorraga (msx+) wrote :

I second this bug report. Also, I want to add that Tomboy ramdomly crashes from time to time and needs to be relaunched accordingly.

Revision history for this message
Mike Kupfer (mkupfer37) wrote :
Download full text (5.1 KiB)

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/./gtkspe...

Read more...

Revision history for this message
cacula (cacula) wrote :

also happening in 12.10 alpha3 and tomboy 1.11.5

Revision history for this message
Alemann Massho (armistice-con-deactivatedaccount) wrote :

This was fixed in this commit: http://git.gnome.org/browse/tomboy/commit/?id=e9b0493af1173e0fa84916e4b30d3308ac45e55b
Should be released in ubuntu 13.10

Changed in tomboy (Ubuntu):
status: Confirmed → Fix Committed
Changed in tomboy:
status: New → Fix Released
Changed in tomboy (Ubuntu):
status: Fix Committed → Confirmed
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.