Comment 6 for bug 522372

Revision history for this message
Roman Yepishev (rye) wrote :

563454 and 563675 are related to 0.7.0 and libnoteoftheday module, we are running 0.6.2 in Lucid Lynx.
In our case corruption happens early and then we see the crash when note is being displayed.

Copying my note from bug 521434:
It appears that something becomes corrupted in Gtk::TextBuffer. This is what is printed when the code below is executed.

notebuffer.cpp:
  NoteBuffer::NoteBuffer(const NoteTagTable::Ptr & tags, Note & note)
    : Gtk::TextBuffer(tags)
    , m_undomanager(NULL)
    , m_note(note)
  {
    DBG_OUT("rtg: notebuffer.cpp:53: NoteBuffer::NoteBuffer()");
    ...

called from notebuffer.hpp:
  static Ptr create(const NoteTagTable::Ptr & table, Note & note)
    {
      DBG_OUT("rtg: notebuffer.hpp:59");
      return Ptr(new NoteBuffer(table, note));
    }

-1208190384) DEBUG: create - rtg: notebuffer.hpp:59
(gnote:3013): GLib-GObject-WARNING **: cannot register existing type `gtkmm__GtkTextBuffer'
(gnote:3013): GLib-GObject-WARNING **: cannot retrieve class for invalid (unclassed) type `<invalid>'
(gnote:3013): GLib-GObject-CRITICAL **: g_object_class_find_property: assertion `G_IS_OBJECT_CLASS (class)' failed
(gnote:3013): glibmm-WARNING **: Glib::ConstructParams::ConstructParams(): object class "(null)" has no property named "tag_table"
(gnote:3013): GLib-GObject-CRITICAL **: g_type_class_unref: assertion `g_class != NULL' failed
(gnote:3013): GLib-GObject-CRITICAL **: g_object_newv: assertion `G_TYPE_IS_OBJECT (object_type)' failed
(-1208190384) DEBUG: NoteBuffer - rtg: notebuffer.cpp:53: NoteBuffer::NoteBuffer()

These lines are printed when Gtk::TextBuffer(tags) is initialized so I'd like someone with Gtk++ knowledge to look at these messages.

Are we going to use gnote 0.7.x?