Comment 6 for bug 1495828

Revision history for this message
Xavier Claessens (zdra) wrote :

Randomly crash at startup with that same backtrace since Ubuntu 15.10. The problem is the xtext widget is not yet realized so xtext->fontsize is 0 and a div-by-0 happens.

I didn't understand why the xtext widget is not yet realized when its parent GtkWindow is already realized and gets the focus-in event. Also, why did it ever worked before?

In any case, attached patch works perfectly for me.