Bug 6956 - 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:
 
Reported: 2006-05-18 02:29 UTC by Rich Coe
Modified: 2006-06-03 03:54 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
test case (4.51 KB, text/plain)
2006-05-18 02:30 UTC, Rich Coe
no flags Details
xc/programs/Xserver/Xext/appgroup.c (1.85 KB, patch)
2006-05-18 02:32 UTC, Rich Coe
no flags Details | Splinter Review

Description Rich Coe 2006-05-18 02:29:55 UTC
When creating and using an appgroup, its possible to crash the Xserver.

The problem occurs when the appgroup leader exits. 
This should cause all applications in the appgroup to exit.  
Due to a coding error in Xext/appgroup.c, some applications are left open.
When the windows associated with applications are closed after the application
group leader exits, the Xserver crashes, SIGSEGV, while using an invalid pointer.

Test case, and patch attached.
Comment 1 Rich Coe 2006-05-18 02:30:47 UTC
Created attachment 5657 [details]
test case
Comment 2 Rich Coe 2006-05-18 02:32:11 UTC
Created attachment 5658 [details] [review]
xc/programs/Xserver/Xext/appgroup.c
Comment 3 Daniel Stone 2006-06-03 03:54:00 UTC
committed to HEAD, thanks


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.