Hello All,

On Sat, Oct 11, 2025 at 05:52:08PM +0000, Damjan Jovanovic wrote:

> This seems like a problem with fontconfig's use of expat?

I should have investigated this issue better, the moment it appeared.
My commit to openoffice-devtools is from last February. Something must
have happened on OpenSUSE Leap 15.6 some (weeks?) before that date.

Today I tried downloading the official binaries of AOO 4.1.14 and
4.1.15: they all crash. I must have used my own build of AOO on my
system since February... unfortunately, I wiped it before I could
check.

I am trying to understand if there is an issue with our use of expat
or not. In fact, Jim's build log says:

> configure:14228: checking which expat to use
> configure:14459: result: internal

and:

> SYSTEM_EXPAT='NO'

However, libexpat.so is *not* included in the build -- not in the
RPM's, for the least.

This could be the problem.

What do you think?

> 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.

[...]

-- 
Arrigo

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to