[Pkg-fonts-devel] Bug#664789: [Fontforge-devel] Segmentation Fault after Hitting 'a<Tab>' as Test Pattern in the Kerning Metrics Window

Daniel Kahn Gillmor dkg at fifthhorseman.net
Tue Mar 20 21:27:59 UTC 2012

Package: fontforge
Version: 0.0.20120101+git-1+b1
Forwarded: http://sourceforge.net/mailarchive/message.php?msg_id=29012934

Hi Bastien--

On 03/20/2012 05:09 PM, Bastien Dejean wrote:
> If I type, 'a<Tab>' (or any character followed by<Tab>) in the test pattern text field of the Kerning Metrics window, FontForge crashes.

I was able to replicate this on the package in debian's unstable (built 
from the head of upstream git).

Steps to repeat:

  From the menu, choose Window > New Metrics Window

In the field with the text to display, type any character and then the 
Tab key (or press the tab key and then any other character).

The backtrace i get during the crash is:

#0  u_strncmp (str1=0x0, str2=0x87f6b90, n=0) at ustring.c:97
#1  0xb7baeb12 in GListField_NameCompletion (t=0x87f6930, from_tab=1)
     at gtextfield.c:3150
#2  0xb7bb588a in GTextFieldComplete (gt=0x87f6930, from_tab=1)
     at gtextfield.c:3333
#3  0xb7bb68bc in GTextFieldDoChange (event=0xbfffe8b8, gt=0x87f6930)
     at gtextfield.c:1554
#4  gtextfield_key (event=0xbfffe8b8, g=0x87f6930) at gtextfield.c:2170
#5  gtextfield_key (g=0x87f6930, event=0xbfffe8b8) at gtextfield.c:2135
#6  0xb7b64ed5 in _GWidget_TopLevel_Key (top=<optimized out>, ew=0x8808328,
     event=0xbfffe8b8) at gcontainer.c:515
#7  0xb7b661f7 in _GWidget_Container_eh (gw=0x8808328, event=0xbfffe8b8)
     at gcontainer.c:337
#8  0xb7bc41b4 in dispatchEvent (gdisp=<optimized out>, event=0xbfffea6c)
     at gxdraw.c:3869
#9  0xb7bc555c in GXDrawEventLoop (gd=0x8441ef0) at gxdraw.c:3968
#10 0xb7b689cb in GDrawEventLoop (gdisp=<optimized out>) at gdraw.c:748
#11 0x080625b8 in main (argc=1, argv=0xbffff854) at startui.c:1511

hope this is useful,


More information about the Pkg-fonts-devel mailing list