Bug 6956

Summary: Xserver crash when using appgroups
Product: xorg Reporter: Rich Coe <Richard.Coe>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high Keywords: patch
Version: 7.0 (2005.12)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
test case
none
xc/programs/Xserver/Xext/appgroup.c none

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.