crash at start in font_factory::Face

Bug #1745438 reported by L29Ah
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

I'm trying to launch inkscape-0.92.2, but it segfaults:

Thread 1 "inkscape" received signal SIGSEGV, Segmentation fault.
font_factory::Face (this=this@entry=0x2a391a6b0, descr=0x2a3d55060, canFail=canFail@entry=false)
    at libnrtype/FontFactory.cpp:694
694 libnrtype/FontFactory.cpp: No such file or directory.
(gdb) bt
#0 font_factory::Face (this=this@entry=0x2a391a6b0, descr=0x2a3d55060, canFail=canFail@entry=false)
    at libnrtype/FontFactory.cpp:694
#1 0x00000002999cd45c in font_factory::Face (this=0x2a391a6b0, descr=descr@entry=0x2a3d55060,
    canFail=canFail@entry=true) at libnrtype/FontFactory.cpp:673
#2 0x00000002999d222b in Inkscape::FontLister::system_fontspec (this=this@entry=0x2a3d4a600,
    fontspec=...) at libnrtype/font-lister.cpp:340
#3 0x00000002999d581f in Inkscape::FontLister::selection_update (this=this@entry=0x2a3d4a600)
    at libnrtype/font-lister.cpp:435
#4 0x0000000299b53f12 in sp_text_toolbox_selection_changed (tbl=tbl@entry=0x2a3d18bb0,
    subselection=subselection@entry=false) at widgets/text-toolbar.cpp:1220
#5 0x0000000299b59759 in sp_text_toolbox_prep (desktop=desktop@entry=0x29eb23c00,
    mainActions=0x29fe0f3a0, holder=0x2a3d18bb0) at widgets/text-toolbar.cpp:2193
#6 0x0000000299b6047e in setup_aux_toolbox (toolbox=toolbox@entry=0x29f7d7410,
    desktop=desktop@entry=0x29eb23c00) at widgets/toolbox.cpp:1426
#7 0x0000000299b5c75b in Inkscape::UI::ToolboxFactory::setToolboxDesktop (toolbox=0x29f7d7410,
    desktop=0x29eb23c00) at widgets/toolbox.cpp:1204
#8 0x0000000299ba1933 in Inkscape::UI::UXManagerImpl::connectToDesktop (this=0x29ff2a490,
    toolboxes=..., desktop=0x29eb23c00) at ui/uxmanager.cpp:261
#9 0x0000000299ae874e in SPDesktopWidget::createInstance (namedview=0x29e3ec6b0)
    at widgets/desktop-widget.cpp:1799
#10 0x0000000299ae88b9 in sp_desktop_widget_new (namedview=<optimized out>)
    at widgets/desktop-widget.cpp:1748
#11 0x0000000299700272 in sp_file_new (templ=...) at file.cpp:143
#12 0x000000029970065c in sp_file_new_default () at file.cpp:214
#13 0x00000002996aad92 in sp_main_gui (argc=1, argv=0x3ba571d5168) at main.cpp:1154
#14 0x0000033bb65a001c in __libc_start_main (main=0x299684d90 <main(int, char**)>, argc=1,
    argv=0x3ba571d5168, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
    stack_end=0x3ba571d5158) at ../csu/libc-start.c:308
#15 0x00000002996a6f8a in _start () at ../sysdeps/x86_64/start.S:120

Revision history for this message
Patrick Storz (ede123) wrote :

Could you please add information on your OS?

Judging from the backtrace I suspect this might be a fontconfig issue.
Could you test a nightly build and see if it crashes, too? There was an issue where Inkscape crashed if fontconfig configuration was invalid or no fonts could be found for some other reason.

Revision history for this message
L29Ah (zl29ah) wrote :

Gentoo Linux here with customized fonts.conf that makes my favourite fonts preferred everywhere (nothing crashes tho).

Revision history for this message
L29Ah (zl29ah) wrote :

Hiding ~/.config/fontconfig/fonts.conf makes it work. Attaching it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.