This is trapping in g_logv in the final call of g_private_set:
g_private_set (&g_log_depth, GUINT_TO_POINTER (depth));
however, curiously, we've already done calls to g_private_get and g_private_set just a few lines earlier in the same block of code. I wonder if the earlier calls in the same block of code works because it's locked by &g_messages_lock
This is trapping in g_logv in the final call of g_private_set:
g_private_set (&g_log_depth, GUINT_TO_POINTER (depth));
however, curiously, we've already done calls to g_private_get and g_private_set just a few lines earlier in the same block of code. I wonder if the earlier calls in the same block of code works because it's locked by &g_messages_lock