Skip to content

Instantly share code, notes, and snippets.

@vernnobile
Created November 13, 2013 01:23
Show Gist options
  • Save vernnobile/7441976 to your computer and use it in GitHub Desktop.
Save vernnobile/7441976 to your computer and use it in GitHub Desktop.
SFD crashes
Based on source from git with hash:90cc4c83a278f80296ab6ff43c41994fc21f2d93
PythonUI_Init()
copyUIMethodsToBaseTable()
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6ee9590 in SFD_GetFont (sfd=sfd@entry=0x812290, cidmaster=cidmaster@entry=0x0, tok=<optimized out>, tok@entry=0x7fffffffbaf0 "AnchorClass2:", fromdir=fromdir@entry=0,
dirname=dirname@entry=0x81c4d0 "/home/vern/gitHub/pipeline/Capstone/700-Bold/src/Muli-Bold.sfd", sfdversion=3) at sfd.c:8279
8279 switch ( an->subtable->lookup->lookup_type ) {
(gdb) bt
#0 0x00007ffff6ee9590 in SFD_GetFont (sfd=sfd@entry=0x812290, cidmaster=cidmaster@entry=0x0, tok=<optimized out>, tok@entry=0x7fffffffbaf0 "AnchorClass2:", fromdir=fromdir@entry=0,
dirname=dirname@entry=0x81c4d0 "/home/vern/gitHub/pipeline/Capstone/700-Bold/src/Muli-Bold.sfd", sfdversion=3) at sfd.c:8279
#1 0x00007ffff6eea41c in SFD_Read (filename=filename@entry=0x81c4d0 "/home/vern/gitHub/pipeline/Capstone/700-Bold/src/Muli-Bold.sfd", sfd=sfd@entry=0x812290, fromdir=fromdir@entry=0)
at sfd.c:8597
#2 0x00007ffff6eea5a7 in _SFDRead (filename=filename@entry=0x81c4d0 "/home/vern/gitHub/pipeline/Capstone/700-Bold/src/Muli-Bold.sfd", sfd=sfd@entry=0x812290) at sfd.c:8630
#3 0x00007ffff6f01d6a in _ReadSplineFont (file=0x812290, file@entry=0x0, filename=filename@entry=0x81c4d0 "/home/vern/gitHub/pipeline/Capstone/700-Bold/src/Muli-Bold.sfd",
openflags=openflags@entry=(unknown: 0)) at splinefont.c:1112
#4 0x00007ffff6f0245c in ReadSplineFont (filename=filename@entry=0x81c4d0 "/home/vern/gitHub/pipeline/Capstone/700-Bold/src/Muli-Bold.sfd", openflags=openflags@entry=(unknown: 0))
at splinefont.c:1248
#5 0x00007ffff6f02580 in LoadSplineFont (filename=0x81c4d0 "/home/vern/gitHub/pipeline/Capstone/700-Bold/src/Muli-Bold.sfd", openflags=openflags@entry=(unknown: 0)) at splinefont.c:1321
#6 0x00007ffff6dc236c in ViewPostScriptFont (filename=<optimized out>, openflags=0) at fontviewbase.c:1319
#7 0x00007ffff79f5ff8 in MenuOpen (gw=gw@entry=0x0, UNUSED_mi=UNUSED_mi@entry=0x0, UNUSED_e=UNUSED_e@entry=0x0) at fontview.c:1051
#8 0x00007ffff7a90051 in fontforge_main (argc=1, argv=<optimized out>) at startui.c:1264
#9 0x00007ffff730eea5 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x0000000000400711 in _start ()
```
Based on source from git with hash:90cc4c83a278f80296ab6ff43c41994fc21f2d93
PythonUI_Init()
copyUIMethodsToBaseTable()
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6ee9590 in SFD_GetFont (sfd=sfd@entry=0x812250, cidmaster=cidmaster@entry=0x0, tok=<optimized out>, tok@entry=0x7fffffffbaf0 "AnchorClass2:", fromdir=fromdir@entry=0,
dirname=dirname@entry=0x81c590 "/home/vern/gitHub/pipeline/Capstone/300-Light/src/Muli-Light.sfd", sfdversion=3) at sfd.c:8279
8279 switch ( an->subtable->lookup->lookup_type ) {
(gdb) bt
#0 0x00007ffff6ee9590 in SFD_GetFont (sfd=sfd@entry=0x812250, cidmaster=cidmaster@entry=0x0, tok=<optimized out>, tok@entry=0x7fffffffbaf0 "AnchorClass2:", fromdir=fromdir@entry=0,
dirname=dirname@entry=0x81c590 "/home/vern/gitHub/pipeline/Capstone/300-Light/src/Muli-Light.sfd", sfdversion=3) at sfd.c:8279
#1 0x00007ffff6eea41c in SFD_Read (filename=filename@entry=0x81c590 "/home/vern/gitHub/pipeline/Capstone/300-Light/src/Muli-Light.sfd", sfd=sfd@entry=0x812250, fromdir=fromdir@entry=0)
at sfd.c:8597
#2 0x00007ffff6eea5a7 in _SFDRead (filename=filename@entry=0x81c590 "/home/vern/gitHub/pipeline/Capstone/300-Light/src/Muli-Light.sfd", sfd=sfd@entry=0x812250) at sfd.c:8630
#3 0x00007ffff6f01d6a in _ReadSplineFont (file=0x812250, file@entry=0x0, filename=filename@entry=0x81c590 "/home/vern/gitHub/pipeline/Capstone/300-Light/src/Muli-Light.sfd",
openflags=openflags@entry=(unknown: 0)) at splinefont.c:1112
#4 0x00007ffff6f0245c in ReadSplineFont (filename=filename@entry=0x81c590 "/home/vern/gitHub/pipeline/Capstone/300-Light/src/Muli-Light.sfd", openflags=openflags@entry=(unknown: 0))
at splinefont.c:1248
#5 0x00007ffff6f02580 in LoadSplineFont (filename=0x81c590 "/home/vern/gitHub/pipeline/Capstone/300-Light/src/Muli-Light.sfd", openflags=openflags@entry=(unknown: 0)) at splinefont.c:1321
#6 0x00007ffff6dc236c in ViewPostScriptFont (filename=<optimized out>, openflags=0) at fontviewbase.c:1319
#7 0x00007ffff79f5ff8 in MenuOpen (gw=gw@entry=0x0, UNUSED_mi=UNUSED_mi@entry=0x0, UNUSED_e=UNUSED_e@entry=0x0) at fontview.c:1051
#8 0x00007ffff7a90051 in fontforge_main (argc=1, argv=<optimized out>) at startui.c:1264
#9 0x00007ffff730eea5 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x0000000000400711 in _start ()
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment