Bug 1328578 - Fix request length calculation for XRenderCompositeText32. Causing hang in Java apps utilizing libXrender
Summary: Fix request length calculation for XRenderCompositeText32. Causing hang in Ja...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libXrender
Version: 6.7
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Benjamin Tissoires
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 1269194 1330653
TreeView+ depends on / blocked
 
Reported: 2016-04-19 18:21 UTC by Robert Bost
Modified: 2019-10-10 11:55 UTC (History)
7 users (show)

Fixed In Version: libXrender-0.9.8-3.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1330653 (view as bug list)
Environment:
Last Closed: 2017-03-21 12:04:42 UTC
Target Upstream Version:


Attachments (Terms of Use)
reproducer (1.13 KB, text/plain)
2016-04-19 18:21 UTC, Robert Bost
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0807 0 normal SHIPPED_LIVE X.org X11 libraries bug fix update 2017-03-21 12:52:19 UTC

Description Robert Bost 2016-04-19 18:21:30 UTC
Created attachment 1148710 [details]
reproducer

Description of problem: Need to backport commit from upstream libXrender 0.9.9. 

Original bug report for Java:
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8028722

Upstream commit resolving issue:
https://cgit.freedesktop.org/xorg/lib/libXrender/commit/?id=7887382e59b7a06d6b02501205d543fdf76c8249


Version-Release number of selected component (if applicable): libXrender-0.9.8-2.1.el6


How reproducible: Always


Steps to Reproduce:
1. Install libXrender-0.9.8-2.1.el6 and java-1.7.0 (Either Oracle or OpenJDK).
2. javac char254.java
3. java -Dsun.java2d.xrender=True char254

Actual results: Hangs when rendering


Expected results: Render 254 characters


Additional info: 

See attached char254.java for reproducer. I installed libXrender-0.9.9 from an upstream source (ftp://rpmfind.net/linux/fedora/linux/releases/23/Everything/i386/os/Packages/l/libXrender-0.9.9-2.fc23.i686.rpm) and then re-ran reproducer and everything renders fine.

Comment 11 errata-xmlrpc 2017-03-21 12:04:42 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, 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://rhn.redhat.com/errata/RHBA-2017-0807.html


Note You need to log in before you can comment on or make changes to this bug.