Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when generating with a non-foreground layer open #4314

Open
jtanx opened this issue May 2, 2020 · 1 comment
Open

Crash when generating with a non-foreground layer open #4314

jtanx opened this issue May 2, 2020 · 1 comment
Labels

Comments

@jtanx
Copy link
Contributor

jtanx commented May 2, 2020

  • Create or open a new font
  • Open a charview and select the background layer
  • Try to generate a font
Program received signal SIGSEGV, Segmentation fault.
DoSave (d=0x7fffffff7d80, path=0x555555e766a0)
    at ../fontforgeexe/savefontdlg.c:1349
1349            layer = (intpt) GGadgetGetListItemSelected(GWidgetGetControl(d->gw,CID_Layers))->userdata;
(gdb) bt
#0  DoSave (d=0x7fffffff7d80, path=0x555555e766a0)
    at ../fontforgeexe/savefontdlg.c:1349
#1  0x00005555557d2e16 in GFD_exists (gio=0x555555e74d10)
    at ../fontforgeexe/savefontdlg.c:1611
#2  0x00007ffff78a9400 in _gio_file_statfile
    (gc=0x555555e74d10, path=0x555555eca670 "/home/jeremy/fontforge/build/Untitled1.ttf") at ../gutils/giofile.c:204
#3  0x00007ffff78a9637 in _GIO_localDispatch (gc=0x555555e74d10)
    at ../gutils/giofile.c:257

(gdb) p GWidgetGetControl(d->gw, 402)
$1 = (GGadget *) 0x555555d8fa50
(gdb) p GGadgetGetListItemSelected(GWidgetGetControl(d->gw, 402))
$2 = (GTextInfo *) 0x0

@jtanx jtanx added the I-crash label May 3, 2020
@jtanx jtanx changed the title Crash when generating with data on a non-foreground layer Crash when generating with a non-foreground layer open May 3, 2020
@skef
Copy link
Contributor

skef commented Mar 28, 2021

Either I don't quite understand the instructions or this isn't reproducing for me on Arch Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants