[Pkg-fonts-devel] Bug#656359: Bug#656359: Bug#656359: Bug#656359: fontforge: Segfault when pressing modifier/arrow keys if more than 4 points are selected

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Jan 19 07:19:21 UTC 2012


On 01/19/2012 01:08 AM, Christian PERRIER wrote:
> Anyone in the pkg-fonts team wanting to take responsibility on getting
> in touch with fontforge upstream about this issue?

i've just written to the fontforge-devel list, cc'ing this bug report,
and marked this bug as forwarded to

  http://sourceforge.net/mailarchive/message.php?msg_id=28696933

> So, really, help woul dbe appreciated.

i'm also not very clear how i should go about this.  I'm particularly
concerned, though, because of the weird gdb error messages, which i have
no idea how to interpret or workaround.

I've tried a rebuild of fontforge from source on a sid i386 system, and
my self-generated packages give the same gdb error (and show the same
crashing behavior, of course).

here's a bit more detail i managed to coax out of the debugger, though:


Program received signal SIGSEGV, Segmentation fault.
0xb7c85c4c in CVLayer (cv=0x8667c60) at cvundoes.c:552
552     return( cv->layerheads[cv->drawmode]-cv->sc->layers );
(gdb) bt
#0  0xb7c85c4c in CVLayer (cv=0x8667c60) at cvundoes.c:552
#1  0x0808fb00 in ?? ()
#2  0xb7b9c618 in GMenuSearchShortcut (gw=0x8614408, mi=<optimized out>,
event=0xbfffe038, call_moveto=1) at gmenu.c:951
#3  0xb7ba0d5c in GMenuBarCheckKey (g=0x8614498, event=0xbfffe038) at
gmenu.c:1500
#4  0xb7b71f4d in _GWidget_TopLevel_Key (top=<optimized out>,
ew=0x8619b98, event=0xbfffe038) at gcontainer.c:498
#5  0xb7b732a7 in _GWidget_Container_eh (gw=0x8619b98, event=0xbfffe038)
at gcontainer.c:337
#6  0xb7bd16cc in dispatchEvent (gdisp=<optimized out>,
event=0xbfffe1ec) at gxdraw.c:3869
#7  0xb7bd2b6c in GXDrawEventLoop (gd=0x847ad30) at gxdraw.c:3968
#8  0xb7b75a7b in GDrawEventLoop (gdisp=<optimized out>) at gdraw.c:748
#9  0x08061f6a in ?? ()
#10 0xb6bbde46 in __libc_start_main () from
/lib/i386-linux-gnu/i686/cmov/libc.so.6
#11 0x08062ce1 in ?? ()
Backtrace stopped: Not enough registers or memory available to unwind
further
(gdb) print *(cv->sc)
Cannot access memory at address 0x43240000
(gdb) print *cv
$1 = {next = 0x43240000, fv = 0x44148000, sc = 0x43240000, layerheads =
{0x44148000, 0x43240000, 0x44148000},
  drawmode = 51 '3', ft_gridfitwidth = 82, gridfit = 0xfffefffe,
container = 0x0}
(gdb)

not sure what to make of it, though.  my fontforge programming chops are
weak.

all the best,

	--dkg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1030 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20120119/d6643fdf/attachment-0001.pgp>


More information about the Pkg-fonts-devel mailing list