Public bug reported:

Binary package hint: pterm

If in a running pterm I use ctrl-right arrow to bring up a menu, select
'change settings', 'Fonts', 'Font used for ordinary text' and select
'mincho (kochi)' from the list, then press 'Apply', pterm crashes with a
SIGFPE.

You can also get it to crash by asking for this font on the command line:
 pterm -fn '-kochi-mincho-medium-r-normal-*-*-120-*-*-m-*-jisx0212.1990-0'

This is pterm 0.60-1.

I built from source and ran under gdb, which shows that it's falling over here:
Program received signal SIGFPE, Arithmetic exception.
0x0806cb46 in configure_area (widget=0x80d9598, event=0xbf99f8e0,
    data=0x80b2640) at ../unix/gtkwin.c:450
450         w = (event->width - 2*inst->cfg.window_border) / inst->font_width;

because inst->font_width is zero.

I believe the font comes from package ttf-kochi-mincho 1.0.20030809-4ubuntu2 .
I suppose it's possible that the font is somehow broken, but in any case pterm 
shouldn't crash.

** Affects: putty (Ubuntu)
     Importance: Undecided
         Status: New

-- 
pterm crashes with SIGFPE if 'mincho (kochi)' font selected
https://bugs.launchpad.net/bugs/134902
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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

Reply via email to