Trapping Glib critical error messages

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Trapping Glib critical error messages

Gtkmm mailing list
GLib-GObject-CRITICAL **: 15:30:09.453: g_object_unref: assertion
'G_IS_OBJECT (object)' failed
GLib-GIO-CRITICAL **: 15:30:09.453:
g_dbus_connection_signal_unsubscribe: assertion 'G_IS_DBUS_CONNECTION
(connection)' failed

I'm getting these messages seemingly at random in a program I'm working
on. Can someone tell me the Glib g_xxxx function that prints these
messages so I can trap them to get a traceback?

_______________________________________________
gtkmm-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtkmm-list
Reply | Threaded
Open this post in threaded view
|

Re: Trapping Glib critical error messages

Gtkmm mailing list
run with G_DEBUG=fatal-criticals or -warnings or etc to taste


On Wed, 7 Aug 2019, 23:50 Phil Wolff via gtkmm-list, <[hidden email]> wrote:
GLib-GObject-CRITICAL **: 15:30:09.453: g_object_unref: assertion
'G_IS_OBJECT (object)' failed
GLib-GIO-CRITICAL **: 15:30:09.453:
g_dbus_connection_signal_unsubscribe: assertion 'G_IS_DBUS_CONNECTION
(connection)' failed

I'm getting these messages seemingly at random in a program I'm working
on. Can someone tell me the Glib g_xxxx function that prints these
messages so I can trap them to get a traceback?

_______________________________________________
gtkmm-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtkmm-list

_______________________________________________
gtkmm-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtkmm-list
Reply | Threaded
Open this post in threaded view
|

Re: Trapping Glib critical error messages

Gtkmm mailing list

Or, in gdb: break g_log

Den 2019-08-08 kl. 00:58, skrev Daniel Boles via gtkmm-list:
run with G_DEBUG=fatal-criticals or -warnings or etc to taste


On Wed, 7 Aug 2019, 23:50 Phil Wolff via gtkmm-list, <[hidden email]> wrote:
GLib-GObject-CRITICAL **: 15:30:09.453: g_object_unref: assertion
'G_IS_OBJECT (object)' failed
GLib-GIO-CRITICAL **: 15:30:09.453:
g_dbus_connection_signal_unsubscribe: assertion 'G_IS_DBUS_CONNECTION
(connection)' failed

I'm getting these messages seemingly at random in a program I'm working
on. Can someone tell me the Glib g_xxxx function that prints these
messages so I can trap them to get a traceback?


_______________________________________________
gtkmm-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtkmm-list
Reply | Threaded
Open this post in threaded view
|

Re: Trapping Glib critical error messages

Jens Georg
On Do, Aug 8, 2019 at 9:12 AM, Kjell Ahlstedt via gtkmm-list <[hidden email]> wrote:

Or, in gdb: break g_log


You might want to set a condition then, though, because some things are quite debug-chatty

_______________________________________________
gtkmm-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtkmm-list
Reply | Threaded
Open this post in threaded view
|

Re: Trapping Glib critical error messages

Gtkmm mailing list
In reply to this post by Gtkmm mailing list

That's the one I need. Thanks!

On 8/8/19 12:12 AM, Kjell Ahlstedt wrote:

Or, in gdb: break g_log

Den 2019-08-08 kl. 00:58, skrev Daniel Boles via gtkmm-list:
run with G_DEBUG=fatal-criticals or -warnings or etc to taste


On Wed, 7 Aug 2019, 23:50 Phil Wolff via gtkmm-list, <[hidden email]> wrote:
GLib-GObject-CRITICAL **: 15:30:09.453: g_object_unref: assertion
'G_IS_OBJECT (object)' failed
GLib-GIO-CRITICAL **: 15:30:09.453:
g_dbus_connection_signal_unsubscribe: assertion 'G_IS_DBUS_CONNECTION
(connection)' failed

I'm getting these messages seemingly at random in a program I'm working
on. Can someone tell me the Glib g_xxxx function that prints these
messages so I can trap them to get a traceback?

--
What was that about a rising tide lifting all boats? What if you don't have a boat?
   — Eugene Robinson

_______________________________________________
gtkmm-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtkmm-list