Bug 1860467

Summary: "Unexpected RVT flag (nil)" being reported xsltproc
Product: Red Hat Enterprise Linux 8 Reporter: Brandon Clark <brclark>
Component: libxsltAssignee: David King <dking>
Status: CLOSED ERRATA QA Contact: Tomas Pelka <tpelka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: alanm, amike, brclark, casantos, jwright, mbliss, mkolbas, tpelka
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libxslt-1.1.32-6.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 14:42:01 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:

Description Brandon Clark 2020-07-24 17:28:13 UTC
Description of problem:
When processing xml and xsl files using xsltproc, the process outputs errors then hangs.

Version-Release number of selected component (if applicable):
libxslt-1.1.32-4.el8.x86_64

How reproducible:
I was able to consistently reproduce.

Steps to Reproduce:
1. Create test files referenced in upstream bug tracker listing: https://gitlab.gnome.org/GNOME/libxslt/issues/2
2. Run command "xsltproc bug.xsl bug.xml"

Actual results:
[test@localhost ~]$ xsltproc main.xml bug.xml 
runtime error: file main.xml line 38 element value-of
localRVT not head of list
xsltReleaseLocalRVTs: Unexpected RVT flag (nil)
xsltReleaseLocalRVTs: Unexpected RVT flag (nil)
xsltReleaseLocalRVTs: Unexpected RVT flag (nil)
xsltFreeStackElem: Unexpected RVT flag 0x1
runtime error: file main.xml line 27 element result
localRVT not head of list

Expected results:
Successful processing of xml file.

Additional info:
This bug is the RHEL 8 equivalence of Bug Listing #1625712

Comment 1 David King 2020-08-17 14:11:17 UTC
Either a backport of the upstream patch https://gitlab.gnome.org/GNOME/libxslt/-/commit/7d81bd62d5788a9e2931c20a3d0a6be7e703c608 or a rebase to 1.1.33 would fix this.

Comment 2 David King 2020-08-24 12:44:54 UTC
Upstream patch builds fine locally.

Comment 11 errata-xmlrpc 2021-05-18 14:42:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (libxslt bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:1591