Bug 7876 - Xserver crash when using appgroups
Summary: Xserver crash when using appgroups
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.0 (2005.12)
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks: xorg-7.2
  Show dependency treegraph
 
Reported: 2006-08-14 14:20 UTC by Rich Coe
Modified: 2006-11-08 08:04 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
xc/programs/Xserver/os/connection.c.patch (405 bytes, patch)
2006-08-14 14:22 UTC, Rich Coe
no flags Details | Splinter Review

Description Rich Coe 2006-08-14 14:20:32 UTC
This is a follow up to bug 6956.

When shutting down apps in an appgroup, its possible to crash the Xserver.
I don't know if this is dependent on a busy host or not.

A for-loop in CheckConnections() uses a local copy of the select file descriptor
list, which can change when an appgroup is shutting down.

The attached patch checks for a valid ConnectionTranslation entry prior
to calling CloseDownClient() with a null value.
Comment 1 Rich Coe 2006-08-14 14:22:35 UTC
Created attachment 6550 [details] [review]
xc/programs/Xserver/os/connection.c.patch
Comment 2 Daniel Stone 2006-11-08 08:04:38 UTC
committed to master and server 1.2 branch, thanks a bunch


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.