GNOME Bugzilla – Bug 655193
forgets to initialize error
Last modified: 2011-07-24 07:55:12 UTC
I'm seeing the following problem occasionally while running the glib tests: (gdb) r Starting program: /home/mclasen/gnome-3.0/checkoutroot/glib/gio/tests/.libs/lt-pollable [Thread debugging using libthread_db enabled] /pollable/unix: OK /pollable/socket: [New Thread 0x7ffff6c53700 (LWP 27508)] GLib-GIO-CRITICAL **: g_bus_get_sync: assertion `error == NULL || *error == NULL' failed Program received signal SIGTRAP, Trace/breakpoint trap.
+ Trace 227860
Thread 140737333507840 (LWP 27508)
Turns out that this is happening because gdbus-address uses a socket client, which in turn uses a proxy resolver, whose gnome backend uses gsettings, whose dconf backend has a bug in error handling... what a twisted maze we weave :-( See the attached patch.
Created attachment 192548 [details] [review] patch
Thanks for the catch. Your patch leaks the GError. Since we don't use it anyway, I'm just going to remove it and pass NULL.