On 2024-07-06 20:43 +0200, Tom Lane wrote: > One angle that ought to be considered is that some of this stuff may > be flat-out bugs in 2.13.0. I see at > > https://gitlab.gnome.org/GNOME/libxml2/-/releases > > that both 2.13.1 and 2.13.2 contain fixes for "regressions" in 2.13.0. > I'm disinclined to spend much effort on working around dot-zero bugs.
Found an open issue about ABI compatibility that affects 2.12.7 and possibly also 2.13: https://gitlab.gnome.org/GNOME/libxml2/-/issues/751. Maybe just wait this one out, in case they'll bump SONAME. > 2.13.0 mentions having added some new error-handler-setting functions; > maybe we need to use one of those to get xmlParseBalancedChunkMemory's > attention now? I tried xmlCtxtSetErrorHandler but xmlParseBalancedChunkMemory doesn't report to that. It's a known issue: https://gitlab.gnome.org/GNOME/libxml2/-/issues/727 -- Erik