Code:
void set_text(gchar * text, GtkWidget* widg)
{
gchar bLRustr[256];
g_strlcpy(bLRustr, "<span font_desc='", sizeof bLRustr);
g_strlcat(bLRustr, tu->u_button_number_font, sizeof bLRustr);
g_strlcat(bLRustr, "'><b>", sizeof bLRustr);
g_strlcat(bLRustr, text, sizeof bLRustr);
g_strlcat(bLRustr, "</b></span>", sizeof bLRustr);
// set the Top Label on the Button
gtk_label_set_markup(GTK_LABEL(widg),bLRustr);
}
Basically there are several functions like the one written above. During load testing, when I am setting the text of a label many times in a loop, the software crashes with an assertion,
Quote:
Gdk:ERROR:/build/buildd/gtk+2.0-2.24.6/gdk/gdkregion-generic.c:1110:miUnionNonO: assertion failed: (y1 < y2)