GNOME Bugzilla – Bug 655067
Tomboy.exe crashed disabling spell checking: with SIGABRT in g_type_check_instance_cast()
Last modified: 2012-11-24 23:12:15 UTC
Created attachment 192396 [details] terminal output of the trace on Ubuntu Oneiric development version Tomboy 1.7.1 crashes when the following sequence is performed: - Start Tomboy - Delete a note - Go to the preferences dialog - Toggle the spell checking checkbox This bug was originally reported on Ubuntu 11.04 with Tomboy 1.6.0: https://bugs.launchpad.net/ubuntu/+source/tomboy/+bug/754358 While confirming the bug I managed to get a crash with the same sequence with Tomboy 1.7.1 on Ubuntu's development version (Oneiric Ocelot) running on a virtual machine (it's easy to reproduce). The trace is slightly different, I'm attaching the terminal log I get on 1.7.1. Please let me know if there are any more debugging info or logs I should collect to help with this issue. Thanks!
Created attachment 214819 [details] stacktrace of crash in tomboy 1.11.2
Created attachment 214820 [details] gdb output of crash in tomboy 1.11.2
I came up with a stacktrace that had a bit more details about the crash, it seems. The gdb log has nothing really in it, but I thought I'd attach it anyway just in case.
Oops, I made a mistake: my trace is when you enable spell-checking, the other is when you disable it. Both seem to be caused by the same issue: the spellchecker wants to attach/detach to a note that has already been deleted.
Created attachment 217138 [details] [review] proposed patch for bug 655067 Here is a patch. Please let me know if I fixed this problem correctly, I am new to contributing code to projects.
Review of attachment 217138 [details] [review]: Looks good to me. I think we should test and drop in if no issues have been reported.
Review of attachment 217138 [details] [review]: Committed as part of Bug Smashing day 2012-11-24