Package: libgtk2.0-cil
Version: 2.12.40-1
Severity: serious
Forwarded: https://bugzilla.xamarin.com/show_bug.cgi?id=55235
Owner: mee...@debian.org
Control: -1 affects smuxi-frontend-gnome

In Smuxi when you rejoin a channel this will lead to exception after
upgrading from GTK# 2.12.10 to 2.12.40 like this:

System.NullReferenceException: Object reference not set to an instance of
an object
 at GLib.GType.GetQualifiedName (System.String cname) [0x0005d] in
<8c54b02ecd9b45db868abfb5696ef2d4>:0
 at GLib.GType.LookupType (System.IntPtr typeid) [0x00020] in
<8c54b02ecd9b45db868abfb5696ef2d4>:0
 at GLib.ObjectManager.GetTypeOrParent (System.IntPtr obj) [0x00007] in
<8c54b02ecd9b45db868abfb5696ef2d4>:0
 at GLib.ObjectManager.CreateObject (System.IntPtr raw) [0x00012] in
<8c54b02ecd9b45db868abfb5696ef2d4>:0
 at GLib.Object.GetObject (System.IntPtr o, System.Boolean owned_ref)
[0x00074] in <8c54b02ecd9b45db868abfb5696ef2d4>:0
 at Gtk.TreeModelAdapter.GetObject (System.IntPtr handle, System.Boolean
owned) [0x00000] in <8bc02e9c110240acb0e1344122d80ad3>:0
 at Gtk.TreeView.get_Model () [0x0000c] in
<8bc02e9c110240acb0e1344122d80ad3>:0
 at Smuxi.Frontend.Gnome.GroupChatView.Populate () [0x0004c] in
/tmp/buildd/smuxi-1.0.6/src/Frontend-GNOME/Views/Chats/GroupChatView.cs:325
 at
Smuxi.Frontend.Gnome.ChatViewManager+<OnChatSynced>c__AnonStorey1.<>m__0 ()
[0x0007b] in
/tmp/buildd/smuxi-1.0.6/src/Frontend-GNOME/ChatViewManager.cs:351
 at GLib.Idle+IdleProxy.Handler (System.IntPtr data) [0x0003c] in
<8c54b02ecd9b45db868abfb5696ef2d4>:0

And the console output will show GTK/GLib CRITICAL messages:

(smuxi-frontend-gnome:1992): Gtk-CRITICAL **: IA__gtk_list_store_clear:
assertion 'GTK_IS_LIST_STORE (list_store)' failed
(smuxi-frontend-gnome:1992): Gtk-CRITICAL **: IA__gtk_tree_view_set_model:
assertion 'model == NULL || GTK_IS_TREE_MODEL (model)' failed
(smuxi-frontend-gnome:1992): GLib-GObject-CRITICAL **: g_object_unref:
assertion 'G_IS_OBJECT (object)' failed
(smuxi-frontend-gnome:1992): Gtk-CRITICAL **: IA__gtk_list_store_clear:
assertion 'GTK_IS_LIST_STORE (list_store)' failed
(smuxi-frontend-gnome:1992): GLib-GObject-CRITICAL **:
g_object_remove_toggle_ref: assertion 'G_IS_OBJECT (object)' failed
(smuxi-frontend-gnome:1992): GLib-GObject-CRITICAL **:
g_object_remove_toggle_ref: assertion 'G_IS_OBJECT (object)' failed
(smuxi-frontend-gnome:1992): GLib-GObject-CRITICAL **:
g_object_remove_toggle_ref: assertion 'G_IS_OBJECT (object)' failed
(smuxi-frontend-gnome:1992): GLib-GObject-CRITICAL **:
g_object_remove_toggle_ref: assertion 'G_IS_OBJECT (object)' failed

This has never been a problem though with GTK# < 2.12.40, which makes this
a regression of GTK# 2.12.40

I have debugged the issue already and found the fix in the stable branch of
upstream's git repository here:
https://github.com/mono/gtk-sharp/commit/4ac71507fffce997207215ac3f8b38471ce60a14#commitcomment-21776072

So I will backport that fix and request a freeze exception as this bug
affects all GTK# users that use the Gtk.TreeView and replace the model.

Best regards,

Mirco (meebey) Bauer

FOSS Hacker             mee...@meebey.net  https://www.meebey.net/
Debian Developer        mee...@debian.org  http://www.debian.org/
GNOME Foundation Member mmmba...@gnome.org http://www.gnome.org/
CTO @ Gatecoin Ltd.     mi...@gatecoin.com https://gatecoin.com/
.NET Foundation Advisory Council Member    http://www.dotnetfoundation.org/
PGP-Key ID              0x7127E5ABEEF946C8 https://meebey.net/pubkey.asc

Reply via email to