This seems like a problem with fontconfig's use of expat? Damjan
On Sat, Oct 11, 2025 at 1:15 PM Arrigo Marchiori <[email protected]> wrote: > Dear All, > > I am seeing AOO 4.1.16-RC3 crash on openSUSE due to an issue with libexpat. > > Stack trace (I have debug symbols installed for fontconfig): > #0 0x0000000000000000 in ??? () > #1 0x00007ffff64fddde in ??? () at /usr/lib64/libexpat.so.1 > #2 0x00007ffff65022fc in XML_ParseBuffer () at /usr/lib64/libexpat.so.1 > #3 0x00007ffff6c562e4 in FcConfigParseAndLoadFromMemoryInternal > (config=config@entry=0x712eb0, filename=filename@entry=0x7130f0 > "/etc/fonts/fonts.conf", buffer=<optimized out>, complain=complain@entry=1, > load=load@entry=1) at fcxml.c:3547 > #4 0x00007ffff6c56941 in _FcConfigParse > (config=config@entry=0x712eb0, name=name@entry=0x0, > complain=complain@entry=1, load=load@entry=1) at fcxml.c:3682 > #5 0x00007ffff6c591da in IA__FcConfigParseAndLoad > (config=config@entry=0x712eb0, name=name@entry=0x0, > complain=complain@entry=1) at fcxml.c:3719 > #6 0x00007ffff6c472a8 in FcInitLoadOwnConfig (config=0x712eb0, > config@entry=0x0) at fcinit.c:89 > #7 0x00007ffff6c47506 in FcInitLoadOwnConfigAndFonts (config=config@entry > =0x0) > at fcinit.c:170 > #8 0x00007ffff6c47534 in IA__FcInitLoadConfigAndFonts () at fcinit.c:184 > #9 0x00007ffff6c38916 in FcConfigEnsure () at fccfg.c:96 > #10 0x00007ffff6c38979 in FcConfigInit () at fccfg.c:122 > #11 0x00007ffff2538121 in ??? () at /opt/openoffice4/program/libvcl.so > ... > > Note that libexpat.so.1 is in /usr/lib64, i.e. it is the ``system'' > version, delivered by openSUSE. > > I could fix the issue on my own AOO41X builds by adding parameter > --with-system-expat to the configure script. See commit > 8ab1c45d01e8d22fb3a8e12992ebfcb53306f3c2 to the openoffice-devtools > repository. > > I think that the above parameter is not given to the RC binaries? > Jim, could you please confirm? > > Are we building our own version of libexpat in the official builds? If > so, then we shall also ship it in binary form... shall we not? > > I apologize for not having reported this on former RC builds. > > Thank you in advance and best regards, > -- > Arrigo > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
