Somewhere in a mass of code that I did not write (but I am trying to debug), an assertion fails in the GLib library:
(process:31987): GLib-CRITICAL **: g_has
You should add an environment variable like this:
G_DEBUG=fatal_warnings gdb ...
Break on g_log(). This covers all cases like g_warning(), g_critical(), etc.
g_log()
g_warning()
g_critical()