Bug 134883
Summary: | (xtrans bug) Can't open display: 50dhcp26:0.0 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Tim Renwick <tim.renwick> |
Component: | XFree86 | Assignee: | Kristian Høgsberg <krh> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0 | CC: | jamisonm, xgl-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | RHSA-2005-501 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-09-15 08:47:02 UTC | Type: | --- |
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: | 156320 |
Description
Tim Renwick
2004-10-06 23:31:28 UTC
Could you file a bug report at the X.Org bugzilla at https://bugs.freedesktop.org/ please? Once you've filed your bug report to X.Org, if you paste the new bug URL here, Red Hat will continue to track the issue in the centralized X.Org bug tracker, and will review any bug fixes that become available for consideration in future updates. Thanks I've submitted a bug to Freedesktop as you asked; https://freedesktop.org/bugzilla/show_bug.cgi?id=1605 Update on issue from upstream bugzilla: ------- Additional Comment #1 From Thomas Dickey 2004-11-22 17:00 [reply] ------- This is not specific to xterm; it's down in the X libraries. For instance I can see the same issue with rxvt. ------- Additional Comment #2 From Alan Coopersmith 2005-03-20 09:18 [reply] ------- If libX11 is built without IPv6 support, then the old IPv4-only code in TRANS(SocketINETConnect) in xc/lib/xtrans/Xtranssock.c assumes that any host address string starting with a digit is a numeric hostname and calls inet_addr() on it instead of gethostbyname(). If built with IPv6 support, it should do the right thing, because it passes all addresses to getaddrinfo() which determines if it's a numeric address or hostname. *** Bug 132979 has been marked as a duplicate of this bug. *** This is a bug in Xtrans which affects all applications, rather than an xterm bug. It's also not limited to x86_64. Reassigning bug to XFree86 component, and taking ownership. Patch from freedesktop.org applied and built for U6. I reproduced the bug on an x86_64 box (and the problem *is* limited to 64 bit boxes, since INADDR_NONE != -1L there) and the patch from Alan Coopersmith does fix it. 32 bit machines shouldn't be affected by this change and I've verified this on my x86 desktop machine. Closing bug. Please test XFree86-4.3.0-85.EL and provide feedback as to the results of testing. Beta rpms are available for testing at the following URL: ftp://people.redhat.com/mharris/testing/3.0E Setting status to "MODIFIED", awaiting testing results. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2005-501.html |