Bug 1088 - xcompmgr crashes on Alt+F2
Summary: xcompmgr crashes on Alt+F2
Alias: None
Product: xorg
Classification: Unclassified
Component: App/xcompmgr (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium critical
Assignee: Xorg Project Team
QA Contact:
Depends on:
Reported: 2004-08-15 13:35 UTC by Rami R Chowdhury
Modified: 2011-10-15 17:09 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

Fixes crash in get_opacity_prop (823 bytes, patch)
2004-09-04 12:31 UTC, Steve Leung
no flags Details | Splinter Review

Description Rami R Chowdhury 2004-08-15 13:35:43 UTC
Invariably, when a full-screen app (or the desktop) is in the foreground, 
pressing Alt+F2 crashes xcompmgr. 

This is what the console output looks like:
[rami@localhost rami]$ /opt/fdo/bin/xcompmgr -c
error 9 request 141 minor 1 serial 22014

This happens in both GNOME and KDE, on a GNU/Linux (Fedora Core 2, i686, 2.6.
6-1.435) system, with the freedesktop.org xserver built from CVS (downloaded & 
built on 13th August 2004). 

I don't know enough about backtraces and debugging to submit those, 
unfortunately. Hope it helps anyway.
Comment 1 Adam Jackson 2004-08-16 13:49:00 UTC
the offending abort statement has been removed from xcompmgr, it should no
longer abort on unexpected events.  closing, please test.
Comment 2 Rami R Chowdhury 2004-09-02 04:52:40 UTC
have redownloaded and tested and am afraid to say that (as of CVS from about 5
days ago) now instead of aborting it segfaults on Alt+F2 or, more critically,
when opening some apps (the one i notice most is mozilla thunderbird).  

pressing Alt+F2 as i did to cause the previous abort, i get the following output:

error 9 request 141 minor 1 serial 2561
error 3 request 2 minor 0 serial 2562
error 3 request 20 minor 0 serial 2563

and a subsequent segmentation fault. sorry!
Comment 3 Oscar 2004-09-02 19:23:10 UTC
Also have this bug, but manifested in a diferent way. For example, if I play
UT2004 in fullscreen mode, when I exit the game, xcompmgr show similar output as
Rami R Chowdhury and segfaults.
Comment 4 Steve Leung 2004-09-04 12:31:01 UTC
Created attachment 821 [details] [review]
Fixes crash in get_opacity_prop

I think I ran into the same crash.  This patch to get_opacity_prop checks the
return code from XGetWindowProperty and avoids accessing the returned data if
the function failed.

Still get the error output, but I don't observe any more crashes.
Comment 5 Adam Jackson 2004-10-13 07:17:09 UTC

the newest release appears to include this fix.  please test and reopen if this
is still a bug.

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.