Tomboy crashes at seemingly random times (probably during auto-sync)

Bug #890837 reported by Andreas Jonsson
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
tomboy (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Tomboy crashes at random times (several times a day). I usually have it running with a couple of notes and the search window open. The error message is included below. There appears to be no data loss involved. I think this problem started after I updated to Oneiric on release date, but I am not sure.

user@host:~$ tomboy
[INFO 14:24:24.869] Initializing Mono.Addins

(Tomboy:7287): Gtk-CRITICAL **: gtk_tree_model_sort_get_value: assertion `VALID_ITER (iter, tree_model_sort)' failed

(Tomboy:7287): GLib-GObject-CRITICAL **: g_object_set_property: assertion `G_IS_VALUE (value)' failed

(Tomboy:7287): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed

(Tomboy:7287): Gtk-CRITICAL **: gtk_tree_model_sort_iter_next: assertion `tree_model_sort->stamp == iter->stamp' failed

(Tomboy:7287): Gtk-CRITICAL **: /build/buildd/gtk+2.0-2.24.6/gtk/gtktreeview.c:6304 (do_validate_rows): assertion `gtk_tree_model_iter_next (tree_view->priv->model, &iter)' failed.
There is a disparity between the internal view of the GtkTreeView,
and the GtkTreeModel. This generally means that the model has changed
without letting the view know. Any display from now on is likely to
be incorrect.

*** glibc detected *** mono: free(): invalid next size (fast): 0x00007f2cb55584b0 ***
* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

* Assertion at domain.c:333, condition `left < right' not met

Segmentation fault

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: tomboy 1.8.0-1ubuntu1.1
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Tue Nov 15 14:45:43 2011
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: tomboy
UpgradeStatus: Upgraded to oneiric on 2011-10-13 (33 days ago)

Revision history for this message
Andreas Jonsson (sonofjon) wrote :
Revision history for this message
Andreas Jonsson (sonofjon) wrote :
Download full text (12.1 KiB)

It crashed again. This time I was running with he "--debug" flag. Here is the error output:

.
.
.
[DEBUG 15:21:05.254] Saving 'Ubuntu Oneiric Ocelot: Post-install'...
[DEBUG 15:21:05.390] Note saved or deleted within a minute of next autosync...resetting sync timer
[DEBUG 15:21:05.857] Saving 'To Do: Some Day'...
[DEBUG 15:21:05.896] Note saved or deleted within a minute of next autosync...resetting sync timer
[DEBUG 15:22:05.898] BackgroundSyncChecker: Checking server for updates
[DEBUG 15:22:05.899] Building web request for URL: https://one.ubuntu.com/notes/api/1.0/
[DEBUG 15:22:08.903] Building web request for URL: https://one.ubuntu.com/notes/api/1.0/user/
[DEBUG 15:22:10.084] BackgroundSyncChecker: Detected that sync would be a good idea now
[DEBUG 15:22:10.084] SyncThread using SyncServiceAddin: Tomboy Web
[DEBUG 15:22:10.085] SilentUI: SyncStateChanged: Connecting
[DEBUG 15:22:10.130] SilentUI: SyncStateChanged: AcquiringLock
[DEBUG 15:22:10.131] Building web request for URL: https://one.ubuntu.com/notes/api/1.0/
[DEBUG 15:22:10.444] Building web request for URL: https://one.ubuntu.com/notes/api/1.0/user/
[DEBUG 15:22:11.370] 8
[DEBUG 15:22:11.370] SilentUI: SyncStateChanged: PrepareDownload
[DEBUG 15:22:11.370] Sync: GetNoteUpdatesSince rev 758
[DEBUG 15:22:11.370] Building web request for URL: https://one.ubuntu.com/notes/api/1.0/op/?include_notes=true&since=758
[DEBUG 15:22:13.144] Sync: 0 updates since rev 758
[DEBUG 15:22:13.144] Building web request for URL: https://one.ubuntu.com/notes/api/1.0/op/
[DEBUG 15:22:15.511] SilentUI: SyncStateChanged: PrepareUpload
[DEBUG 15:22:15.511] Saving 'Ubuntu Oneiric Ocelot: Post-install'...
[DEBUG 15:22:15.516] Saving 'Ubuntu Oneiric Ocelot: Post-install'...

(Tomboy:22598): Gtk-CRITICAL **: IA__gtk_tree_model_row_inserted: assertion `path != NULL' failed
Stacktrace:

  at (wrapper managed-to-native) Gtk.ListStore.gtk_list_store_set_value (intptr,intptr,int,intptr) <IL 0x00012, 0xffffffff>
  at Gtk.ListStore.SetValue (Gtk.TreeIter,int,GLib.Value) <IL 0x00021, 0x0009f>
  at Gtk.ListStore.AppendValues (System.Array) <IL 0x0002f, 0x0010b>
  at Gtk.ListStore.AppendValues (object[]) <IL 0x00002, 0x00027>
  at Tomboy.NoteRecentChanges.UpdateResults () <IL 0x000f8, 0x003bf>
  at Tomboy.NoteRecentChanges.OnNoteSaved (Tomboy.Note) <IL 0x00013, 0x0003f>
  at (wrapper delegate-invoke) <Module>.invoke_void__this___Note (Tomboy.Note) <IL 0x00056, 0xffffffff>
  at Tomboy.NoteManager.OnNoteSave (Tomboy.Note) <IL 0x00012, 0x0002c>
  at Tomboy.Note.Save () <IL 0x000f0, 0x00244>
  at Tomboy.Note.SaveTimeout (object,System.EventArgs) <IL 0x00001, 0x0001f>
  at Tomboy.InterruptableTimeout.TimeoutExpired () <IL 0x00018, 0x00029>
  at GLib.Timeout/TimeoutProxy.Handler () <IL 0x0000d, 0x0003a>
  at (wrapper native-to-managed) GLib.Timeout/TimeoutProxy.Handler () <IL 0x00029, 0xffffffff>
[ERROR 15:22:15.582] Synchronization failed with the following exception: Object reference not set to an instance of an object
  at (wrapper managed-to-native) Gtk.ListStore:gtk_list_store_set_value (intptr,intptr,int,intptr)
  at Gtk.ListStore.SetValue (TreeIter iter, Int32 column, Value value) [0x00000] in <filename unknown>:0
 ...

Revision history for this message
Andreas Jonsson (sonofjon) wrote :

I also have another Tomboy bug: https://bugs.launchpad.net/ubuntu/+source/tomboy/+bug/513945 . I am mentioning it since perhaps they could be related.

Revision history for this message
Andreas Jonsson (sonofjon) wrote :
Download full text (11.7 KiB)

Sorry, I messed up above and pasted the error output twice (on top of each other). Tomboy just crashed again, so here is a new (looks very similar) error log:

.
.
.
[DEBUG 10:49:12.359] BackgroundSyncChecker: Checking server for updates
[DEBUG 10:49:12.359] Building web request for URL: https://one.ubuntu.com/notes/api/1.0/
[DEBUG 10:49:14.375] Building web request for URL: https://one.ubuntu.com/notes/api/1.0/user/
[DEBUG 10:49:15.547] BackgroundSyncChecker: Detected that sync would be a good idea now
[DEBUG 10:49:15.547] SyncThread using SyncServiceAddin: Tomboy Web
[DEBUG 10:49:15.547] SilentUI: SyncStateChanged: Connecting
[DEBUG 10:49:15.560] SilentUI: SyncStateChanged: AcquiringLock
[DEBUG 10:49:15.560] Building web request for URL: https://one.ubuntu.com/notes/api/1.0/
[DEBUG 10:49:15.909] Building web request for URL: https://one.ubuntu.com/notes/api/1.0/user/
[DEBUG 10:49:17.007] 8
[DEBUG 10:49:17.008] SilentUI: SyncStateChanged: PrepareDownload
[DEBUG 10:49:17.008] Sync: GetNoteUpdatesSince rev 765
[DEBUG 10:49:17.008] Building web request for URL: https://one.ubuntu.com/notes/api/1.0/op/?include_notes=true&since=765
[DEBUG 10:49:18.109] Sync: 0 updates since rev 765
[DEBUG 10:49:18.110] Building web request for URL: https://one.ubuntu.com/notes/api/1.0/op/
[DEBUG 10:49:19.535] SilentUI: SyncStateChanged: PrepareUpload
[DEBUG 10:49:19.535] Saving 'Google'...
[DEBUG 10:49:19.557] Saving 'Google'...
*** glibc detected *** mono: double free or corruption (!prev): 0x00007f5409c611e0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x78a96)[0x7f5411255a96]
/lib/x86_64-linux-gnu/libc.so.6(+0x7b5db)[0x7f54112585db]
/lib/x86_64-linux-gnu/libc.so.6(realloc+0xf9)[0x7f5411259ee9]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_realloc+0x31)[0x7f540e9ec751]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x18059)[0x7f540e9b9059]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_array_insert_vals+0x33)[0x7f540e9b9523]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x217f6f)[0x7f540e2e7f6f]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x21a4c1)[0x7f540e2ea4c1]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0xaa)[0x7f540c3a4ffa]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x2102a)[0x7f540c3b702a]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x851)[0x7f540c3c06b1]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f540c3c0852]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_list_store_set_value+0x13c)[0x7f540e20260c]
[0x40104cdd]
======= Memory map: ========
00400000-006df000 r-xp 00000000 08:03 392523 /usr/bin/mono
008df000-008e0000 r--p 002df000 08:03 392523 /usr/bin/mono
008e0000-008e9000 rw-p 002e0000 08:03 392523 /usr/bin/mono
008e9000-00923000 rw-p 00000000 00:00 0
01108000-01c28000 rw-p 00000000 00:00 0 [heap]
40029000-4002a000 rwxp 00000000 00:00 0
400b8000-400c9000 rwxp 00000000 00:00 0
40101000-40112000 rwxp 00000000 00:00 0
40288000-40299000 rwxp 00000000 00:00 0
403f9000-403fa000 rwxp 00000000 00:00 0
404c9000-404eb000 rwxp 00000000 00:00 0
40572000-40583000 ...

