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.

** Patch added: "xchat-crash.patch"
   
https://bugs.launchpad.net/ubuntu/+source/xchat-gnome/+bug/1495828/+attachment/4591771/+files/xchat-crash.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1495828

Title:
  xchat-gnome crashed with SIGFPE in gtk_xtext_check_ent_visibility()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xchat-gnome/+bug/1495828/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to