Bug 1780573

Summary: Please apply upstream patch so as to fix an interim relax in internal sanity checking 2.9.10
Product: [Fedora] Fedora Reporter: Jan Pokorný [poki] <jpokorny>
Component: libxml2Assignee: Jan Pokorný [poki] <jpokorny>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: c.david86, igor.raits, veillard
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libxml2-2.9.10-2.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-06 01:28:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1776552    

Description Jan Pokorný [poki] 2019-12-06 12:52:14 UTC
Progress of the story:

0. https://bugzilla.redhat.com/show_bug.cgi?id=1776552#c2

1. https://bugzilla.redhat.com/show_bug.cgi?id=1777056

2. https://gitlab.gnome.org/GNOME/libxml2/issues/132

3. https://gitlab.gnome.org/GNOME/libxml2/commit/0815302dee2b78139832c2080348086a0564836b
   (add a .patch suffix to obtain direct patch URL)

Applying the patch from 3. will unblock 0.  That simple :-)
Everywhere with 2.9.10 version of libxml2, please.

Comment 1 Jan Pokorný [poki] 2019-12-06 12:53:24 UTC
*** Bug 1777056 has been marked as a duplicate of this bug. ***

Comment 2 Jan Pokorný [poki] 2019-12-09 14:30:23 UTC
Note that this wouldn't be an issue if assumed invariants on how
libxml2's data structures always held.  Alas, that appears broken in
XML::LibXSLT Perl module for years -- problem that wasn't exposed
until this v2.9.10 release.

Applying this patch won't make the problem in the Perl module go away,
but at least it will mask it again sufficiently enough to prevent,
e.g., Publican segfaults.

That being said, I've also filed a mirror copy of an upstream report
for XML::LibXSLT, https://rt.cpan.org/Public/Bug/Display.html?id=131146,
[bug  1781205].

Comment 3 Jan Pokorný [poki] 2019-12-09 14:31:23 UTC
* on how libxml2's data structures *get used*

Comment 4 Jan Pokorný [poki] 2019-12-09 15:44:20 UTC
https://src.fedoraproject.org/rpms/libxml2/pull-request/7

Comment 5 Jan Pokorný [poki] 2020-01-03 20:48:58 UTC
Rectified in

- libxml2-2.9.10-2.fc31
- libxml2-2.9.10-2.fc32

Comment 6 Fedora Update System 2020-01-03 21:01:39 UTC
FEDORA-2020-73d385a13d has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-73d385a13d

Comment 7 Fedora Update System 2020-01-04 22:24:52 UTC
libxml2-2.9.10-2.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-73d385a13d

Comment 8 Fedora Update System 2020-01-06 01:28:47 UTC
libxml2-2.9.10-2.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.