Bug 250 - lbxproxy dies with VSW5 'Xlib3/XCloseDisplay' test
Summary: lbxproxy dies with VSW5 'Xlib3/XCloseDisplay' test
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: SPARC Solaris
: low minor
Assignee: Alan Coopersmith
QA Contact:
Depends on:
Reported: 2004-03-01 16:06 UTC by Alan Coopersmith
Modified: 2007-01-23 17:32 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

patch to xc/programs/lbxproxy/di/resource.c (825 bytes, patch)
2004-03-01 16:07 UTC, Alan Coopersmith
no flags Details | Splinter Review

Description Alan Coopersmith 2004-03-01 16:06:04 UTC
lbxproxy process dies when running VSW5 in Xlib3/XCloseDisplay test, assertion 6.

The cause of the problem is that LookupIDByType() try to access non-existing
client(clients[j] = NULL). The checking code needs to be added to make sure that
LookupIDByType() doesn't search non-existing clients.

(This was originally found and fixed by Derek Wang in Solaris Xsun as Sun bug id
 4416710.  It was also reported as defect #9341 in the old X.org bug db.)
Comment 1 Alan Coopersmith 2004-03-01 16:07:23 UTC
Created attachment 113 [details] [review]
patch to xc/programs/lbxproxy/di/resource.c
Comment 2 Alan Coopersmith 2004-03-01 20:32:00 UTC
Fix committed to XORG-CURRENT branch.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.