Revision history for this message
Andreas Jonsson (sonofjon) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in tomboy (Ubuntu):
status: New → Confirmed
Revision history for this message
krackersk (krackersk) wrote :
Download full text (13.6 KiB)

This is also happening to me, Tomboy will crash several times a day. This only started happening to me after I upgraded to 11.10

I have started it from the command line with --debug but the funny thing is that it doesn't crash anymore but I get this error

"Error saving note" and it mentions disk space and permissions, still have plenty of disk save and permissions are fine as the notes will save most of the time.

Below is the debug output:

** Running Mono with --debug **
[DEBUG 20:30:56.191] NoteManager created with note path "/home/angus/.local/share/tomboy".
[INFO 20:30:56.771] Initializing Mono.Addins
[DEBUG 20:30:57.022] AddinManager.OnAddinLoaded: Tomboy.Tomboy
[DEBUG 20:30:57.024] Name: Tomboy.Tomboy,0.10
[DEBUG 20:30:57.024] Description:
[DEBUG 20:30:57.024] Namespace: Tomboy
[DEBUG 20:30:57.024] Enabled: True
[DEBUG 20:30:57.024] File: /usr/lib/tomboy/Tomboy.exe
[DEBUG 20:30:57.918] AddinManager.OnAddinLoaded: Tomboy.ExportToHtmlAddin
[DEBUG 20:30:57.918] Name: Export to HTML
[DEBUG 20:30:57.918] Description: Exports individual notes to HTML.
[DEBUG 20:30:57.918] Namespace: Tomboy
[DEBUG 20:30:57.918] Enabled: True
[DEBUG 20:30:57.918] File: /usr/lib/tomboy/addins/ExportToHtml.dll
[DEBUG 20:30:57.921] AddinManager.OnAddinLoaded: Tomboy.WebDavSyncServiceAddin
[DEBUG 20:30:57.921] Name: WebDav Sync Service Add-in
[DEBUG 20:30:57.921] Description: Synchronize Tomboy Notes to a WebDav URL
[DEBUG 20:30:57.921] Namespace: Tomboy
[DEBUG 20:30:57.921] Enabled: True
[DEBUG 20:30:57.921] File: /usr/lib/tomboy/addins/WebDavSyncService.dll
[DEBUG 20:30:57.924] Unable to locate 'gnomesu' in your PATH
[DEBUG 20:30:57.924] Using '/usr/bin/gksu' as GUI 'su' tool
[DEBUG 20:30:57.924] Successfully found all system tools
[DEBUG 20:30:57.924] Unable to locate 'wdfs' in your PATH
[DEBUG 20:30:57.924] AddinManager.OnAddinLoaded: Tomboy.WebSyncServiceAddin
[DEBUG 20:30:57.924] Name: Web Sync Service Add-in
[DEBUG 20:30:57.924] Description: Synchronize Tomboy Notes with Tomboy Online and other compatible web services
[DEBUG 20:30:57.924] Namespace: Tomboy
[DEBUG 20:30:57.924] Enabled: True
[DEBUG 20:30:57.924] File: /usr/lib/tomboy/addins/WebSyncServiceAddin.dll
[DEBUG 20:30:57.925] AddinManager.OnAddinLoaded: Tomboy.FileSystemSyncServiceAddin
[DEBUG 20:30:57.926] Name: Local Directory Sync Service Add-in
[DEBUG 20:30:57.926] Description: Synchronize Tomboy Notes to a local file system path
[DEBUG 20:30:57.926] Namespace: Tomboy
[DEBUG 20:30:57.926] Enabled: True
[DEBUG 20:30:57.926] File: /usr/lib/tomboy/addins/FileSystemSyncService.dll
[DEBUG 20:30:57.929] Loading notes
[DEBUG 20:30:58.696] AddinManager.OnAddinLoaded: Tomboy.PrintNotesAddin
[DEBUG 20:30:58.696] Name: Printing Support
[DEBUG 20:30:58.696] Description: Allows you to print a note.
[DEBUG 20:30:58.696] Namespace: Tomboy
[DEBUG 20:30:58.696] Enabled: True
[DEBUG 20:30:58.696] File: /usr/lib/tomboy/addins/PrintNotes.dll
[DEBUG 20:30:58.697] AddinManager.OnAddinLoaded: Tomboy.BacklinksAddin
[DEBUG 20:30:58.697] Name: Backlinks
[DEBU...

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.