pterm crashes with SIGFPE if 'mincho (kochi)' font selected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
putty (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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-
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/
450 w = (event->width - 2*inst-
because inst->font_width is zero.
I believe the font comes from package ttf-kochi-mincho 1.0.20030809-
I suppose it's possible that the font is somehow broken, but in any case pterm shouldn't crash.
Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.