After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 655067 - Tomboy.exe crashed disabling spell checking: with SIGABRT in g_type_check_instance_cast()
Tomboy.exe crashed disabling spell checking: with SIGABRT in g_type_check_ins...
Status: RESOLVED FIXED
Product: tomboy
Classification: Applications
Component: General
1.7.x
Other Linux
: Normal critical
: ---
Assigned To: Tomboy Maintainers
Tomboy Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-07-21 17:50 UTC by Daniel Manrique
Modified: 2012-11-24 23:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
terminal output of the trace on Ubuntu Oneiric development version (2.36 KB, text/plain)
2011-07-21 17:50 UTC, Daniel Manrique
  Details
stacktrace of crash in tomboy 1.11.2 (4.19 KB, text/plain)
2012-05-23 21:58 UTC, Alemann Massho
  Details
gdb output of crash in tomboy 1.11.2 (1.88 KB, text/plain)
2012-05-23 21:59 UTC, Alemann Massho
  Details
proposed patch for bug 655067 (1.92 KB, patch)
2012-06-24 19:48 UTC, Alemann Massho
committed Details | Review

Description Daniel Manrique 2011-07-21 17:50:06 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!
Comment 1 Alemann Massho 2012-05-23 21:58:47 UTC
Created attachment 214819 [details]
stacktrace of crash in tomboy 1.11.2
Comment 2 Alemann Massho 2012-05-23 21:59:23 UTC
Created attachment 214820 [details]
gdb output of crash in tomboy 1.11.2
Comment 3 Alemann Massho 2012-05-23 22:02:08 UTC
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.
Comment 4 Alemann Massho 2012-05-27 15:13:13 UTC
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.
Comment 5 Alemann Massho 2012-06-24 19:48:32 UTC
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.
Comment 6 Jared Jennings 2012-06-27 21:42:30 UTC
Review of attachment 217138 [details] [review]:

Looks good to me. I think we should test and drop in if no issues have been reported.
Comment 7 Jared Jennings 2012-11-24 23:11:53 UTC
Review of attachment 217138 [details] [review]:

Committed as part of Bug Smashing day 2012-11-24
Comment 8 Jared Jennings 2012-11-24 23:11:56 UTC
Review of attachment 217138 [details] [review]:

Committed as part of Bug Smashing day 2012-11-24