Quartus Prime Lite 21.1 crash with fontconfig 2.13.94
Quartus https://fpgasoftware.intel.com/?edition=lite
Thread 1 "quartus" received signal SIGSEGV, Segmentation fault.
IA__FcPatternCreate () at ../fontconfig/src/fcpat.c:37
37 p->num = 0;
(gdb) bt
#0 IA__FcPatternCreate () at ../fontconfig/src/fcpat.c:37
#1 0x00007fffdbce1d60 in FcParsePattern (parse=parse@entry=0x7fffffff41c0) at ../fontconfig/src/fcxml.c:3075
#2 0x00007fffdbcdeafa in FcEndElement (userData=0x7fffffff41c0, name=0x18 <error: Cannot access memory at address 0x18>) at ../fontconfig/src/fcxml.c:3212
#3 0x00007fffdbc77c35 in doContent (parser=parser@entry=0x7fffd0affc00, startTagLevel=<optimized out>, startTagLevel@entry=0, enc=0x7fffdbc8b3d8 <utf8_encoding>, s=<optimized out>, s@entry=0x7fffd0afb400 "",
end=0x7fffd14e1e47 "ily>cursive</family>\n </default>\n </alias>\n\n <!-- Original PostScript base font mapping -->\n <alias binding=\"same\">\n <family>Z003</family>\n <default>\n <family>ITC Zapf Chancery</famil"..., end@entry=0x7fffd1e11a08 "", nextPtr=0x7fffd0affc30, haveMore=1 '\001', account=XML_ACCOUNT_DIRECT) at expat-2.4.2/lib/xmlparse.c:3036
#4 0x00007fffdbc74536 in contentProcessor (parser=0x7fffd0affc00, start=<optimized out>, end=<optimized out>, endPtr=<optimized out>) at expat-2.4.2/lib/xmlparse.c:2601
#5 doProlog (parser=parser@entry=0x7fffd0affc00, enc=0x7fffdbc8b3d8 <utf8_encoding>, s=<optimized out>,
s@entry=0x7fffd14e1d00 "<?xml version=\"1.0\"?>\n<!DOCTYPE fontconfig SYSTEM \"urn:fontconfig:fonts.dtd\">\n<fontconfig>\n <description>Reject bitmap fonts</description>\n<!-- Reject bitmap fonts -->\n <selectfont>\n <rejectfont>\n "..., end=<optimized out>,
end@entry=0x7fffd14e1e47 "ily>cursive</family>\n </default>\n </alias>\n\n <!-- Original PostScript base font mapping -->\n <alias binding=\"same\">\n <family>Z003</family>\n <default>\n <family>ITC Zapf Chancery</famil"..., tok=29, next=<optimized out>, nextPtr=<optimized out>, haveMore=<optimized out>, allowClosingDoctype=<optimized out>, account=<optimized out>) at expat-2.4.2/lib/xmlparse.c:4631
#6 0x00007fffdbc712d3 in prologProcessor (parser=0x7fffd0affc00,
s=0x7fffd14e1d00 "<?xml version=\"1.0\"?>\n<!DOCTYPE fontconfig SYSTEM \"urn:fontconfig:fonts.dtd\">\n<fontconfig>\n <description>Reject bitmap fonts</description>\n<!-- Reject bitmap fonts -->\n <selectfont>\n <rejectfont>\n "...,
end=0x7fffd14e1e47 "ily>cursive</family>\n </default>\n </alias>\n\n <!-- Original PostScript base font mapping -->\n <alias binding=\"same\">\n <family>Z003</family>\n <default>\n <family>ITC Zapf Chancery</famil"..., nextPtr=0x7fffd0affc30) at expat-2.4.2/lib/xmlparse.c:4336
#7 prologInitProcessor (parser=0x7fffd0affc00,
s=0x7fffd14e1d00 "<?xml version=\"1.0\"?>\n<!DOCTYPE fontconfig SYSTEM \"urn:fontconfig:fonts.dtd\">\n<fontconfig>\n <description>Reject bitmap fonts</description>\n<!-- Reject bitmap fonts -->\n <selectfont>\n <rejectfont>\n "...,
end=0x7fffd14e1e47 "ily>cursive</family>\n </default>\n </alias>\n\n <!-- Original PostScript base font mapping -->\n <alias binding=\"same\">\n <family>Z003</family>\n <default>\n <family>ITC Zapf Chancery</famil"..., nextPtr=0x7fffd0affc30) at expat-2.4.2/lib/xmlparse.c:4138
#8 0x00007fffdbc70ac6 in XML_ParseBuffer (parser=parser@entry=0x7fffd0affc00, len=len@entry=327, isFinal=0) at expat-2.4.2/lib/xmlparse.c:2008
#9 0x00007fffdbcde1e6 in FcConfigParseAndLoadFromMemoryInternal (config=config@entry=0x7fffd1e64ac0, filename=filename@entry=0x7fffd0b7ff58 "/usr/share/fontconfig/conf.avail/70-no-bitmaps.conf", buffer=<optimized out>,
complain=complain@entry=0, load=load@entry=0) at ../fontconfig/src/fcxml.c:3527
#10 0x00007fffdbcdde86 in _FcConfigParse (config=config@entry=0x7fffd1e64ac0, name=0x7fffd0aa9130 "/usr/share/fontconfig/conf.avail/70-no-bitmaps.conf", complain=complain@entry=0, load=load@entry=0) at ../fontconfig/src/fcxml.c:3674
#11 0x00007fffdbcddf01 in FcConfigParseAndLoadDir (config=0x7fffd1e64ac0, name=<optimized out>, dir=0x7fffd0acf628 "/usr/share/fontconfig/conf.avail", complain=0, load=0) at ../fontconfig/src/fcxml.c:3425
#12 _FcConfigParse (config=config@entry=0x7fffd1e64ac0, name=<optimized out>, complain=complain@entry=0, load=load@entry=0) at ../fontconfig/src/fcxml.c:3633
#13 0x00007fffdbcdda94 in FcConfigParseOnly (config=0x7fffd0b93238, config@entry=0x7fffd1e64ac0, name=0x18 <error: Cannot access memory at address 0x18>, complain=complain@entry=0) at ../fontconfig/src/fcxml.c:3703
#14 0x00007fffdbccf33a in FcInitLoadOwnConfig (config=0x7fffd1e64ac0, config@entry=0x0) at ../fontconfig/src/fcinit.c:98
#15 0x00007fffdbccf59e in FcInitLoadOwnConfigAndFonts (config=0x0) at ../fontconfig/src/fcinit.c:170
#16 IA__FcInitLoadConfigAndFonts () at ../fontconfig/src/fcinit.c:184
#17 0x00007fffdbcc0565 in FcConfigEnsure () at ../fontconfig/src/fccfg.c:96
#18 IA__FcConfigGetCurrent () at ../fontconfig/src/fccfg.c:621
#19 IA__FcConfigGetFonts (config=<optimized out>, set=FcSetApplication) at ../fontconfig/src/fccfg.c:825
#20 0x00007fffd6929b3f in ?? () from /usr/lib/libQt5XcbQpa.so.5
#21 0x00007fffdb5f1a51 in ?? () from /usr/lib/libQt5Gui.so.5
#22 0x00007fffdb5f17bb in ?? () from /usr/lib/libQt5Gui.so.5
#23 0x00007fffdb5f1e14 in QFontDatabase::addApplicationFontFromData(QByteArray const&) () from /usr/lib/libQt5Gui.so.5
#24 0x00007ffff673c05a in afcq_load_fonts_from_resources() () from /opt/intelFPGA/21.1/quartus/linux64/libgcl_afcq.so
#25 0x00007ffff673c202 in AFCQ_APP::AFCQ_APP(int&, char**) () from /opt/intelFPGA/21.1/quartus/linux64/libgcl_afcq.so
#26 0x00007ffff7e07d2c in QUI_APP::QUI_APP(int&, char**) () from /opt/intelFPGA/21.1/quartus/linux64/libsys_qui.so
#27 0x00007ffff7f9d649 in QGQ_APP::QGQ_APP(int&, char**) () from /opt/intelFPGA/21.1/quartus/linux64/libsys_qgq.so
#28 0x0000000000401ef8 in qgq_main(int, char const**) ()
#29 0x00007fffdf7bce30 in msg_main_thread(void*) () from /opt/intelFPGA/21.1/quartus/linux64/libccl_msg.so
#30 0x00007fffdeea1acc in thr_final_wrapper () from /opt/intelFPGA/21.1/quartus/linux64/libccl_thr.so
#31 0x00007fffdf7bceef in msg_thread_wrapper(void* (*)(void*), void*) () from /opt/intelFPGA/21.1/quartus/linux64/libccl_msg.so
#32 0x00007fffdef08f9c in mem_thread_wrapper(void* (*)(void*), void*) () from /opt/intelFPGA/21.1/quartus/linux64/libccl_mem.so
#33 0x00007fffdeeda1d9 in err_thread_wrapper(void* (*)(void*), void*) () from /opt/intelFPGA/21.1/quartus/linux64/libccl_err.so
#34 0x00007fffdeea1b0f in thr_thread_wrapper () from /opt/intelFPGA/21.1/quartus/linux64/libccl_thr.so
#35 0x00007fffdf7beea1 in msg_exe_main(int, char const**, int (*)(int, char const**)) () from /opt/intelFPGA/21.1/quartus/linux64/libccl_msg.so
#36 0x0000000000402011 in main ()
With libxml2 as XML Parser the same segfault.
#0 IA__FcPatternCreate () at ../fontconfig/src/fcpat.c:37
#1 FcParsePattern (parse=0x7fffffff41d0) at ../fontconfig/src/fcxml.c:3075
#2 0x00007fffdde8af10 in FcEndElement (userData=0x7fffffff41d0, name=0x18 <error: Cannot access memory at address 0x18>)
at ../fontconfig/src/fcxml.c:3212
#3 0x00007fffccc8b166 in ?? () from /usr/lib/libxml2.so.2
#4 0x00007fffccc93586 in xmlParseChunk () from /usr/lib/libxml2.so.2
#5 0x00007fffdde8a41d in FcConfigParseAndLoadFromMemoryInternal (config=0x7fffd2c64940,
filename=0x7fffd19affc8 "/usr/share/fontconfig/conf.avail/70-yes-bitmaps.conf",
buffer=0x7fffd2c11600 "<?xml version=\"1.0\"?>\n<!DOCTYPE fontconfig SYSTEM \"urn:fontconfig:fonts.dtd\">\n<fontconfig>\n <description>Accept bitmap fonts</description>\n<!-- Accept bitmap fonts -->\n <selectfont>\n <acceptfont>\n "..., complain=0, load=0)
at ../fontconfig/src/fcxml.c:3525
#6 0x00007fffdde89ff3 in _FcConfigParse (config=<optimized out>, name=0x7fffd18b8b80 "/usr/share/fontconfig/conf.avail/70-yes-bitmaps.conf",
complain=0, load=0) at ../fontconfig/src/fcxml.c:3674
#7 0x00007fffdde8a065 in FcConfigParseAndLoadDir (config=0x7fffd2c64940,
name=0x7fffd196ab00 "/usr/share/fontconfig/conf.avail/90-synthetic.conf", dir=0x7fffd18df3f8 "/usr/share/fontconfig/conf.avail", complain=0,
load=0) at ../fontconfig/src/fcxml.c:3425
#8 _FcConfigParse (config=<optimized out>, name=0x7fffd196ab00 "/usr/share/fontconfig/conf.avail/90-synthetic.conf", complain=0, load=0)
at ../fontconfig/src/fcxml.c:3633
#9 0x00007fffdde76f57 in FcConfigParseOnly (config=0x7fffd2c64940, name=0x18 <error: Cannot access memory at address 0x18>, complain=0)
at ../fontconfig/src/fcxml.c:3703
#10 FcInitLoadOwnConfig (config=0x7fffd2c64940) at ../fontconfig/src/fcinit.c:98
#11 0x00007fffdde62fae in FcInitLoadOwnConfigAndFonts (config=0x0) at ../fontconfig/src/fcinit.c:170
#12 IA__FcInitLoadConfigAndFonts () at ../fontconfig/src/fcinit.c:184
#13 FcConfigEnsure () at ../fontconfig/src/fccfg.c:96
#14 IA__FcConfigGetCurrent () at ../fontconfig/src/fccfg.c:621
#15 IA__FcConfigGetFonts (config=<optimized out>, set=FcSetApplication) at ../fontconfig/src/fccfg.c:825
#16 0x00007fffd0eb7940 in QFontconfigDatabase::addApplicationFont(QByteArray const&, QString const&) ()
from /opt/IntelFPGA/21.1/quartus/linux64/libQt5XcbQpa.so.5
#17 0x00007fffdac1d1d2 in QFontDatabasePrivate::addAppFont(QByteArray const&, QString const&) ()
from /opt/IntelFPGA/21.1/quartus/linux64/libQt5Gui.so.5
#18 0x00007fffdac1d402 in QFontDatabase::addApplicationFontFromData(QByteArray const&) () from /opt/IntelFPGA/21.1/quartus/linux64/libQt5Gui.so.5
#19 0x00007ffff63ae05a in afcq_load_fonts_from_resources() () from /opt/IntelFPGA/21.1/quartus/linux64/libgcl_afcq.so
#20 0x00007ffff63ae202 in AFCQ_APP::AFCQ_APP(int&, char**) () from /opt/IntelFPGA/21.1/quartus/linux64/libgcl_afcq.so
#21 0x00007ffff7bf1d2c in QUI_APP::QUI_APP(int&, char**) () from /opt/IntelFPGA/21.1/quartus/linux64/libsys_qui.so
#22 0x00007ffff7d87649 in QGQ_APP::QGQ_APP(int&, char**) () from /opt/IntelFPGA/21.1/quartus/linux64/libsys_qgq.so
#23 0x0000000000401ef8 in qgq_main(int, char const**) ()
#24 0x00007fffdf0c6e30 in msg_main_thread(void*) () from /opt/IntelFPGA/21.1/quartus/linux64/libccl_msg.so
#25 0x00007fffde7b3acc in thr_final_wrapper () from /opt/IntelFPGA/21.1/quartus/linux64/libccl_thr.so
#26 0x00007fffdf0c6eef in msg_thread_wrapper(void* (*)(void*), void*) () from /opt/IntelFPGA/21.1/quartus/linux64/libccl_msg.so
#27 0x00007fffde823f9c in mem_thread_wrapper(void* (*)(void*), void*) () from /opt/IntelFPGA/21.1/quartus/linux64/libccl_mem.so
#28 0x00007fffde7f51d9 in err_thread_wrapper(void* (*)(void*), void*) () from /opt/IntelFPGA/21.1/quartus/linux64/libccl_err.so
#29 0x00007fffde7b3b0f in thr_thread_wrapper () from /opt/IntelFPGA/21.1/quartus/linux64/libccl_thr.so
#30 0x00007fffdf0c8ea1 in msg_exe_main(int, char const**, int (*)(int, char const**)) () from /opt/IntelFPGA/21.1/quartus/linux64/libccl_msg.so
#31 0x0000000000402011 in main ()
Edited by Grigory